@ -15,20 +15,41 @@ Feature: Show meetings
And t h e u s e r " a l i c e " i s a " u s e r " i n t h e p r o j e c t " d i n g e n s "
And t h e r e i s 1 m e e t i n g i n p r o j e c t " d i n g e n s " c r e a t e d b y " b o b " w i t h :
| t i t l e | B o b s M e e t i n g |
@javascript
Scenario : Navigate to a meeting page with an open agenda
Given t h e r o l e " 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 :
| v i e w _ m e e t i n g s |
When I l o g i n a s " a l i c e "
And I g o t o t h e M e e t i n g s p a g e f o r t h e p r o j e c t c a l l e d " d i n g e n s "
And I c l i c k o n " B o b s M e e t i n g "
Then I s h o u l d s e e " A g e n d a " w i t h i n " . m e e t i n g _ a g e n d a " # I should see the Agenda tab
@javascript
Scenario : Navigate to a meeting page with a closed agenda
Given t h e r o l e " 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 :
| v i e w _ m e e t i n g s |
And t h e m e e t i n g " B o b s M e e t i n g " h a s 1 a g e n d a w i t h :
| l o c k e d | t r u e |
When I l o g i n a s " a l i c e "
And I g o t o t h e M e e t i n g s p a g e f o r t h e p r o j e c t c a l l e d " d i n g e n s "
And I c l i c k o n " B o b s M e e t i n g "
Then I s h o u l d s e e " M i n u t e s " w i t h i n " . m e e t i n g _ m i n u t e s " # I should see the Minutes tab
@javascript
Scenario : Navigate to a meeting page with an open agenda and the permission to edit the minutes
Given t h e r o l e " 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 :
| v i e w _ m e e t i n g s |
| c r e a t e _ m e e t i n g _ m i n u t e s |
When I l o g i n a s " a l i c e "
And I g o t o t h e M e e t i n g s p a g e f o r t h e p r o j e c t c a l l e d " d i n g e n s "
And I c l i c k o n " B o b s M e e t i n g "
# Make sure we're on the right tab
And I c l i c k o n " M i n u t e s "
Then I s h o u l d n o t s e e " E d i t " w i t h i n " . m e e t i n g _ m i n u t e s "
@javascript
Scenario : Navigate to a meeting page with a closed agenda
Scenario : Navigate to a meeting page with a closed agenda and the permission to edit the agenda
Given t h e r o l e " 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 :
| v i e w _ m e e t i n g s |
| c r e a t e _ m e e t i n g _ a g e n d a s |
@ -37,4 +58,6 @@ Feature: Show meetings
When I l o g i n a s " a l i c e "
And I g o t o t h e M e e t i n g s p a g e f o r t h e p r o j e c t c a l l e d " d i n g e n s "
And I c l i c k o n " B o b s M e e t i n g "
# Make sure we're on the right tab
And I c l i c k o n " A g e n d a "
Then I s h o u l d n o t s e e " E d i t " w i t h i n " . m e e t i n g _ a g e n d a "