forked from ec-europa/joinup-dev
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtours.feature
More file actions
38 lines (33 loc) · 1.34 KB
/
tours.feature
File metadata and controls
38 lines (33 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
@api
Feature: Tours
In order to understand complex concepts and user interfaces
As a new user of the website
I want to be able to follow tours that point out different sections of the page
Scenario Outline: Anonymous user can access tours
Given I am not logged in
When I visit "<path>"
Then a tour <expectation> available
Examples:
| path | expectation |
| / | should be |
| /keep-up-to-date | should be |
| /collections | should not be |
| /solutions | should not be |
# Recheck some URLs to ensure that cache contexts are working.
| / | should be |
| /solutions | should not be |
| /keep-up-to-date | should be |
Scenario Outline: Various user roles can access tours
Given I am logged in as an "authenticated user"
When I visit "<path>"
Then a tour <expectation> available
Examples:
| path | expectation |
| / | should be |
| /keep-up-to-date | should be |
| /collections | should not be |
| /solutions | should not be |
# Recheck some URLs to ensure that cache contexts are working.
| / | should be |
| /solutions | should not be |
| /keep-up-to-date | should be |