Skip to content

Commit 083a604

Browse files
Merge pull request #5776 from dfe-analytical-services/EES-5966-add-ui-test-for-non-latest-data-permalink
EES-5966: Add UI test for permalink generation from non-latest data
2 parents b98f140 + 9d067a3 commit 083a604

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
*** Settings ***
2+
Resource ../../libs/common.robot
3+
4+
Force Tags Prod Preprod
5+
6+
Suite Setup user opens the browser
7+
Suite Teardown user closes the browser
8+
Test Setup fail test fast if required
9+
10+
11+
*** Test Cases ***
12+
Navigate to Absence publication
13+
user navigates to %{PUBLIC_URL}/find-statistics/further-education-and-skills/2019-20
14+
user waits until h1 is visible Further education and skills %{WAIT_MEDIUM}
15+
user checks page contains This is not the latest data
16+
17+
Open Overall absence accordion
18+
user opens accordion section About these statistics id:content-1
19+
user scrolls to accordion section About these statistics id:content-1
20+
21+
Follow Explore data link
22+
user clicks link containing text Explore data
23+
user clicks link containing text View or create your own tables
24+
25+
Navigate to the Table Tool
26+
user waits until h1 is visible Create your own tables %{WAIT_SMALL}
27+
user clicks radio View all featured tables
28+
user clicks link containing text Adult education and training participation and achievement by ethnicity group, 2014/15 to 2019/20
29+
30+
Visit featured table and generate a permalink
31+
user waits until page contains This data is not from the latest release
32+
user waits until page contains button Generate shareable link
33+
user clicks button Generate shareable link
34+
user waits until page contains testid permalink-generated-url
35+
#user clicks button Copy link
36+
37+
Open share link and check outdated warning
38+
user clicks link View share link
39+
user waits until page contains
40+
... WARNING - The data used in this table may now be out-of-date as a new release has been published since its creation.

0 commit comments

Comments
 (0)