File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 1717 run : npm ci
1818 - name : Install Playwright Browsers
1919 run : npx playwright install --with-deps
20+ - name : Create .env file from secrets
21+ run : |
22+ echo "LOGIN_USERNAME=${{ secrets.LOGIN_USERNAME }}" >> .env
23+ echo "LOGIN_PASSWORD=${{ secrets.LOGIN_PASSWORD }}" >> .env
2024 - name : Run Playwright tests
2125 run : npx playwright test
2226 - uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change 1313 - Specify timeouts and wait conditions for asynchronous actions.
1414 - Use only supported selectors and locators for UI automation.
1515 - If we are talking about password and other secret strings, save them properly in some secret way
16+ - Always suggest easiest solution whenever possible
1617- ** Examples:**
1718 - "Login with valid credentials and verify dashboard loads."
1819 - "Check that error message appears when submitting empty form."
You can’t perform that action at this time.
0 commit comments