Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/pr-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions tests/playwright/tests/release-notes.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});
Expand Down
Loading