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
#!/bin/sh | |
cd `dirname $0`/.. | |
OUTDIR=reports | |
OUTFILE=$OUTDIR/rails_best_practices.properties | |
TMPFILE=`mktemp $OUTDIR/rails_best_practices.XXXXXX` | |
mkdir $OUTDIR 2> /dev/null | |
rails_best_practices > $TMPFILE |
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 SeleniumLibrary | |
*** Test Cases *** | |
Demo selenium flaky test | |
Open Browser http://127.0.0.1:7272/ajax-demo.html browser=chrome | |
Maximize Browser Window | |
Input Text id=idcard 123456789 | |
Click Element id=verify | |
Wait Until Element Is Not Visible id=loading |
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 |
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 | |
Library PuppeteerPercy | |
Test Teardown Close Browser | |
*** Test Cases *** | |
Capture Example page | |
${HEADLESS} Get variable value ${HEADLESS} ${False} | |
&{options} = create dictionary headless=${HEADLESS} |
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 SeleniumLibrary | |
*** Test Cases *** | |
Demo script 01 | |
[Teardown] Close All Browsers | |
Open Browser https://qahive.github.io/robotframework-puppeteer.github.io/ browser=chrome | |
Click Element css=a[href="https://qahive.github.io/robotframework-puppeteer/PuppeteerLibrary.html"] | |
Switch Window NEW |
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 | |
Suite Teardown Close Puppeteer | |
*** Variables *** | |
&{options} headless=${False} | |
*** Test Cases *** | |
Demo script 01 | |
[Teardown] Close All Browser |
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 |
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 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 |
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 *** | |
Submit login form | |
&{options} = create dictionary headless=${False} | |
Open browser http://127.0.0.1:7272/login-form-example.html options=${options} | |
Input Text id=exampleInputEmail1 demo@qahive.com | |
Input Text id=exampleInputPassword1 123456789 |
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 *** | |
Submit register form | |
&{options} = create dictionary headless=${False} | |
Open browser http://127.0.0.1:7272/register-form-example.html options=${options} | |
Input Text id=inputEmail4 demo@qahive.com | |
Input Text id=inputPassword4 123456789 | |
Input Text id=inputAddress 123/234 wallstreet std. |
OlderNewer