-
Notifications
You must be signed in to change notification settings - Fork 5
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
sabine-volceka
merged 1 commit into
dev
from
EES-5966-add-ui-test-for-non-latest-data-permalink
Apr 11, 2025
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
40 changes: 40 additions & 0 deletions
40
tests/robot-tests/tests/general_public/prod_only/old_fast_track.robot
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
Open share link and check outdated warning | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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 ?