Created
July 12, 2020 11:21
-
-
Save atthaboon/d18d02d8088b85ac4612703752d656ae to your computer and use it in GitHub Desktop.
robotframework-puppeteer fix 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 puppeteer solve flaky test | |
Open Browser http://127.0.0.1:7272/ajax-demo.html browser=chrome | |
Maximize Browser Window | |
Input Text id=idcard 123456789 | |
Run Async Keywords | |
... Click Element id=verify AND | |
... Wait Until Element Is Visible id=loading | |
Wait Until Element Is Hidden id=loading | |
Click Element id=submit | |
Wait Until Page Contains Login succeeded |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment