Skip to content

Commit a92aaae

Browse files
committed
Debug the playwright run.
1 parent 285b614 commit a92aaae

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/continuous-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ jobs:
190190

191191
# Run the e2e tests
192192
- name: Run Playwright tests
193-
run: cd e2e-tests && npx playwright test
193+
run: cd e2e-tests && ls -ltra && npx playwright test
194194

195195
# Upload report after each run
196196
- uses: actions/upload-artifact@v4

e2e-tests/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
->setClientId('000000-0000-0000-0000-000000000000')
1919
->setRedirectURI('http://localhost:8000/api/hellocoop')
2020
->setSecret('66c71f55568f7b0c3b30cb6a8df9975b5125000caa775240b2e76eb96c43715e')
21-
->setHelloWallet('http://127.0.0.1:3333')
21+
->setHelloWallet('http://localhost:3333')
2222
->setScope(['openid', 'profile', 'email'])
2323
->build();
2424

e2e-tests/php.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
const APP_HOME = 'http://127.0.0.1:8000/'
2-
const MOCKIN = 'http://127.0.0.1:3333/'
1+
const APP_HOME = 'http://localhost:8000/'
2+
const MOCKIN = 'http://localhost:3333/'
33
const APP_API = APP_HOME + 'api/hellocoop'
44

55
import { test, expect } from '@playwright/test'

e2e-tests/playwright.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default defineConfig({
2727
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
2828
use: {
2929
/* Base URL to use in actions like `await page.goto('/')`. */
30-
baseURL: 'http://localhost:8000',
30+
// baseURL: 'http://localhost:8000',
3131

3232
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
3333
trace: 'on-first-retry',
@@ -45,14 +45,14 @@ export default defineConfig({
4545
webServer: [
4646
{
4747
command: 'php -S localhost:8000',
48-
url: 'http://127.0.0.1:8000',
48+
url: 'http://localhost:8000',
4949
// stdout: 'pipe',
5050
timeout: 10000,
5151
reuseExistingServer: !process.env.CI,
5252
},
5353
{
5454
command: 'npx @hellocoop/mockin',
55-
url: 'http://127.0.0.1:3333/version',
55+
url: 'http://localhost:3333/version',
5656
// stdout: 'pipe',
5757
timeout: 10000,
5858
reuseExistingServer: !process.env.CI,

0 commit comments

Comments
 (0)