This repository is dedicated to development, testing, and proof-of-concept work related to issue 3545, which focuses on implementing testing for the web platform.
- Open this repository in VSCode.
- Ensure you have the following installed in your environment/venv (these are the versions I use):
playwright==1.51.0pytest==8.3.5pytest-asyncio==0.26.0pytest-playwright==0.7.0
- Open a Toga app in another VSCode window.
- Copy the contents of this repository’s example
app.pyinto your Toga project. - Update and build your Toga app for web.
- Run your Toga app as a web app.
- In this repository’s VSCode window:
cdinto the repository’s directory.- Run:
pytest testbed/tests