Interactivity: Use domReady package over DOMContentLoaded #90603
Annotations
7 errors and 1 notice
Run the tests:
test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js#L416
1) [firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:368:3 › Navigation block - Frontend interactivity › Submenus (Arrow setting) (@Firefox, @WebKit) › submenu click on the arrow interactions
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('link', { name: 'Submenu Link' })
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('link', { name: 'Submenu Link' })
414 | // Move the mouse so the hover on the button doesn't keep the menu open
415 | await page.mouse.move( 400, 400 );
> 416 | await expect( firstLevelElement ).toBeVisible();
| ^
417 | await expect( secondLevelElement ).toBeHidden();
418 |
419 | // Close menu via click on the body
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:416:38
|
Run the tests:
test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js#L416
1) [firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:368:3 › Navigation block - Frontend interactivity › Submenus (Arrow setting) (@Firefox, @WebKit) › submenu click on the arrow interactions
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('link', { name: 'Submenu Link' })
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('link', { name: 'Submenu Link' })
414 | // Move the mouse so the hover on the button doesn't keep the menu open
415 | await page.mouse.move( 400, 400 );
> 416 | await expect( firstLevelElement ).toBeVisible();
| ^
417 | await expect( secondLevelElement ).toBeHidden();
418 |
419 | // Close menu via click on the body
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:416:38
|
Run the tests:
test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js#L416
1) [firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:368:3 › Navigation block - Frontend interactivity › Submenus (Arrow setting) (@Firefox, @WebKit) › submenu click on the arrow interactions
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('link', { name: 'Submenu Link' })
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('link', { name: 'Submenu Link' })
414 | // Move the mouse so the hover on the button doesn't keep the menu open
415 | await page.mouse.move( 400, 400 );
> 416 | await expect( firstLevelElement ).toBeVisible();
| ^
417 | await expect( secondLevelElement ).toBeHidden();
418 |
419 | // Close menu via click on the body
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:416:38
|
Run the tests:
test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js#L473
2) [firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:458:3 › Navigation block - Frontend interactivity › Page list block (@Firefox, @WebKit) › page-list submenu user interactions
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('link', { name: 'Subpage' })
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('link', { name: 'Subpage' })
471 | // page-list submenu opens on click
472 | await submenuButton.click();
> 473 | await expect( innerElement ).toBeVisible();
| ^
474 |
475 | // page-list submenu closes on click outside
476 | await page.click( 'body' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:473:33
|
Run the tests:
test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js#L473
2) [firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:458:3 › Navigation block - Frontend interactivity › Page list block (@Firefox, @WebKit) › page-list submenu user interactions
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('link', { name: 'Subpage' })
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('link', { name: 'Subpage' })
471 | // page-list submenu opens on click
472 | await submenuButton.click();
> 473 | await expect( innerElement ).toBeVisible();
| ^
474 |
475 | // page-list submenu closes on click outside
476 | await page.click( 'body' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:473:33
|
Run the tests:
test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js#L473
2) [firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:458:3 › Navigation block - Frontend interactivity › Page list block (@Firefox, @WebKit) › page-list submenu user interactions
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('link', { name: 'Subpage' })
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('link', { name: 'Subpage' })
471 | // page-list submenu opens on click
472 | await submenuButton.click();
> 473 | await expect( innerElement ).toBeVisible();
| ^
474 |
475 | // page-list submenu closes on click outside
476 | await page.click( 'body' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:473:33
|
Run the tests
Process completed with exit code 1.
|
Run the tests
2 failed
[firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:368:3 › Navigation block - Frontend interactivity › Submenus (Arrow setting) (@Firefox, @WebKit) › submenu click on the arrow interactions
[firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:458:3 › Navigation block - Frontend interactivity › Page list block (@Firefox, @WebKit) › page-list submenu user interactions
3 skipped
117 passed (8.2m)
|
The logs for this run have expired and are no longer available.
Loading