Created
September 9, 2020 00:05
-
-
Save atthaboon/686683d9ed763c23f189b18e4ac34690 to your computer and use it in GitHub Desktop.
Puppeteer: Solve animation flaky test
This file contains 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
*** Settings *** | |
Library PuppeteerLibrary | |
*** Test Cases *** | |
Demo solve 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 | |
Wait Until Element Finished Animating css=#exampleModalLive button[data-dismiss="modal"] | |
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