Tag e2e tests with @to-be-removed
This commit is contained in:
parent
f6becfaaa6
commit
8eb8fe384f
|
@ -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/ );
|
||||||
} );
|
} );
|
||||||
} );
|
}
|
||||||
|
);
|
||||||
|
|
Loading…
Reference in New Issue