Refactor E2E tests with page objects (#1)

Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
2026-07-26 13:43:31 +09:00
parent 766d13dfcc
commit 8679a850e5
8 changed files with 238 additions and 95 deletions
+11
View File
@@ -0,0 +1,11 @@
import { Base } from './Base'
export class ListsPage extends Base {
async goTo() {
await this.navigateTo('/i/lists')
}
async openList(name: RegExp | string) {
await this.page.getByRole('link', { name }).click()
}
}