15 lines
354 B
JavaScript
15 lines
354 B
JavaScript
const { test: base, expect } = require('./base');
|
|
const { CustomerPage } = require('../pom/customerPage');
|
|
|
|
const test = base.extend({
|
|
/**
|
|
* @type {CustomerPage}
|
|
*/
|
|
touchCustomerPage: async ({ touchPage }, use) => {
|
|
const customerPage = new CustomerPage(touchPage);
|
|
await use(customerPage);
|
|
},
|
|
});
|
|
|
|
module.exports = { test, expect };
|