[WIP] Fix navigateToPIM method to handle closed pages in tests (#18) #74
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: Automated Tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v2 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: '18' | |
| - name: Install dependencies | |
| working-directory: ./automated-testing | |
| run: npm install | |
| - name: Install Playwright Browsers | |
| working-directory: ./automated-testing | |
| run: npx playwright install --with-deps | |
| - name: Run tests | |
| working-directory: ./automated-testing | |
| run: npm test |