File tree 1 file changed +29
-0
lines changed
1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ @block @block_news
2
+ Feature : Show news
3
+ In order to be informed about news
4
+ As a user
5
+ I need to be able to see that the news block shows the intended news.
6
+
7
+ Background :
8
+ Given the following "blocks" exist:
9
+ | blockname | contextlevel | reference | pagetypepattern | defaultregion |
10
+ | news | System | 1 | site -index | side -pre |
11
+ And the following config values are set as admin:
12
+ | config | value | plugin |
13
+ | title1 | News Title One | block_news |
14
+ | description1 | News Description One | block_news |
15
+ | link1 | https ://apple .com | block_news |
16
+ | title2 | News Title Two | block_news |
17
+ | description2 | News Description Two | block_news |
18
+ | link2 | https ://google .com | block_news |
19
+ | title3 | News Title Three | block_news |
20
+ | description3 | News Description Three | block_news |
21
+ | link3 | https ://ucl .ac .uk | block_news |
22
+
23
+ Scenario : See news as intended.
24
+ When I am on site homepage
25
+ Then I should see "News"
26
+ And I should see "News Title One"
27
+ And I should see "News Title Two"
28
+ And I should see "News Title Three"
29
+
You can’t perform that action at this time.
0 commit comments