Conversation
| # PHP unit tests (7.3, WordPress trunk) | ||
| - env: WP_VERSION=trunk DEV_LIB_ONLY=phpunit INSTALL_PWA_PLUGIN=1 | ||
| # PHP and JavaScript unit tests (7.3, WordPress trunk, with code coverage) | ||
| - env: WP_VERSION=latest DEV_LIB_ONLY=phpunit INSTALL_PWA_PLUGIN=1 RUN_PHPUNIT_COVERAGE=1 |
There was a problem hiding this comment.
@swissspidy Should this still be allowed to fail? Why was added initially?
2cd44cf to
673133c
Compare
|
|
842b0ce to
3955387
Compare
|
Should this not also remove: Line 71 in 1f842d3 |
|
Yes, nice catch. |
* Ignore block-editor & stories-editor E2E tests * Conform to semver updated method signatures * Fix failing block-editor tests * Disallow E2E tests to fail
|
I cherry-picked the changes here onto the 1.4 branch, but the E2E are failing for some reason: https://travis-ci.org/ampproject/amp-wp/jobs/635359942 Any ideas? |
…mp-shadow-dom-updated * 'develop' of github.com:ampproject/amp-wp: (233 commits) Ignore Story editor tests (ampproject#4043) Update dependency eslint-plugin-jest to v23.4.0 (ampproject#4056) Update dependency xwp/wp-dev-lib to v1.4.0 Update amp-video embed regex pattern to include other Vimeo URL formats (ampproject#4051) Update amp-instagram embed regex (ampproject#4053) Update dependency terser-webpack-plugin to v2.3.2 (ampproject#4047) Fix ability to update the status of a validation error Update wp-dev-lib package (ampproject#4029) Update dependency core-js to v3.6.2 (ampproject#4028) Update dependency @wordpress/element to v2.10.0 (ampproject#3986) Update dependency browserslist to v4.8.3 (ampproject#4021) Update dependency grunt-http to v2.3.3 (ampproject#4022) Update dependency postcss to v7.0.26 (ampproject#4017) Update dependency eslint-utils to v2 (ampproject#4012) Update dependency eslint-plugin-jest to v23.3.0 (ampproject#4016) Update dependency css-loader to v3.4.1 (ampproject#4023) Update dependency webpack to v4.41.5 (ampproject#4014) Update dependency core-js to v3.6.1 (ampproject#4011) Update dependency eslint to v6.8.0 (ampproject#4002) Swap PHP 5.4 for 5.6 to run external-http tests ...
|
The Gutenberg plugin failed to activate, which led to tests failing due to them being unable to find the case-sensitive words "Featured image" (see 1f842d3#diff-792685570ec094fec9f40f84e3af8d3bR25). Apparently WP CLI failed to install and activate Gutenberg due to clash in a function declaration ( On the The |
|
This is due to a breaking change in WordPress Core 5.3. While making the move to PHP 5.6 code, the signature for the upgrader base class WP-CLI 2.3.0 is compatible with older versions of WP (< 5.3) only, while WordPress Core 5.3+ requires WP-CLI 2.4.0+. This is unfortunate, but that's WordPress' way of backward compatibility I'm afraid... |
|
In case that wasn't clear, the solution is to use WP-CLI v2.4.0+ in the Docker container as well, as it seems to be using WP Core 5.3+. |
|
No, the other way around, install WP-CLI 2.4.0+ on the v1.4 branch if you're using WP Core 5.3+ there. 🤪 |
|
Moving this to a separate issue: #4174. |
* tag '1.4.3': (22 commits) Update readme and screenshots for Stories removal (#4259) Open story export instructions in a new window (#4258) Bump version to 1.4.3-RC1 Hide Stories options and add deprecation notice (#4219) Fix malformed conversion of relative action URLs for forms (#4250) Limit Stories experience to WP 5.3 & Gutenberg 7.1.0 (#4217) Prevent errors in admin bar filters from non-array arguments (#4207) Update @wordpress/e2e-test-utils dependency Revert update of mustache/mustache dependency Update composer.lock Update WP CLI to 2.4.0 For WordPress.tv embed, Use an oembed filter instead of block filter (#4164) Update readme to add FAQs section (#4159) Apply workaround to fix test__multiple_valid_image_files (#4034) Ignore Story editor tests (#4043) Update amp-video embed regex pattern to include other Vimeo URL formats (#4051) Update amp-instagram embed regex (#4053) Update wp-dev-lib package (#4029) Fix conversion of forms with relative action URLs (#4003) Improve release instructions (#3995) ...
* add/spa-amp-shadow-dom: (3410 commits) Improve copy in comment and error message Reuse constant Revert introduction of amp_document_output filter for now attachShadowDocAsStream expects a string type variable AppShell polyfill: Update to latest version - 2.4.1 Add a filter to allow altering AMP output from themes Ensure .site-content-contain element exists Amp-Wp-App-Shell - Improve flexibility for different types of caching AppShell polyfill: Update to latest version - 2.4.0 Fix eslint issues Fix build and unit tests by preserving uncompiled scripts Make use of new Amp\AmpWP\Document methods; add line breaks Restore missing live_list_offline_commenting to AMP_Service_Worker Fix phpcs linting issues Add missing changes to style sanitizer; remove duplicated autoloader entry Ignore Story editor tests (ampproject#4043) Update dependency eslint-plugin-jest to v23.4.0 (ampproject#4056) Update dependency xwp/wp-dev-lib to v1.4.0 Update amp-video embed regex pattern to include other Vimeo URL formats (ampproject#4051) Update amp-instagram embed regex (ampproject#4053) ... # Conflicts: # composer.json
* xwp/add/spa-amp-shadow-dom: (250 commits) Improve copy in comment and error message Reuse constant Revert introduction of amp_document_output filter for now attachShadowDocAsStream expects a string type variable AppShell polyfill: Update to latest version - 2.4.1 Add a filter to allow altering AMP output from themes Ensure .site-content-contain element exists Amp-Wp-App-Shell - Improve flexibility for different types of caching AppShell polyfill: Update to latest version - 2.4.0 Fix eslint issues Fix build and unit tests by preserving uncompiled scripts Make use of new Amp\AmpWP\Document methods; add line breaks Restore missing live_list_offline_commenting to AMP_Service_Worker Fix phpcs linting issues Add missing changes to style sanitizer; remove duplicated autoloader entry Ignore Story editor tests (ampproject#4043) Update dependency eslint-plugin-jest to v23.4.0 (ampproject#4056) Update dependency xwp/wp-dev-lib to v1.4.0 Update amp-video embed regex pattern to include other Vimeo URL formats (ampproject#4051) Update amp-instagram embed regex (ampproject#4053) ... # Conflicts: # Gruntfile.js # assets/js/amp-wp-app-shell.js # includes/amp-helper-functions.php
Summary
This PR ignores the Stories Editor E2E tests due to their flakiness.
Checklist