CYS: not run font picker tests on WordPress 6.4 (#47182)

* CYS: not run font picker tests on WordPress 6.4

* improve how the test is skipped

* Add changefile(s) from automation for the following project(s): woocommerce

---------

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Luigi Teschio 2024-05-10 04:26:56 +02:00 committed by GitHub
parent 66c57693c1
commit 8954785c96
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,4 @@
Significance: patch
Type: fix
Comment: CYS: not run font picker E2E tests on WordPress 6.4

View File

@ -41,6 +41,11 @@ const slugFontMap = {
}; };
test.describe( 'Assembler -> Font Picker', () => { test.describe( 'Assembler -> Font Picker', () => {
test.skip(
process.env.WP_ENV_CORE && process.env.WP_ENV_CORE.includes( '6.4' ),
'Skipping, font picker not available in WP 6.4'
);
test.use( { storageState: process.env.ADMINSTATE } ); test.use( { storageState: process.env.ADMINSTATE } );
test.beforeAll( async ( { baseURL } ) => { test.beforeAll( async ( { baseURL } ) => {