Skip to content

Commit c28321a

Browse files
committed
debugging CI issues
1 parent 6daba06 commit c28321a

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

.github/workflows/playwright.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,21 @@ jobs:
88
test:
99
timeout-minutes: 60
1010
runs-on: ubuntu-latest
11+
1112
env:
1213
EMAIL: ${{ secrets.APP_EMAIL }}
1314
PASSWORD: ${{ secrets.APP_PASSWORD }}
1415
BASE_URL: ${{ secrets.APP_BASE_URL }}
16+
1517
steps:
1618
- name: Checkout repository
1719
uses: actions/checkout@v4
1820

1921
- name: Setup Node
2022
uses: actions/setup-node@v4
2123
with:
22-
node-version: 22.11.0
24+
node-version: 22
25+
2326
- name: Install dependencies
2427
run: npm ci
2528

@@ -48,5 +51,10 @@ jobs:
4851
tests/artifacts/traces
4952
5053
- name: Curl registration page in Actions
51-
run: curl -v $BASE_URL/auth/register
54+
run: curl -v {BASE_URL}/auth/register
5255

56+
- name: Debug variables
57+
run: |
58+
echo "EMAIL: $EMAIL"
59+
echo "PASSWORD: $PASSWORD"
60+
echo "BASE_URL: $BASE_URL"

pages/RegistrationPage.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ export class RegistrationPage {
4141
}
4242

4343
async navigateToRegistration() {
44-
console.log("Navigating to registration page:", this.registrationUrl);
44+
console.log('Navigating to:', process.env.BASE_URL + '/auth/register');
45+
4546
await this.page.goto(this.registrationUrl);
4647
console.log(this.page.url());
4748
console.log("Waiting for registration page header to be visible");

0 commit comments

Comments
 (0)