Skip to content

Fix deprecated _admin_bar_bump_cb; Fix failing PHP unit tests #10995

Fix deprecated _admin_bar_bump_cb; Fix failing PHP unit tests

Fix deprecated _admin_bar_bump_cb; Fix failing PHP unit tests #10995

Triggered via pull request October 4, 2023 12:38
Status Failure
Total duration 12m 19s
Artifacts 1

build-test-measure.yml

on: pull_request
Pre run
9s
Pre run
Matrix: build-zip
Matrix: feature-test-php
Matrix: unit-test-php
Upload plugin ZIPs to Google Cloud Storage
0s
Upload plugin ZIPs to Google Cloud Storage
Comment on PR with links to plugin ZIPs
0s
Comment on PR with links to plugin ZIPs
Fit to window
Zoom out
Zoom in

Annotations

23 errors
Unit test: PHP 8.0, WP trunk: tests/php/test-class-amp-theme-support.php#L1046
Failed asserting that 10 is false.
Unit test: PHP 8.0, WP trunk
Failed asserting that two arrays are equal.
Unit test: PHP 8.0, WP trunk: tests/php/src/DevTools/LikelyCulpritDetectorTest.php#L245
Failed asserting that two strings are equal.
Unit test: PHP 8.0, WP trunk: tests/php/src/DevTools/LikelyCulpritDetectorTest.php#L245
Failed asserting that two strings are equal.
Unit test: PHP 8.0, WP trunk: tests/php/src/DevTools/LikelyCulpritDetectorTest.php#L265
Failed asserting that two strings are equal.
Unit test: PHP 8.0, WP trunk: tests/php/src/DevTools/LikelyCulpritDetectorTest.php#L265
Failed asserting that two strings are equal.
Unit test: PHP 8.0, WP trunk
Process completed with exit code 1.
Unit test: PHP 8.1, WP trunk: tests/php/test-class-amp-theme-support.php#L1046
Failed asserting that 10 is false.
Unit test: PHP 8.1, WP trunk
Failed asserting that two arrays are equal.
Unit test: PHP 8.1, WP trunk: tests/php/src/DevTools/LikelyCulpritDetectorTest.php#L245
Failed asserting that two strings are equal.
Unit test: PHP 8.1, WP trunk: tests/php/src/DevTools/LikelyCulpritDetectorTest.php#L245
Failed asserting that two strings are equal.
Unit test: PHP 8.1, WP trunk: tests/php/src/DevTools/LikelyCulpritDetectorTest.php#L265
Failed asserting that two strings are equal.
Unit test: PHP 8.1, WP trunk: tests/php/src/DevTools/LikelyCulpritDetectorTest.php#L265
Failed asserting that two strings are equal.
Unit test: PHP 8.1, WP trunk
Process completed with exit code 1.
Unit test: PHP 8.2, WP trunk: tests/php/test-class-amp-theme-support.php#L1046
Failed asserting that 10 is false.
Unit test: PHP 8.2, WP trunk
Failed asserting that two arrays are equal.
Unit test: PHP 8.2, WP trunk: tests/php/src/DevTools/LikelyCulpritDetectorTest.php#L245
Failed asserting that two strings are equal.
Unit test: PHP 8.2, WP trunk: tests/php/src/DevTools/LikelyCulpritDetectorTest.php#L245
Failed asserting that two strings are equal.
Unit test: PHP 8.2, WP trunk: tests/php/src/DevTools/LikelyCulpritDetectorTest.php#L265
Failed asserting that two strings are equal.
Unit test: PHP 8.2, WP trunk: tests/php/src/DevTools/LikelyCulpritDetectorTest.php#L265
Failed asserting that two strings are equal.
Unit test: PHP 8.2, WP trunk
Process completed with exit code 1.
E2E test: JS: tests/e2e/specs/admin/anchor-linking.js#L211
TimeoutError: Navigation timeout of 60000 ms exceeded at /home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/LifecycleWatcher.ts:211:18 at FrameManager.waitForFrameNavigation (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/FrameManager.ts:239:19) at Frame.waitForNavigation (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/FrameManager.ts:795:12) at Page.waitForNavigation (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/Page.ts:1833:12) at async Promise.all (index 1) at loginUser (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/e2e-test-utils/build/@wordpress/e2e-test-utils/src/login-user.js:32:2) at Object.<anonymous> (/home/runner/work/amp-wp/amp-wp/tests/e2e/specs/admin/anchor-linking.js:18:3)
E2E test: JS
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
amp-e2e-artifacts Expired
67.4 KB