This repository has been archived on 2025-04-22. You can view files and clone it, but cannot push or open issues or pull requests.
playwright-demo/tests/mgj/fixture/customerFixture.js
rsgltzyd db0603dcfd
Some checks failed
Playwright Tests / test (push) Has been cancelled
init
2024-11-07 22:00:35 +08:00

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 ({ mgjPage }, use) => {
const customerPage = new CustomerPage(mgjPage);
await use(customerPage);
},
});