Skip to content
This repository was archived by the owner on Jul 27, 2022. It is now read-only.

Commit

Permalink
ISAICP-6355: Update documentation. Maps can now also be added by faci…
Browse files Browse the repository at this point in the history
…litators.
  • Loading branch information
pfrenssen committed Apr 13, 2021
1 parent 6b7ccb7 commit 6dd36ad
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/features/paragraphs/custom_page.paragraphs.feature
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Feature:
| BBBBBBBBBB |
| AAAAAAAAAA |

Scenario: Moderators can add a map and/or an iframe and map paragraph.
Scenario: Privileged users can add a map and/or an iframe and map paragraph.
Given users:
| Username |
| Zohan |
Expand All @@ -55,12 +55,14 @@ Feature:
| title | body | collection | author |
| Don't Mess with the Zohan | Wanna mess? | Paragraphs collection | Zohan |

# Normal members cannot add maps.
When I am logged in as "Zohan"
And I go to the custom_page "Don't Mess with the Zohan" edit screen
Then I should see the button "Add Simple paragraph"
And I should not see the button "Add Map"
But I should not see the button "Add IFrame"

# Facilitators can add maps.
When I am logged in as a facilitator of the "Paragraphs collection" collection
And I go to the custom_page "Don't Mess with the Zohan" edit screen
Then I should see the button "Add Simple paragraph"
Expand All @@ -72,6 +74,7 @@ Feature:
Then I should see the success message "Custom page Don't Mess with the Zohan has been updated."
And I should see "I'm half Australian, half Mt. Everest"

# Moderators can add maps.
Given I am logged in as a moderator
And I go to the custom_page "Don't Mess with the Zohan" edit screen
Then I should see the button "Add Simple paragraph"
Expand Down

0 comments on commit 6dd36ad

Please sign in to comment.