Skip to content

Commit

Permalink
Fix tests for WP 6.5 RC2 (#2597)
Browse files Browse the repository at this point in the history
* Fix tests for WP 6.5 RC2

* not so fast
  • Loading branch information
olafleur-godaddy authored Mar 18, 2024
1 parent daf468d commit 07b70dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .dev/tests/cypress/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ export function addCustomBlockClass( classes, blockID = '' ) {
export function openCoBlocksLabsModal() {
// Open "more" menu.
cy.get( '.edit-post-more-menu button, .interface-more-menu-dropdown button' ).click();
cy.get( '.components-menu-group' ).contains( 'CoBlocks Labs' ).click();
cy.get( '.components-menu-group' ).contains( 'CoBlocks Labs' ).click( { force: true } );

cy.get( '.components-modal__frame' ).contains( 'CoBlocks Labs' ).should( 'exist' );
}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-wp-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
outputs:
# Should be current latest WP Next release on `wordpress.org`. eg: `https://wordpress.org/wordpress-6.5-beta2.zip`
wp_next: "https://wordpress.org/wordpress-6.5-RC1.zip"
wp_next: "https://wordpress.org/wordpress-6.5-RC2.zip"
steps:
- run: echo "Setting WP Next Constant"

Expand All @@ -35,7 +35,7 @@ jobs:
uses: ./.github/workflows/test-e2e-cypress.yml
with:
wpVersion: ${{ needs.set_constant.outputs.wp_next }}
installPath: "tests-wordpress-6.5-RC1"
installPath: "tests-wordpress-6.5-RC2"
theme: "https://downloads.wordpress.org/theme/go.zip"
concurrency:
group: chrome-wp-next
Expand Down

0 comments on commit 07b70dc

Please sign in to comment.