13 lines
300 B
JavaScript
13 lines
300 B
JavaScript
import { test as base } from './base';
|
|
import { CustomerPage } from '../pom/customerPage';
|
|
|
|
export const test = base.extend({
|
|
/**
|
|
* @type {CustomerPage}
|
|
*/
|
|
customerPage: async ({ zhbPage }, use) => {
|
|
const customerPage = new CustomerPage(zhbPage);
|
|
await use(customerPage);
|
|
},
|
|
});
|