Skip to content

Commit

Permalink
update integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rosado committed Nov 6, 2024
1 parent eefa587 commit 98a0306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/test_recieving_results.playwright.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ test('receiving a successful result', async ({ page }) => {
await resultsPage.navigateToRequest('complete')
await resultsPage.expectPageIsNoErrorsPage()

await expect(page.locator('#main-content')).toContainText('3 rows can be published.')
await expect(page.locator('#main-content')).toContainText(/You have \d+ row.* ready to publish/)

const tableValues = await getTableContents(page, 'govuk-table')
const expectedTableValues = getTableValuesFromResponse(successResponse, successResponseDetails)
Expand Down

0 comments on commit 98a0306

Please sign in to comment.