Merge pull request #7813 from ampproject/fix/local-env #1632
build-test-measure.yml
on: push
Pre run
3s
Matrix: build-zip
Lint: CSS
0s
Lint: JS
0s
Lint: PHP
0s
Static Analysis: PHP
0s
Unit test: JS
0s
Matrix: E2E test: JS
Matrix: feature-test-php
Matrix: unit-test-php
Comment on PR with links to plugin ZIPs
0s
Annotations
13 errors, 1 warning, and 2 notices
Upload plugin ZIPs to Google Cloud Storage
The v0 series of google-github-actions/setup-gcloud is no longer maintained. It will not receive updates, improvements, or security patches. Please upgrade to the latest supported versions:
https://github.com/google-github-actions/setup-gcloud
|
Upload plugin ZIPs to Google Cloud Storage
Process completed with exit code 1.
|
E2E test: JS (2, 2):
tests/e2e/specs/block-editor/amp-preview-button.js#L813
TimeoutError: waiting for selector `.components-button.edit-post-header__post-preview-button` failed: timeout 60000ms exceeded
at new WaitTask (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28)
at DOMWorld.waitForSelectorInPage (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:656:22)
at Object.internalHandler.waitFor (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/QueryHandler.ts:78:19)
at DOMWorld.waitForSelector (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:511:25)
at Frame.waitForSelector (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/FrameManager.ts:1290:47)
at Page.waitForSelector (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/Page.ts:3222:29)
at Object.waitForSelector (/home/runner/work/amp-wp/amp-wp/tests/e2e/specs/block-editor/amp-preview-button.js:26:14)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
|
E2E test: JS (2, 2):
tests/e2e/specs/block-editor/amp-preview-button.js#L196
Error: expect(received).toPassAxeTests(expected)
Expected page to pass Axe accessibility tests.
Violations found:
Rule: "aria-required-children" (Certain ARIA roles must contain particular children)
Help: https://dequeuniversity.com/rules/axe/4.7/aria-required-children?application=axe-puppeteer
Affected Nodes:
#wp-admin-bar-root-default
Fix ANY of the following:
- Element has children which are not allowed: li[tabindex]
- Element uses aria-busy="true" while showing a loader
#wp-admin-bar-top-secondary
Fix ANY of the following:
- Element has children which are not allowed: li[tabindex]
- Element uses aria-busy="true" while showing a loader
Rule: "aria-required-parent" (Certain ARIA roles must be contained by particular parents)
Help: https://dequeuniversity.com/rules/axe/4.7/aria-required-parent?application=axe-puppeteer
Affected Nodes:
#wp-admin-bar-wp-logo > .ab-item[role="menuitem"]
Fix ANY of the following:
- Required ARIA parents role not present: menu, menubar, group
:root
Fix ANY of the following:
- Required ARIA parents role not present: menu, menubar, group
#wp-admin-bar-comments > .ab-item[role="menuitem"]
Fix ANY of the following:
- Required ARIA parents role not present: menu, menubar, group
#wp-admin-bar-new-content > .ab-item[role="menuitem"]
Fix ANY of the following:
- Required ARIA parents role not present: menu, menubar, group
#wp-admin-bar-my-account > .ab-item[role="menuitem"]
Fix ANY of the following:
- Required ARIA parents role not present: menu, menubar, group
Rule: "empty-heading" (Headings should not be empty)
Help: https://dequeuniversity.com/rules/axe/4.7/empty-heading?application=axe-puppeteer
Affected Nodes:
.editor-document-bar__title > h1
Fix ANY of the following:
- Element does not have text that is visible to screen readers
- aria-label attribute does not exist or is empty
- aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty
- Element has no title attribute
at toPassAxeTests (/home/runner/work/amp-wp/amp-wp/tests/e2e/config/bootstrap.js:196:21)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Object.<anonymous> (/home/runner/work/amp-wp/amp-wp/tests/e2e/config/bootstrap.js:308:2)
|
E2E test: JS (2, 2):
tests/e2e/specs/block-editor/amp-preview-button.js#L813
TimeoutError: waiting for selector `.components-button.editor-post-preview` failed: timeout 60000ms exceeded
at new WaitTask (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28)
at DOMWorld.waitForSelectorInPage (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:656:22)
at Object.internalHandler.waitFor (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/QueryHandler.ts:78:19)
at DOMWorld.waitForSelector (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:511:25)
at Frame.waitForSelector (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/FrameManager.ts:1290:47)
at Page.waitForSelector (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/Page.ts:3222:29)
at Object.waitForSelector (/home/runner/work/amp-wp/amp-wp/tests/e2e/specs/block-editor/amp-preview-button.js:35:14)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
|
E2E test: JS (2, 2):
tests/e2e/specs/block-editor/amp-preview-button.js#L196
Error: expect(received).toPassAxeTests(expected)
Expected page to pass Axe accessibility tests.
Violations found:
Rule: "aria-required-children" (Certain ARIA roles must contain particular children)
Help: https://dequeuniversity.com/rules/axe/4.7/aria-required-children?application=axe-puppeteer
Affected Nodes:
#wp-admin-bar-root-default
Fix ANY of the following:
- Element has children which are not allowed: li[tabindex]
- Element uses aria-busy="true" while showing a loader
#wp-admin-bar-top-secondary
Fix ANY of the following:
- Element has children which are not allowed: li[tabindex]
- Element uses aria-busy="true" while showing a loader
Rule: "aria-required-parent" (Certain ARIA roles must be contained by particular parents)
Help: https://dequeuniversity.com/rules/axe/4.7/aria-required-parent?application=axe-puppeteer
Affected Nodes:
#wp-admin-bar-wp-logo > .ab-item[role="menuitem"]
Fix ANY of the following:
- Required ARIA parents role not present: menu, menubar, group
:root
Fix ANY of the following:
- Required ARIA parents role not present: menu, menubar, group
#wp-admin-bar-comments > .ab-item[role="menuitem"]
Fix ANY of the following:
- Required ARIA parents role not present: menu, menubar, group
#wp-admin-bar-new-content > .ab-item[role="menuitem"]
Fix ANY of the following:
- Required ARIA parents role not present: menu, menubar, group
#wp-admin-bar-my-account > .ab-item[role="menuitem"]
Fix ANY of the following:
- Required ARIA parents role not present: menu, menubar, group
at toPassAxeTests (/home/runner/work/amp-wp/amp-wp/tests/e2e/config/bootstrap.js:196:21)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Object.<anonymous> (/home/runner/work/amp-wp/amp-wp/tests/e2e/config/bootstrap.js:308:2)
|
E2E test: JS (2, 2):
tests/e2e/specs/block-editor/amp-preview-button.js#L196
Error: expect(received).toPassAxeTests(expected)
Expected page to pass Axe accessibility tests.
Violations found:
Rule: "aria-required-children" (Certain ARIA roles must contain particular children)
Help: https://dequeuniversity.com/rules/axe/4.7/aria-required-children?application=axe-puppeteer
Affected Nodes:
#wp-admin-bar-root-default
Fix ANY of the following:
- Element has children which are not allowed: li[tabindex]
- Element uses aria-busy="true" while showing a loader
#wp-admin-bar-top-secondary
Fix ANY of the following:
- Element has children which are not allowed: li[tabindex]
- Element uses aria-busy="true" while showing a loader
Rule: "aria-required-parent" (Certain ARIA roles must be contained by particular parents)
Help: https://dequeuniversity.com/rules/axe/4.7/aria-required-parent?application=axe-puppeteer
Affected Nodes:
#wp-admin-bar-wp-logo > .ab-item[role="menuitem"]
Fix ANY of the following:
- Required ARIA parents role not present: menu, menubar, group
:root
Fix ANY of the following:
- Required ARIA parents role not present: menu, menubar, group
#wp-admin-bar-comments > .ab-item[role="menuitem"]
Fix ANY of the following:
- Required ARIA parents role not present: menu, menubar, group
#wp-admin-bar-new-content > .ab-item[role="menuitem"]
Fix ANY of the following:
- Required ARIA parents role not present: menu, menubar, group
#wp-admin-bar-my-account > .ab-item[role="menuitem"]
Fix ANY of the following:
- Required ARIA parents role not present: menu, menubar, group
at toPassAxeTests (/home/runner/work/amp-wp/amp-wp/tests/e2e/config/bootstrap.js:196:21)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Object.<anonymous> (/home/runner/work/amp-wp/amp-wp/tests/e2e/config/bootstrap.js:308:2)
|
E2E test: JS (2, 2)
Process completed with exit code 1.
|
E2E test: JS (1, 2):
tests/e2e/specs/block-editor/featured-image-notice.js#L813
TimeoutError: waiting for XPath `//button[contains(text(), 'Featured image')]` failed: timeout 60000ms exceeded
at new WaitTask (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28)
at DOMWorld.waitForXPath (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:702:22)
at Frame.waitForXPath (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/FrameManager.ts:1320:47)
at Page.waitForXPath (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/Page.ts:3281:29)
at waitForXPath (/home/runner/work/amp-wp/amp-wp/tests/e2e/utils/click-button.js:9:28)
at Object.<anonymous> (/home/runner/work/amp-wp/amp-wp/tests/e2e/specs/block-editor/featured-image-notice.js:25:20)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
|
E2E test: JS (1, 2):
tests/e2e/specs/block-editor/featured-image-notice.js#L196
Error: expect(received).toPassAxeTests(expected)
Expected page to pass Axe accessibility tests.
Violations found:
Rule: "aria-required-children" (Certain ARIA roles must contain particular children)
Help: https://dequeuniversity.com/rules/axe/4.7/aria-required-children?application=axe-puppeteer
Affected Nodes:
#wp-admin-bar-root-default
Fix ANY of the following:
- Element has children which are not allowed: li[tabindex]
- Element uses aria-busy="true" while showing a loader
#wp-admin-bar-top-secondary
Fix ANY of the following:
- Element has children which are not allowed: li[tabindex]
- Element uses aria-busy="true" while showing a loader
Rule: "aria-required-parent" (Certain ARIA roles must be contained by particular parents)
Help: https://dequeuniversity.com/rules/axe/4.7/aria-required-parent?application=axe-puppeteer
Affected Nodes:
#wp-admin-bar-wp-logo > .ab-item[role="menuitem"]
Fix ANY of the following:
- Required ARIA parents role not present: menu, menubar, group
:root
Fix ANY of the following:
- Required ARIA parents role not present: menu, menubar, group
#wp-admin-bar-comments > .ab-item[role="menuitem"]
Fix ANY of the following:
- Required ARIA parents role not present: menu, menubar, group
#wp-admin-bar-new-content > .ab-item[role="menuitem"]
Fix ANY of the following:
- Required ARIA parents role not present: menu, menubar, group
#wp-admin-bar-my-account > .ab-item[role="menuitem"]
Fix ANY of the following:
- Required ARIA parents role not present: menu, menubar, group
Rule: "empty-heading" (Headings should not be empty)
Help: https://dequeuniversity.com/rules/axe/4.7/empty-heading?application=axe-puppeteer
Affected Nodes:
.editor-document-bar__title > h1
Fix ANY of the following:
- Element does not have text that is visible to screen readers
- aria-label attribute does not exist or is empty
- aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty
- Element has no title attribute
at toPassAxeTests (/home/runner/work/amp-wp/amp-wp/tests/e2e/config/bootstrap.js:196:21)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Object.<anonymous> (/home/runner/work/amp-wp/amp-wp/tests/e2e/config/bootstrap.js:308:2)
|
E2E test: JS (1, 2):
tests/e2e/specs/block-editor/featured-image-notice.js#L813
TimeoutError: waiting for XPath `//button[contains(text(), 'Featured image')]` failed: timeout 60000ms exceeded
at new WaitTask (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28)
at DOMWorld.waitForXPath (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:702:22)
at Frame.waitForXPath (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/FrameManager.ts:1320:47)
at Page.waitForXPath (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/Page.ts:3281:29)
at waitForXPath (/home/runner/work/amp-wp/amp-wp/tests/e2e/utils/click-button.js:9:28)
at Object.<anonymous> (/home/runner/work/amp-wp/amp-wp/tests/e2e/specs/block-editor/featured-image-notice.js:25:20)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
|
E2E test: JS (1, 2):
tests/e2e/specs/block-editor/featured-image-notice.js#L196
Error: expect(received).toPassAxeTests(expected)
Expected page to pass Axe accessibility tests.
Violations found:
Rule: "aria-required-children" (Certain ARIA roles must contain particular children)
Help: https://dequeuniversity.com/rules/axe/4.7/aria-required-children?application=axe-puppeteer
Affected Nodes:
#wp-admin-bar-root-default
Fix ANY of the following:
- Element has children which are not allowed: li[tabindex]
- Element uses aria-busy="true" while showing a loader
#wp-admin-bar-top-secondary
Fix ANY of the following:
- Element has children which are not allowed: li[tabindex]
- Element uses aria-busy="true" while showing a loader
Rule: "aria-required-parent" (Certain ARIA roles must be contained by particular parents)
Help: https://dequeuniversity.com/rules/axe/4.7/aria-required-parent?application=axe-puppeteer
Affected Nodes:
#wp-admin-bar-wp-logo > .ab-item[role="menuitem"]
Fix ANY of the following:
- Required ARIA parents role not present: menu, menubar, group
:root
Fix ANY of the following:
- Required ARIA parents role not present: menu, menubar, group
#wp-admin-bar-comments > .ab-item[role="menuitem"]
Fix ANY of the following:
- Required ARIA parents role not present: menu, menubar, group
#wp-admin-bar-new-content > .ab-item[role="menuitem"]
Fix ANY of the following:
- Required ARIA parents role not present: menu, menubar, group
#wp-admin-bar-my-account > .ab-item[role="menuitem"]
Fix ANY of the following:
- Required ARIA parents role not present: menu, menubar, group
Rule: "empty-heading" (Headings should not be empty)
Help: https://dequeuniversity.com/rules/axe/4.7/empty-heading?application=axe-puppeteer
Affected Nodes:
.editor-document-bar__title > h1
Fix ANY of the following:
- Element does not have text that is visible to screen readers
- aria-label attribute does not exist or is empty
- aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty
- Element has no title attribute
at toPassAxeTests (/home/runner/work/amp-wp/amp-wp/tests/e2e/config/bootstrap.js:196:21)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Object.<anonymous> (/home/runner/work/amp-wp/amp-wp/tests/e2e/config/bootstrap.js:308:2)
|
E2E test: JS (1, 2)
Process completed with exit code 1.
|
Upload plugin ZIPs to Google Cloud Storage
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: google-github-actions/setup-gcloud@20c93dacc1d70ddbce76c63ab32c35595345bdd1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
E2E test: JS (2, 2)
Using Chromium from /home/runner/.cache/puppeteer/chrome/linux-122.0.6261.111/chrome-linux64/chrome
|
E2E test: JS (1, 2)
Using Chromium from /home/runner/.cache/puppeteer/chrome/linux-122.0.6261.111/chrome-linux64/chrome
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
amp-develop-f819f2c8-dev
Expired
|
5.9 MB |
|
amp-develop-f819f2c8-prod
Expired
|
2.5 MB |
|
e2e-failure-artifacts
Expired
|
196 KB |
|