Refactor: Cleanup comments and add documentation #2
This file contains hidden or 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
| name: Playwright E2E Tests | |
| on: | |
| push: | |
| branches: [main, master] | |
| pull_request: | |
| branches: [main, master] | |
| jobs: | |
| test: | |
| timeout-minutes: 10 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| - name: Install Playwright browsers | |
| run: playwright install --with-deps chromium | |
| - name: Run Pytest BDD tests | |
| # Tu si GitHub potiahne tvoje tajné heslá | |
| env: | |
| TEST_EMAIL: ${{ secrets.TEST_EMAIL }} | |
| TEST_PASSWORD: ${{ secrets.TEST_PASSWORD }} | |
| run: pytest |