Skip to content
Snippets Groups Projects
Commit 888048d7 authored by Adrian Lorenc's avatar Adrian Lorenc Committed by Claudiu Cristea
Browse files

ISAICP-9470: Add behat tests.

parent 31bbf122
No related branches found
No related tags found
1 merge request!210Patch release 2.2.1
@api @group-a
Feature: Content Creation Permissions
As a group member,
I want to have content creation permissions based on the solution's settings,
So that I can add content when allowed.
Scenario Outline: Content creation availability based on solution settings
And solution content:
| title | content creation |
| ResolveTech Systems | <content creation> |
Given I am logged in as a member of the "ResolveTech Systems" solution
And I go to the "ResolveTech Systems" solution
Then I <expected> see the plus button menu
Examples:
| content creation | expected |
| registered users | should |
| facilitators and authors | should not |
@javascript
Scenario: A member can add a layout to new content
And solution content:
| title | content creation |
| NexaFix Innovations | registered users |
Given I am logged in as a member of the "NexaFix Innovations" solution
And I go to the "NexaFix Innovations" solution
When I click "Add news" in the plus button menu
And I click "Add layout"
And a modal should open
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment