Files
adyen-web/packages/e2e-playwright/pages/ancv/ancv.page.ts
Guilherme Ribeiro 4e6f174da7 Updating Playwright to 1.39.0 (#2448)
* dep: updating version

* fix: ancv fix

* fix typo
2023-11-23 14:06:31 +01:00

21 lines
447 B
TypeScript

import { Page } from '@playwright/test';
import { ANCV } from '../../models/ancv';
class AncvPage {
public readonly page: Page;
public readonly ancv: ANCV;
constructor(page: Page) {
this.page = page;
this.ancv = new ANCV(page);
}
async goto(url?: string) {
const gotoUrl = url ? url : 'http://localhost:3024/ancv?countryCode=NL';
await this.page.goto(gotoUrl);
}
}
export { AncvPage };