Skip to content

Instantly share code, notes, and snippets.

@atthaboon
Created September 9, 2020 00:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atthaboon/c374d16b3e4e3814d8e5be086f6f7973 to your computer and use it in GitHub Desktop.
Save atthaboon/c374d16b3e4e3814d8e5be086f6f7973 to your computer and use it in GitHub Desktop.
Issue animation flaky test
*** Settings ***
Library PuppeteerLibrary
*** Test Cases ***
Demo issue animation flaky test
&{options} = create dictionary headless=${False}
Open Browser https://getbootstrap.com/docs/4.0/components/modal/ options=${options}
Run Async Keywords
... Click Element css=button[data-target="#exampleModalLive"] AND
... Wait Until Element Is Visible id=exampleModalLive
Sleep 3s
Click Element css=#exampleModalLive button[data-dismiss="modal"]
Wait Until Element Is Hidden id=exampleModalLive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment