Skip to content

Commit

Permalink
update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
perco12 committed Aug 21, 2024
1 parent 9d9f890 commit f4184af
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
pull_request:
branches: [playwright-automated-testing]
jobs:
test:
accessibility-testing:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
Expand All @@ -19,6 +19,8 @@ jobs:
run: npm i
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run server
run: ./.github/scripts/runServerV2.sh
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v4
Expand Down
16 changes: 8 additions & 8 deletions playwright.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,14 @@ module.exports = defineConfig({
// }
// }
],
webServer: [
{
command: './.github/scripts/runServerV2.sh',
timeout: 120 * 1000,
reuseExistingServer: !process.env.CI,
port: 8080
}
],
// webServer: [
// {
// command: './.github/scripts/runServerV2.sh',
// timeout: 120 * 1000,
// reuseExistingServer: !process.env.CI,
// port: 8080
// }
// ],
use: {
/* Base URL to use in actions like `await page.goto('/')`. */
baseURL: 'https://localhost.paypal.com:8080',
Expand Down

0 comments on commit f4184af

Please sign in to comment.