Tag e2e tests with @to-be-removed

This commit is contained in:
Adrian Moldovan 2024-09-12 13:45:44 +03:00
parent f6becfaaa6
commit 8eb8fe384f
1 changed files with 18 additions and 14 deletions

View File

@ -1,6 +1,9 @@
const { test, expect } = require( '@playwright/test' ); const { test, expect } = require( '@playwright/test' );
test.describe( 'Store owner can login and make sure WooCommerce is activated', () => { test.describe(
'Store owner can login and make sure WooCommerce is activated',
{ tag: [ '@to-be-removed' ] },
() => {
test.use( { storageState: process.env.ADMINSTATE } ); test.use( { storageState: process.env.ADMINSTATE } );
test( 'can make sure WooCommerce is activated.', async ( { page } ) => { test( 'can make sure WooCommerce is activated.', async ( { page } ) => {
@ -14,4 +17,5 @@ test.describe( 'Store owner can login and make sure WooCommerce is activated', (
page.locator( "//tr[@data-slug='woocommerce'][1]" ) page.locator( "//tr[@data-slug='woocommerce'][1]" )
).toHaveClass( /active/ ); ).toHaveClass( /active/ );
} ); } );
} ); }
);