Skip to content

EES-5966: Add UI test for permalink generation from non-latest data #5776

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
*** Settings ***
Resource ../../libs/common.robot

Force Tags Prod Preprod

Suite Setup user opens the browser
Suite Teardown user closes the browser
Test Setup fail test fast if required


*** Test Cases ***
Navigate to Absence publication
user navigates to %{PUBLIC_URL}/find-statistics/further-education-and-skills/2019-20
user waits until h1 is visible Further education and skills %{WAIT_MEDIUM}
user checks page contains This is not the latest data

Open Overall absence accordion
user opens accordion section About these statistics id:content-1
user scrolls to accordion section About these statistics id:content-1

Follow Explore data link
user clicks link containing text Explore data
user clicks link containing text View or create your own tables

Navigate to the Table Tool
user waits until h1 is visible Create your own tables %{WAIT_SMALL}
user clicks radio View all featured tables
user clicks link containing text Adult education and training participation and achievement by ethnicity group, 2014/15 to 2019/20

Visit featured table and generate a permalink
user waits until page contains This data is not from the latest release
user waits until page contains button Generate shareable link
user clicks button Generate shareable link
user waits until page contains testid permalink-generated-url
#user clicks button Copy link
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this comment intended to stay there ?


Open share link and check outdated warning
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Open shareable link ?

user clicks link View share link
user waits until page contains
... WARNING - The data used in this table may now be out-of-date as a new release has been published since its creation.