Simplify tests with pytest-playwright (#523)

* Simplify tests with pytest-playwright

* Add pytest-playwright to pip

* Fix simple_clock example

* Attempt to make example tests more robust

* Make pre-commit happy

* Revert accidental change to simple_clock pyscript resources

* Another attempt at reducing flakeyness

* Do not wait until page load event is fired

* Remove pointless py-config

Co-authored-by: mariana <marianameireles@protonmail.com>
This commit is contained in:
Philipp Rudiger
2022-06-21 19:28:05 +02:00
committed by GitHub
parent 1c7ef6622b
commit 829cc9f6f9
5 changed files with 43 additions and 52 deletions

View File

@@ -2,8 +2,8 @@ name: '[CI] Build Release'
on:
push:
tags:
- '[0-9][0-9][0-9][0-9].[0-9][0-9].[0-9]'
tags:
- '[0-9][0-9][0-9][0-9].[0-9][0-9].[0-9]'
env:
MINICONDA_PYTHON_VERSION: py38

View File

@@ -58,5 +58,5 @@ jobs:
- name: Sync to S3
run: | # Overwrite "latest" alpha + versioned subdirectory
aws s3 sync --quiet ./examples/build/ s3://pyscript.net/alpha/${{ github.ref_name }}
aws s3 sync --quiet ./examples/build/ s3://pyscript.net/alpha/${{ github.ref_name }}
# aws s3 sync --quiet ./examples/build/ s3://pyscript.net/alpha/