Craft Docs, First Test - Tittle test

This commit is contained in:
Lukáš Kaňka
2023-10-10 16:07:49 +02:00
parent ef91f1b967
commit dce5fc0b23
4 changed files with 26 additions and 20 deletions

View File

@ -0,0 +1,15 @@
import { Locator, Page, expect
} from "@playwright/test";
export class HomePage{
page: Page;
constructor(page: Page) {
this.page = page;
}
async gotoHome() {
await this.page.goto('https://www.craft.me/s/Gx2Rhh07iMKxyh');
return this;
}
}