File tree Expand file tree Collapse file tree 2 files changed +23
-9
lines changed Expand file tree Collapse file tree 2 files changed +23
-9
lines changed Original file line number Diff line number Diff line change 1- test-results
1+ .e2e-playwright- * .txt
22assets
33report.html
4- .e2e-playwright- * .txt
54report.xml
5+ test-results
Original file line number Diff line number Diff line change 1+
2+
3+ ## Usage
4+
15### Auto generate new test
2- ` playwright codegen sim4life.io `
6+ ```
7+ playwright codegen sim4life.io
8+ ```
39
410### Run test locally with headed mode
511```
612pytest -s tests/sim4life.py --headed --browser chromium --product-billable --product-url https://sim4life.io/ --user-name YOUR_USERNAME --password YOUR_PASSWORD --service-key sim4life-8-0-0-dy
713```
814
915### Check test results output
10- ` playwright show-trace test-results/tests-sim4life-py-test-billable-sim4life-chromium/trace.zip `
16+ ```
17+ playwright show-trace test-results/tests-sim4life-py-test-billable-sim4life-chromium/trace.zip
18+ ```
1119
1220### Run debug mode
13- ` PWDEBUG=1 pytest -s tests/sim4life.py `
21+ ```
22+ PWDEBUG=1 pytest -s tests/sim4life.py
23+ ```
1424
1525### Run test in different browsers
16- ` pytest -s tests/sim4life.py --tracing on --html=report.html --browser chromium --browser firefox `
26+ ```
27+ pytest -s tests/sim4life.py --tracing on --html=report.html --browser chromium --browser firefox
28+ ```
1729
18- ### or in chrome/msedge
19- ` pytest -s tests/sim4life.py --tracing on --html=report.html --browser-channel chrome `
30+ ### or in chrome/ms-edge
31+ ```
32+ pytest -s tests/sim4life.py --tracing on --html=report.html --browser-channel chrome
33+ ```
2034
21- ### Runs in CI
35+ ## e2e CI
2236 - https://git.speag.com/oSparc/e2e-backend
You can’t perform that action at this time.
0 commit comments