Skip to content

Commit

Permalink
Merge pull request #5407 from dfe-analytical-services/EES-5672-5673
Browse files Browse the repository at this point in the history
EES-5672 5673 fix ui tests
  • Loading branch information
duncan-at-hiveit authored Nov 21, 2024
2 parents b0d1123 + 8846d99 commit 0d73718
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions tests/robot-tests/tests/admin/bau/release_content.robot
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ Add content blocks to Test section one
user adds content to autosaving accordion section text block Test section one 1 block one test text
... ${RELEASE_CONTENT_EDITABLE_ACCORDION}

user scrolls up 100
user adds text block to editable accordion section Test section one ${RELEASE_CONTENT_EDITABLE_ACCORDION}
user adds content to autosaving accordion section text block Test section one 2 block two test text
... ${RELEASE_CONTENT_EDITABLE_ACCORDION}
Expand All @@ -237,6 +238,7 @@ Validate two remaining content blocks
... ${RELEASE_CONTENT_EDITABLE_ACCORDION}

Verify that validation prevents adding an image without alt text
user scrolls up 100
user adds image without alt text to accordion section text block Test section one 1
... test-infographic.png ${RELEASE_CONTENT_EDITABLE_ACCORDION}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,6 @@ user adds image to accordion section text block with retry
... xpath://button[span[.="Upload image from computer"]]/input[@type="file"]
... ${FILES_DIR}${filename}

user scrolls up 300
wait until keyword succeeds ${timeout} %{WAIT_SMALL} sec user clicks button
... Change image text alternative
user enters text into element label:Text alternative ${alt_text}
Expand Down

0 comments on commit 0d73718

Please sign in to comment.