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/h5Fixture.js
2024-10-21 18:03:30 +08:00

15 lines
340 B
JavaScript

const { test: base, expect } = require('./base');
const { H5LoginPage } = require('../pom/hlk/h5LoginPage');
const test = base.extend({
/**
* @type {H5LoginPage}
*/
h5LoginPage: async ({ h5Page }, use) => {
const h5LoginPage = new H5LoginPage(h5Page);
await use(h5LoginPage);
},
});
module.exports = { test, expect };