File tree 1 file changed +23
-0
lines changed
1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change
1
+ @block @block_alerts
2
+ Feature : Show alerts
3
+ In order to alert users
4
+ As a user
5
+ I need to be able to see that the alerts block shows the intended alert.
6
+
7
+ Background :
8
+ Given the following "blocks" exist:
9
+ | blockname | contextlevel | reference | pagetypepattern | defaultregion |
10
+ | alerts | System | 1 | site -index | side -pre |
11
+ And the following config values are set as admin:
12
+ | config | value | plugin |
13
+ | title1 | Alert Title One | block_alerts |
14
+ | description1 | Alert Description One | block_alerts |
15
+ | link1 | https ://nasa .gov | block_alerts |
16
+ | linktext1 | Alert Link One | block_alerts |
17
+
18
+ Scenario : See news as intended and check the links lead to the intended websites.
19
+ When I am on site homepage
20
+ Then I should see "Alert Title One"
21
+ And I should see "Alert Description One"
22
+ When I click on "Alert Link One" "link"
23
+ Then I should see "NASA"
You can’t perform that action at this time.
0 commit comments