Skip to content

Commit

Permalink
Revert "Add delay for accessibility node list to be populated"
Browse files Browse the repository at this point in the history
Removing workaround fixed in `puppeteer-core`

* puppeteer/puppeteer#9404
* puppeteer/puppeteer#9405

This reverts commit af91aae.
  • Loading branch information
colinrotherham committed Dec 19, 2022
1 parent eefcfaa commit 3771781
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/govuk/components/accordion/accordion.test.js
Expand Up @@ -256,7 +256,6 @@ describe('/components/accordion', () => {
)

await $element.click()
await page.waitForTimeout(100)

await expect(getAccessibleName(page, $element)).resolves.toBe(
'Section A , Hide this section'
Expand All @@ -275,7 +274,6 @@ describe('/components/accordion', () => {
)

await $element.click()
await page.waitForTimeout(100)

await expect(getAccessibleName(page, $element)).resolves.toBe(
'Test , Additional description , Hide this section'
Expand Down

0 comments on commit 3771781

Please sign in to comment.