@ -39,6 +39,7 @@ Feature: Permissions
Then I s h o u l d s e e " L o g i n "
And I s h o u l d s e e " P a s s w o r d "
@javascript
Scenario : Admin sees everything
Given t h e r e i s a s t a n d a r d p e r m i s s i o n t e s t p r o j e c t n a m e d " P e r m i s s i o n _ T e s t "
And t h e r e i s 1 u s e r w i t h :
@ -48,8 +49,10 @@ Feature: Permissions
And I a m o n t h e o v e r a l l C o s t R e p o r t s p a g e w i t h o u t f i l t e r s o r g r o u p s
Then I s h o u l d s e e " C o s t R e p o r t " w i t h i n " # c o n t e n t "
And I s h o u l d n o t s e e " N o d a t a t o d i s p l a y "
And I c h o o s e " C a s h v a l u e "
And I c l i c k " A p p l y "
# Costs
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 11.00 [other, cost])
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 10 .00 [other, cost])
And I s h o u l d s e e " 1 1 . 1 1 E U R " w i t h i n " . r e s u l t "
And I s h o u l d n o t s e e " - " w i t h i n " . r e s u l t "
# TimeEntries
@ -63,6 +66,7 @@ Feature: Permissions
# other
And I s h o u l d s e e " 1 . 0 t e n "
@javascript
Scenario : User who has all rights sees everything
Given t h e r e i s a s t a n d a r d p e r m i s s i o n t e s t p r o j e c t n a m e d " P e r m i s s i o n _ T e s t "
And t h e r o l e " T e s t u s e r " m a y h a v e t h e f o l l o w i n g r i g h t s :
@ -76,9 +80,11 @@ Feature: Permissions
And I a m a l r e a d y l o g g e d i n a s " t e s t u s e r "
And I a m o n t h e o v e r a l l C o s t R e p o r t s p a g e w i t h o u t f i l t e r s o r g r o u p s
Then I s h o u l d s e e " C o s t R e p o r t " w i t h i n " # c o n t e n t "
And I c h o o s e " C a s h v a l u e "
And I c l i c k " A p p l y "
And I s h o u l d n o t s e e " N o d a t a t o d i s p l a y "
# Costs
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 11 .00 [other, cost])
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 10 .00 [other, cost])
And I s h o u l d s e e " 1 1 . 1 1 E U R " w i t h i n " . r e s u l t "
And I s h o u l d n o t s e e " - " w i t h i n " . r e s u l t "
# TimeEntries
@ -101,6 +107,7 @@ Feature: Permissions
# permission denied
Then I s h o u l d s e e " 4 0 3 "
@javascript
Scenario : User who may only see own cost entries, only sees his own cost entries without costs
Given t h e r e i s a s t a n d a r d p e r m i s s i o n t e s t p r o j e c t n a m e d " P e r m i s s i o n _ T e s t "
And t h e r o l e " T e s t u s e r " m a y h a v e t h e f o l l o w i n g r i g h t s :
@ -108,9 +115,11 @@ Feature: Permissions
And I a m a l r e a d y l o g g e d i n a s " t e s t u s e r "
And I a m o n t h e o v e r a l l C o s t R e p o r t s p a g e w i t h o u t f i l t e r s o r g r o u p s
Then I s h o u l d s e e " C o s t R e p o r t " w i t h i n " # c o n t e n t "
And I c h o o s e " C a s h v a l u e "
And I c l i c k " A p p l y "
And I s h o u l d n o t s e e " N o d a t a t o d i s p l a y "
# Costs
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 11 .00 [other, cost])
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 10 .00 [other, cost])
And I s h o u l d n o t s e e " 1 1 . 1 1 E U R " w i t h i n " . r e s u l t "
And I s h o u l d s e e " - " w i t h i n " . r e s u l t "
# TimeEntries
@ -124,6 +133,7 @@ Feature: Permissions
# other
And I s h o u l d n o t s e e " 1 . 0 t e n "
@javascript
Scenario : User who may only see cost entries, sees them without costs
Given t h e r e i s a s t a n d a r d p e r m i s s i o n t e s t p r o j e c t n a m e d " P e r m i s s i o n _ T e s t "
And t h e r o l e " T e s t u s e r " m a y h a v e t h e f o l l o w i n g r i g h t s :
@ -131,9 +141,11 @@ Feature: Permissions
And I a m a l r e a d y l o g g e d i n a s " t e s t u s e r "
And I a m o n t h e o v e r a l l C o s t R e p o r t s p a g e w i t h o u t f i l t e r s o r g r o u p s
Then I s h o u l d s e e " C o s t R e p o r t " w i t h i n " # c o n t e n t "
And I c h o o s e " C a s h v a l u e "
And I c l i c k " A p p l y "
And I s h o u l d n o t s e e " N o d a t a t o d i s p l a y "
# Costs
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 11 .00 [other, cost])
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 10 .00 [other, cost])
And I s h o u l d n o t s e e " 1 1 . 1 1 E U R " w i t h i n " . r e s u l t "
And I s h o u l d s e e " - " w i t h i n " . r e s u l t "
# TimeEntries
@ -147,6 +159,7 @@ Feature: Permissions
# other
And I s h o u l d s e e " 1 . 0 t e n "
@javascript
Scenario : User who may only see his own time entries, only sees them without costs
Given t h e r e i s a s t a n d a r d p e r m i s s i o n t e s t p r o j e c t n a m e d " P e r m i s s i o n _ T e s t "
And t h e r o l e " T e s t u s e r " m a y h a v e t h e f o l l o w i n g r i g h t s :
@ -154,9 +167,11 @@ Feature: Permissions
And I a m a l r e a d y l o g g e d i n a s " t e s t u s e r "
And I a m o n t h e o v e r a l l C o s t R e p o r t s p a g e w i t h o u t f i l t e r s o r g r o u p s
Then I s h o u l d s e e " C o s t R e p o r t " w i t h i n " # c o n t e n t "
And I c h o o s e " C a s h v a l u e "
And I c l i c k " A p p l y "
And I s h o u l d n o t s e e " N o d a t a t o d i s p l a y "
# Costs
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 11 .00 [other, cost])
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 10 .00 [other, cost])
And I s h o u l d n o t s e e " 1 1 . 1 1 E U R " w i t h i n " . r e s u l t "
And I s h o u l d s e e " - " w i t h i n " . r e s u l t "
# TimeEntries
@ -170,6 +185,7 @@ Feature: Permissions
# other
And I s h o u l d n o t s e e " 1 . 0 t e n "
@javascript
Scenario : User who may only see time entries, only sees them without costs
Given t h e r e i s a s t a n d a r d p e r m i s s i o n t e s t p r o j e c t n a m e d " P e r m i s s i o n _ T e s t "
And t h e r o l e " T e s t u s e r " m a y h a v e t h e f o l l o w i n g r i g h t s :
@ -177,9 +193,11 @@ Feature: Permissions
And I a m a l r e a d y l o g g e d i n a s " t e s t u s e r "
And I a m o n t h e o v e r a l l C o s t R e p o r t s p a g e w i t h o u t f i l t e r s o r g r o u p s
Then I s h o u l d s e e " C o s t R e p o r t " w i t h i n " # c o n t e n t "
And I c h o o s e " C a s h v a l u e "
And I c l i c k " A p p l y "
And I s h o u l d n o t s e e " N o d a t a t o d i s p l a y "
# Costs
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 11 .00 [other, cost])
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 10 .00 [other, cost])
And I s h o u l d n o t s e e " 1 1 . 1 1 E U R " w i t h i n " . r e s u l t "
And I s h o u l d s e e " - " w i t h i n " . r e s u l t "
# TimeEntries
@ -193,6 +211,7 @@ Feature: Permissions
# other
And I s h o u l d n o t s e e " 1 . 0 t e n "
@javascript
Scenario : User who may only see own time and cost entries, only sees them without costs
Given t h e r e i s a s t a n d a r d p e r m i s s i o n t e s t p r o j e c t n a m e d " P e r m i s s i o n _ T e s t "
And t h e r o l e " T e s t u s e r " m a y h a v e t h e f o l l o w i n g r i g h t s :
@ -201,9 +220,11 @@ Feature: Permissions
And I a m a l r e a d y l o g g e d i n a s " t e s t u s e r "
And I a m o n t h e o v e r a l l C o s t R e p o r t s p a g e w i t h o u t f i l t e r s o r g r o u p s
Then I s h o u l d s e e " C o s t R e p o r t " w i t h i n " # c o n t e n t "
And I c h o o s e " C a s h v a l u e "
And I c l i c k " A p p l y "
And I s h o u l d n o t s e e " N o d a t a t o d i s p l a y "
# Costs
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 11 .00 [other, cost])
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 10 .00 [other, cost])
And I s h o u l d n o t s e e " 1 1 . 1 1 E U R " w i t h i n " . r e s u l t "
And I s h o u l d s e e " - " w i t h i n " . r e s u l t "
# TimeEntries
@ -217,6 +238,7 @@ Feature: Permissions
# other
And I s h o u l d n o t s e e " 1 . 0 t e n "
@javascript
Scenario : User who may only see own time entries, but all cost entries, sees them without costs
Given t h e r e i s a s t a n d a r d p e r m i s s i o n t e s t p r o j e c t n a m e d " P e r m i s s i o n _ T e s t "
And t h e r o l e " T e s t u s e r " m a y h a v e t h e f o l l o w i n g r i g h t s :
@ -225,9 +247,11 @@ Feature: Permissions
And I a m a l r e a d y l o g g e d i n a s " t e s t u s e r "
And I a m o n t h e o v e r a l l C o s t R e p o r t s p a g e w i t h o u t f i l t e r s o r g r o u p s
Then I s h o u l d s e e " C o s t R e p o r t " w i t h i n " # c o n t e n t "
And I c h o o s e " C a s h v a l u e "
And I c l i c k " A p p l y "
And I s h o u l d n o t s e e " N o d a t a t o d i s p l a y "
# Costs
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 11 .00 [other, cost])
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 10 .00 [other, cost])
And I s h o u l d n o t s e e " 1 1 . 1 1 E U R " w i t h i n " . r e s u l t "
And I s h o u l d s e e " - " w i t h i n " . r e s u l t "
# TimeEntries
@ -241,6 +265,7 @@ Feature: Permissions
# other
And I s h o u l d s e e " 1 . 0 t e n "
@javascript
Scenario : User who may only see own cost entries, but all time entries, sees them without costs
Given t h e r e i s a s t a n d a r d p e r m i s s i o n t e s t p r o j e c t n a m e d " P e r m i s s i o n _ T e s t "
And t h e r o l e " T e s t u s e r " m a y h a v e t h e f o l l o w i n g r i g h t s :
@ -249,9 +274,11 @@ Feature: Permissions
And I a m a l r e a d y l o g g e d i n a s " t e s t u s e r "
And I a m o n t h e o v e r a l l C o s t R e p o r t s p a g e w i t h o u t f i l t e r s o r g r o u p s
Then I s h o u l d s e e " C o s t R e p o r t " w i t h i n " # c o n t e n t "
And I c h o o s e " C a s h v a l u e "
And I c l i c k " A p p l y "
And I s h o u l d n o t s e e " N o d a t a t o d i s p l a y "
# Costs
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 11 .00 [other, cost])
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 10 .00 [other, cost])
And I s h o u l d n o t s e e " 1 1 . 1 1 E U R " w i t h i n " . r e s u l t "
And I s h o u l d s e e " - " w i t h i n " . r e s u l t "
# TimeEntries
@ -265,6 +292,7 @@ Feature: Permissions
# other
And I s h o u l d n o t s e e " 1 . 0 t e n "
@javascript
Scenario : User who my see all time and cost entries, sees them without costs
Given t h e r e i s a s t a n d a r d p e r m i s s i o n t e s t p r o j e c t n a m e d " P e r m i s s i o n _ T e s t "
And t h e r o l e " T e s t u s e r " m a y h a v e t h e f o l l o w i n g r i g h t s :
@ -273,9 +301,11 @@ Feature: Permissions
And I a m a l r e a d y l o g g e d i n a s " t e s t u s e r "
And I a m o n t h e o v e r a l l C o s t R e p o r t s p a g e w i t h o u t f i l t e r s o r g r o u p s
Then I s h o u l d s e e " C o s t R e p o r t " w i t h i n " # c o n t e n t "
And I c h o o s e " C a s h v a l u e "
And I c l i c k " A p p l y "
And I s h o u l d n o t s e e " N o d a t a t o d i s p l a y "
# Costs
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 11 .00 [other, cost])
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 10 .00 [other, cost])
And I s h o u l d n o t s e e " 1 1 . 1 1 E U R " w i t h i n " . r e s u l t "
And I s h o u l d s e e " - " w i t h i n " . r e s u l t "
# TimeEntries
@ -298,6 +328,7 @@ Feature: Permissions
# access denied
Then I s h o u l d s e e " 4 0 3 "
@javascript
Scenario : User who may see own costs and own cost entries, sees them with costs
Given t h e r e i s a s t a n d a r d p e r m i s s i o n t e s t p r o j e c t n a m e d " P e r m i s s i o n _ T e s t "
And t h e r o l e " T e s t u s e r " m a y h a v e t h e f o l l o w i n g r i g h t s :
@ -306,9 +337,11 @@ Feature: Permissions
And I a m a l r e a d y l o g g e d i n a s " t e s t u s e r "
And I a m o n t h e o v e r a l l C o s t R e p o r t s p a g e w i t h o u t f i l t e r s o r g r o u p s
Then I s h o u l d s e e " C o s t R e p o r t " w i t h i n " # c o n t e n t "
And I c h o o s e " C a s h v a l u e "
And I c l i c k " A p p l y "
And I s h o u l d n o t s e e " N o d a t a t o d i s p l a y "
# Costs
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 11 .00 [other, cost])
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 10 .00 [other, cost])
And I s h o u l d n o t s e e " 1 1 . 1 1 E U R " w i t h i n " . r e s u l t "
And I s h o u l d s e e " - " w i t h i n " . r e s u l t "
# TimeEntries
@ -322,6 +355,7 @@ Feature: Permissions
# other
And I s h o u l d n o t s e e " 1 . 0 t e n "
@javascript
Scenario : User who may see own costs and all cost entries, sees all cost entries, but own costs only
Given t h e r e i s a s t a n d a r d p e r m i s s i o n t e s t p r o j e c t n a m e d " P e r m i s s i o n _ T e s t "
And t h e r o l e " T e s t u s e r " m a y h a v e t h e f o l l o w i n g r i g h t s :
@ -330,9 +364,11 @@ Feature: Permissions
And I a m a l r e a d y l o g g e d i n a s " t e s t u s e r "
And I a m o n t h e o v e r a l l C o s t R e p o r t s p a g e w i t h o u t f i l t e r s o r g r o u p s
Then I s h o u l d s e e " C o s t R e p o r t " w i t h i n " # c o n t e n t "
And I c h o o s e " C a s h v a l u e "
And I c l i c k " A p p l y "
And I s h o u l d n o t s e e " N o d a t a t o d i s p l a y "
# Costs
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 11 .00 [other, cost])
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 10 .00 [other, cost])
And I s h o u l d n o t s e e " 1 1 . 1 1 E U R " w i t h i n " . r e s u l t "
And I s h o u l d s e e " - " w i t h i n " . r e s u l t "
# TimeEntries
@ -346,6 +382,7 @@ Feature: Permissions
# other
And I s h o u l d s e e " 1 . 0 t e n "
@javascript
Scenario : User who may see own costs and own time entries, sees his entries with own costs
Given t h e r e i s a s t a n d a r d p e r m i s s i o n t e s t p r o j e c t n a m e d " P e r m i s s i o n _ T e s t "
And t h e r o l e " T e s t u s e r " m a y h a v e t h e f o l l o w i n g r i g h t s :
@ -354,9 +391,11 @@ Feature: Permissions
And I a m a l r e a d y l o g g e d i n a s " t e s t u s e r "
And I a m o n t h e o v e r a l l C o s t R e p o r t s p a g e w i t h o u t f i l t e r s o r g r o u p s
Then I s h o u l d s e e " C o s t R e p o r t " w i t h i n " # c o n t e n t "
And I c h o o s e " C a s h v a l u e "
And I c l i c k " A p p l y "
And I s h o u l d n o t s e e " N o d a t a t o d i s p l a y "
# Costs
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 11 .00 [other, cost])
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 10 .00 [other, cost])
And I s h o u l d s e e " 0 . 0 1 E U R " w i t h i n " . r e s u l t "
And I s h o u l d n o t s e e " - " w i t h i n " . r e s u l t "
# TimeEntries
@ -370,6 +409,7 @@ Feature: Permissions
# other
And I s h o u l d n o t s e e " 1 . 0 t e n "
@javascript
Scenario : A user who may see own costs, own time entries and own cost entries, sees then with costs (as they are his costs)
Given t h e r e i s a s t a n d a r d p e r m i s s i o n t e s t p r o j e c t n a m e d " P e r m i s s i o n _ T e s t "
And t h e r o l e " T e s t u s e r " m a y h a v e t h e f o l l o w i n g r i g h t s :
@ -379,9 +419,11 @@ Feature: Permissions
And I a m a l r e a d y l o g g e d i n a s " t e s t u s e r "
And I a m o n t h e o v e r a l l C o s t R e p o r t s p a g e w i t h o u t f i l t e r s o r g r o u p s
Then I s h o u l d s e e " C o s t R e p o r t " w i t h i n " # c o n t e n t "
And I c h o o s e " C a s h v a l u e "
And I c l i c k " A p p l y "
And I s h o u l d n o t s e e " N o d a t a t o d i s p l a y "
# Costs
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 11 .00 [other, cost])
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 10 .00 [other, cost])
And I s h o u l d s e e " 0 . 0 1 E U R " w i t h i n " . r e s u l t "
And I s h o u l d n o t s e e " - " w i t h i n " . r e s u l t "
# TimeEntries
@ -395,6 +437,7 @@ Feature: Permissions
# other
And I s h o u l d n o t s e e " 1 . 0 t e n "
@javascript
Scenario : User who may see own costs, own time entries and all cost entries, only sees those entries and only own entries with costs
Given t h e r e i s a s t a n d a r d p e r m i s s i o n t e s t p r o j e c t n a m e d " P e r m i s s i o n _ T e s t "
And t h e r o l e " T e s t u s e r " m a y h a v e t h e f o l l o w i n g r i g h t s :
@ -404,9 +447,11 @@ Feature: Permissions
And I a m a l r e a d y l o g g e d i n a s " t e s t u s e r "
And I a m o n t h e o v e r a l l C o s t R e p o r t s p a g e w i t h o u t f i l t e r s o r g r o u p s
Then I s h o u l d s e e " C o s t R e p o r t " w i t h i n " # c o n t e n t "
And I c h o o s e " C a s h v a l u e "
And I c l i c k " A p p l y "
And I s h o u l d n o t s e e " N o d a t a t o d i s p l a y "
# Costs
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 11 .00 [other, cost])
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 10 .00 [other, cost])
And I s h o u l d s e e " 0 . 0 1 E U R " w i t h i n " . r e s u l t "
And I s h o u l d n o t s e e " - " w i t h i n " . r e s u l t "
# TimeEntries
@ -420,6 +465,7 @@ Feature: Permissions
# other
And I s h o u l d s e e " 1 . 0 t e n "
@javascript
Scenario : User who may see own costs and time entries, only sees own time entries with costs
Given t h e r e i s a s t a n d a r d p e r m i s s i o n t e s t p r o j e c t n a m e d " P e r m i s s i o n _ T e s t "
And t h e r o l e " T e s t u s e r " m a y h a v e t h e f o l l o w i n g r i g h t s :
@ -428,9 +474,11 @@ Feature: Permissions
And I a m a l r e a d y l o g g e d i n a s " t e s t u s e r "
And I a m o n t h e o v e r a l l C o s t R e p o r t s p a g e w i t h o u t f i l t e r s o r g r o u p s
Then I s h o u l d s e e " C o s t R e p o r t " w i t h i n " # c o n t e n t "
And I c h o o s e " C a s h v a l u e "
And I c l i c k " A p p l y "
And I s h o u l d n o t s e e " N o d a t a t o d i s p l a y "
# Costs
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 11 .00 [other, cost])
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 10 .00 [other, cost])
And I s h o u l d s e e " 0 . 0 1 E U R " w i t h i n " . r e s u l t "
And I s h o u l d n o t s e e " - " w i t h i n " . r e s u l t "
# TimeEntries
@ -444,6 +492,7 @@ Feature: Permissions
# other
And I s h o u l d n o t s e e " 1 . 0 t e n "
@javascript
Scenario : User who can see own costs, all time entries and only his own cost entries, see only the requested entries where costs are only visible on own entries
Given t h e r e i s a s t a n d a r d p e r m i s s i o n t e s t p r o j e c t n a m e d " P e r m i s s i o n _ T e s t "
And t h e r o l e " T e s t u s e r " m a y h a v e t h e f o l l o w i n g r i g h t s :
@ -453,9 +502,11 @@ Feature: Permissions
And I a m a l r e a d y l o g g e d i n a s " t e s t u s e r "
And I a m o n t h e o v e r a l l C o s t R e p o r t s p a g e w i t h o u t f i l t e r s o r g r o u p s
Then I s h o u l d s e e " C o s t R e p o r t " w i t h i n " # c o n t e n t "
And I c h o o s e " C a s h v a l u e "
And I c l i c k " A p p l y "
And I s h o u l d n o t s e e " N o d a t a t o d i s p l a y "
# Costs
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 11 .00 [other, cost])
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 10 .00 [other, cost])
And I s h o u l d s e e " 0 . 0 1 E U R " w i t h i n " . r e s u l t "
And I s h o u l d n o t s e e " - " w i t h i n " . r e s u l t "
# TimeEntries
@ -469,6 +520,7 @@ Feature: Permissions
# other
And I s h o u l d n o t s e e " 1 . 0 t e n "
@javascript
Scenario : User who may see own costs and all entries, only sees his own entries attached with costs
# ATTENTION: there is no right to see own CostEntry costs - so no costs for cost entries are visible after all
Given t h e r e i s a s t a n d a r d p e r m i s s i o n t e s t p r o j e c t n a m e d " P e r m i s s i o n _ T e s t "
@ -479,9 +531,11 @@ Feature: Permissions
And I a m a l r e a d y l o g g e d i n a s " t e s t u s e r "
And I a m o n t h e o v e r a l l C o s t R e p o r t s p a g e w i t h o u t f i l t e r s o r g r o u p s
Then I s h o u l d s e e " C o s t R e p o r t " w i t h i n " # c o n t e n t "
And I c h o o s e " C a s h v a l u e "
And I c l i c k " A p p l y "
And I s h o u l d n o t s e e " N o d a t a t o d i s p l a y "
# Costs
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 11 .00 [other, cost])
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 10 .00 [other, cost])
And I s h o u l d s e e " 0 . 0 1 E U R " w i t h i n " . r e s u l t "
And I s h o u l d n o t s e e " - " w i t h i n " . r e s u l t "
# TimeEntries
@ -504,6 +558,7 @@ Feature: Permissions
And I a m o n t h e o v e r a l l C o s t R e p o r t s p a g e w i t h o u t f i l t e r s o r g r o u p s
Then I s h o u l d s e e " 4 0 3 " #access denied
@javascript
Scenario : User wh can see all costs and his own cost entries, only sees own cost entries with costs
Given t h e r e i s a s t a n d a r d p e r m i s s i o n t e s t p r o j e c t n a m e d " P e r m i s s i o n _ T e s t "
And t h e r o l e " T e s t u s e r " m a y h a v e t h e f o l l o w i n g r i g h t s :
@ -513,9 +568,11 @@ Feature: Permissions
And I a m a l r e a d y l o g g e d i n a s " t e s t u s e r "
And I a m o n t h e o v e r a l l C o s t R e p o r t s p a g e w i t h o u t f i l t e r s o r g r o u p s
Then I s h o u l d s e e " C o s t R e p o r t " w i t h i n " # c o n t e n t "
And I c h o o s e " C a s h v a l u e "
And I c l i c k " A p p l y "
And I s h o u l d n o t s e e " N o d a t a t o d i s p l a y "
# Costs
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 11 .00 [other, cost])
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 10 .00 [other, cost])
And I s h o u l d s e e " 1 . 0 0 E U R " w i t h i n " . r e s u l t "
And I s h o u l d n o t s e e " - " w i t h i n " . r e s u l t "
# TimeEntries
@ -529,6 +586,7 @@ Feature: Permissions
# other
And I s h o u l d n o t s e e " 1 . 0 t e n "
@javascript
Scenario : User who may see all costs and all cost entries, sees all cost entries with costs
Given t h e r e i s a s t a n d a r d p e r m i s s i o n t e s t p r o j e c t n a m e d " P e r m i s s i o n _ T e s t "
And t h e r o l e " T e s t u s e r " m a y h a v e t h e f o l l o w i n g r i g h t s :
@ -538,9 +596,11 @@ Feature: Permissions
And I a m a l r e a d y l o g g e d i n a s " t e s t u s e r "
And I a m o n t h e o v e r a l l C o s t R e p o r t s p a g e w i t h o u t f i l t e r s o r g r o u p s
Then I s h o u l d s e e " C o s t R e p o r t " w i t h i n " # c o n t e n t "
And I c h o o s e " C a s h v a l u e "
And I c l i c k " A p p l y "
And I s h o u l d n o t s e e " N o d a t a t o d i s p l a y "
# Costs
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 11 .00 [other, cost])
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 10 .00 [other, cost])
And I s h o u l d s e e " 1 1 . 0 0 E U R " w i t h i n " . r e s u l t "
And I s h o u l d n o t s e e " - " w i t h i n " . r e s u l t "
# TimeEntries
@ -554,6 +614,7 @@ Feature: Permissions
# other
And I s h o u l d s e e " 1 . 0 t e n "
@javascript
Scenario : User who may see all costs and own time entries, sees them with costs
Given t h e r e i s a s t a n d a r d p e r m i s s i o n t e s t p r o j e c t n a m e d " P e r m i s s i o n _ T e s t "
And t h e r o l e " T e s t u s e r " m a y h a v e t h e f o l l o w i n g r i g h t s :
@ -563,9 +624,11 @@ Feature: Permissions
And I a m a l r e a d y l o g g e d i n a s " t e s t u s e r "
And I a m o n t h e o v e r a l l C o s t R e p o r t s p a g e w i t h o u t f i l t e r s o r g r o u p s
Then I s h o u l d s e e " C o s t R e p o r t " w i t h i n " # c o n t e n t "
And I c h o o s e " C a s h v a l u e "
And I c l i c k " A p p l y "
And I s h o u l d n o t s e e " N o d a t a t o d i s p l a y "
# Costs
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 11 .00 [other, cost])
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 10 .00 [other, cost])
And I s h o u l d s e e " 0 . 0 1 E U R " w i t h i n " . r e s u l t "
And I s h o u l d n o t s e e " - " w i t h i n " . r e s u l t "
# TimeEntries
@ -579,6 +642,7 @@ Feature: Permissions
# other
And I s h o u l d n o t s e e " 1 . 0 t e n "
@javascript
Scenario : User who may see all costs, own time- and cost- entries, sees his own entires with costs
Given t h e r e i s a s t a n d a r d p e r m i s s i o n t e s t p r o j e c t n a m e d " P e r m i s s i o n _ T e s t "
And t h e r o l e " T e s t u s e r " m a y h a v e t h e f o l l o w i n g r i g h t s :
@ -589,9 +653,11 @@ Feature: Permissions
And I a m a l r e a d y l o g g e d i n a s " t e s t u s e r "
And I a m o n t h e o v e r a l l C o s t R e p o r t s p a g e w i t h o u t f i l t e r s o r g r o u p s
Then I s h o u l d s e e " C o s t R e p o r t " w i t h i n " # c o n t e n t "
And I c h o o s e " C a s h v a l u e "
And I c l i c k " A p p l y "
And I s h o u l d n o t s e e " N o d a t a t o d i s p l a y "
# Costs
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 11 .00 [other, cost])
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 10 .00 [other, cost])
And I s h o u l d s e e " 1 . 0 1 E U R " w i t h i n " . r e s u l t "
And I s h o u l d n o t s e e " - " w i t h i n " . r e s u l t "
# TimeEntries
@ -605,6 +671,7 @@ Feature: Permissions
# other
And I s h o u l d n o t s e e " 1 . 0 t e n "
@javascript
Scenario : User who may see all costs, own time entries and all cost entries, only sees them with costs
Given t h e r e i s a s t a n d a r d p e r m i s s i o n t e s t p r o j e c t n a m e d " P e r m i s s i o n _ T e s t "
And t h e r o l e " T e s t u s e r " m a y h a v e t h e f o l l o w i n g r i g h t s :
@ -615,9 +682,11 @@ Feature: Permissions
And I a m a l r e a d y l o g g e d i n a s " t e s t u s e r "
And I a m o n t h e o v e r a l l C o s t R e p o r t s p a g e w i t h o u t f i l t e r s o r g r o u p s
Then I s h o u l d s e e " C o s t R e p o r t " w i t h i n " # c o n t e n t "
And I c h o o s e " C a s h v a l u e "
And I c l i c k " A p p l y "
And I s h o u l d n o t s e e " N o d a t a t o d i s p l a y "
# Costs
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 11 .00 [other, cost])
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 10 .00 [other, cost])
And I s h o u l d s e e " 1 1 . 0 1 E U R " w i t h i n " . r e s u l t "
And I s h o u l d n o t s e e " - " w i t h i n " . r e s u l t "
# TimeEntries
@ -631,6 +700,7 @@ Feature: Permissions
# other
And I s h o u l d s e e " 1 . 0 t e n "
@javascript
Scenario : User who may see all costs and all time entries, sees them with costs
Given t h e r e i s a s t a n d a r d p e r m i s s i o n t e s t p r o j e c t n a m e d " P e r m i s s i o n _ T e s t "
And t h e r o l e " T e s t u s e r " m a y h a v e t h e f o l l o w i n g r i g h t s :
@ -640,9 +710,11 @@ Feature: Permissions
And I a m a l r e a d y l o g g e d i n a s " t e s t u s e r "
And I a m o n t h e o v e r a l l C o s t R e p o r t s p a g e w i t h o u t f i l t e r s o r g r o u p s
Then I s h o u l d s e e " C o s t R e p o r t " w i t h i n " # c o n t e n t "
And I c h o o s e " C a s h v a l u e "
And I c l i c k " A p p l y "
And I s h o u l d n o t s e e " N o d a t a t o d i s p l a y "
# Costs
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 11 .00 [other, cost])
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 10 .00 [other, cost])
And I s h o u l d s e e " 0 . 1 1 E U R " w i t h i n " . r e s u l t "
And I s h o u l d n o t s e e " - " w i t h i n " . r e s u l t "
# TimeEntries
@ -656,6 +728,7 @@ Feature: Permissions
# other
And I s h o u l d n o t s e e " 1 . 0 t e n "
@javascript
Scenario : User who may see all costs, all time entries and his own cost entries, sees them with costs
Given t h e r e i s a s t a n d a r d p e r m i s s i o n t e s t p r o j e c t n a m e d " P e r m i s s i o n _ T e s t "
And t h e r o l e " T e s t u s e r " m a y h a v e t h e f o l l o w i n g r i g h t s :
@ -666,9 +739,11 @@ Feature: Permissions
And I a m a l r e a d y l o g g e d i n a s " t e s t u s e r "
And I a m o n t h e o v e r a l l C o s t R e p o r t s p a g e w i t h o u t f i l t e r s o r g r o u p s
Then I s h o u l d s e e " C o s t R e p o r t " w i t h i n " # c o n t e n t "
And I c h o o s e " C a s h v a l u e "
And I c l i c k " A p p l y "
And I s h o u l d n o t s e e " N o d a t a t o d i s p l a y "
# Costs
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 11 .00 [other, cost])
# costs (0.01 [own, time] + 0.10 [other, time] + 1.00 [own, cost] + 10 .00 [other, cost])
And I s h o u l d s e e " 1 . 1 1 E U R " w i t h i n " . r e s u l t "
And I s h o u l d n o t s e e " - " w i t h i n " . r e s u l t "
# TimeEntries