12 lines
233 B
TypeScript
12 lines
233 B
TypeScript
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()
|
|
}
|
|
}
|