Fix formatting in coupons E2E test (https://github.com/woocommerce/woocommerce-admin/pull/7080)
This commit is contained in:
parent
1266e32c3f
commit
366ffb18b1
|
@ -1,23 +1,23 @@
|
|||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
import { Coupons } from '../../pages/Coupons';
|
||||
import { Login } from '../../pages/Login';
|
||||
|
||||
describe( 'Coupons page', () => {
|
||||
const couponsPage = new Coupons( page );
|
||||
const login = new Login( page );
|
||||
|
||||
beforeAll( async () => {
|
||||
await login.login();
|
||||
} );
|
||||
afterAll( async () => {
|
||||
await login.logout();
|
||||
} );
|
||||
|
||||
it( 'A user can view the coupons overview without it crashing', async () => {
|
||||
await couponsPage.navigate();
|
||||
await couponsPage.isDisplayed();
|
||||
} );
|
||||
} );
|
||||
|
||||
import { Coupons } from '../../pages/Coupons';
|
||||
import { Login } from '../../pages/Login';
|
||||
|
||||
describe( 'Coupons page', () => {
|
||||
const couponsPage = new Coupons( page );
|
||||
const login = new Login( page );
|
||||
|
||||
beforeAll( async () => {
|
||||
await login.login();
|
||||
} );
|
||||
|
||||
afterAll( async () => {
|
||||
await login.logout();
|
||||
} );
|
||||
|
||||
it( 'A user can view the coupons overview without it crashing', async () => {
|
||||
await couponsPage.navigate();
|
||||
await couponsPage.isDisplayed();
|
||||
} );
|
||||
} );
|
||||
|
|
Loading…
Reference in New Issue