Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ jobs:
- {name: 'PHP Default', version: null}
core:
- {name: 'WP stable', version: 'latest'}
- {name: 'WP minimum', version: 'WordPress/WordPress#6.5'}
- {name: 'WP minimum', version: 'WordPress/WordPress#6.6'}
- {name: 'WP trunk', version: 'WordPress/WordPress#master'}
include:
- php: {name: 'PHP 7.4', version: '7.4'}
core: {name: 'WP minimum', version: 'WordPress/WordPress#6.5'}
core: {name: 'WP minimum', version: 'WordPress/WordPress#6.6'}
- php: {name: 'PHP 8.1', version: '8.1'}
core: {name: 'WP stable', version: 'latest'}
steps:
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
if: failure()
with:
name: cypress-artifact
name: cypress-artifact-${{matrix.php.name}}-${{matrix.core.name}}
retention-days: 2
path: |
${{ github.workspace }}/tests/cypress/screenshots/
Expand Down
2 changes: 1 addition & 1 deletion distributor.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Update URI: https://distributorplugin.com
* Description: Makes it easy to distribute and reuse content across your websites, whether inside of a multisite or across the web.
* Version: 2.1.0
* Requires at least: 6.5
* Requires at least: 6.6
* Requires PHP: 7.4
* Author: 10up Inc.
* Author URI: https://distributorplugin.com
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ There are two connection types: `internal` and `external`.
== Upgrade Notice ==

= 2.0.5 =
**Distributor now requires WordPress 6.4 or later.**
**Distributor now requires WordPress 6.6 or later.**

= 2.0.0 =
**Distributor now requires PHP 7.4 or later and WordPress 5.7 or later.**
9 changes: 7 additions & 2 deletions tests/cypress/e2e/images.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,13 @@ describe( '[Block Editor] Image distribution tests', () => {
.find( `#${ id } button.components-button` )
.contains( 'Media Library' )
.click();
cy.get( '.attachments-browser .attachment' ).eq( 1 ).click();
cy.get( '.media-button-select' ).click();
cy.get( '[id^=__wp-uploader-id-]:visible' )
.find( '.attachments-browser .attachment' )
.eq( 1 )
.click();
cy.get( '[id^=__wp-uploader-id-]:visible' )
.find( '.media-button-select' )
.click();
cy.getBlockEditor().find( `#${ id } img` ).should( 'be.visible' );
} );
};
Expand Down
Loading