mirror of
https://github.com/jcreek/AutomatedAssessmentFeedbackAgent.git
synced 2026-07-13 02:53:49 +00:00
test(*): Add POM to BDD tests
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import type { Page } from '@playwright/test';
|
||||
|
||||
export class HomePage {
|
||||
readonly page: Page;
|
||||
constructor(page: Page) {
|
||||
this.page = page;
|
||||
}
|
||||
|
||||
async navigateTo() {
|
||||
await this.page.goto('http://localhost:5173/');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user