diff --git a/.github/workflows/pr-e2e.yml b/.github/workflows/pr-e2e.yml index 1dd95f33b0..60d6e5d236 100644 --- a/.github/workflows/pr-e2e.yml +++ b/.github/workflows/pr-e2e.yml @@ -81,9 +81,9 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6 with: - node-version: lts/* + node-version: '22' - name: Install backstop shell: bash diff --git a/tests/playwright/tests/release-notes.spec.ts b/tests/playwright/tests/release-notes.spec.ts index 499f059e7b..c052232aa5 100644 --- a/tests/playwright/tests/release-notes.spec.ts +++ b/tests/playwright/tests/release-notes.spec.ts @@ -25,8 +25,8 @@ test('Direct navigation to single category returns the expected value', async ({ }); test('Direct navigation to single category returns the expected value - 2', async ({ page }) => { - await page.goto('/release-notes/1/?category=action-required'); - const expectedString = 'WordPress 6.9.4 available'; + await page.goto('/release-notes/1/?category=billing'); + const expectedString = 'Track invoice statuses with new Paid and Unpaid tags'; const h2s1 = await page.locator('h2').allTextContents(); expect(h2s1.some(text => text.includes(expectedString))).toBeTruthy(); });