Skip to content

Fix deprecated _admin_bar_bump_cb; Fix failing PHP unit tests #10994

Fix deprecated _admin_bar_bump_cb; Fix failing PHP unit tests

Fix deprecated _admin_bar_bump_cb; Fix failing PHP unit tests #10994

Triggered via pull request October 3, 2023 19:06
Status Failure
Total duration 13m 17s
Artifacts 1

build-test-measure.yml

on: pull_request
Pre run
8s
Pre run
Matrix: build-zip
Lint: CSS
0s
Lint: CSS
Lint: JS
0s
Lint: JS
Normalize composer.json
10s
Normalize composer.json
Lint: PHP
1m 6s
Lint: PHP
Static Analysis: PHP
1m 26s
Static Analysis: PHP
Unit test: JS
0s
Unit test: JS
E2E test: JS
12m 41s
E2E test: JS
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

33 errors
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.
Unit test: PHP 7.4, WP latest
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.0, WP latest
Process completed with exit code 1.
Unit test: PHP 8.0, WP latest
Process completed with exit code 1.
Unit test: PHP 7.4, WP latest
Process completed with exit code 1.
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 (with coverage): PHP 8.0, WP latest
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