mirror of
https://github.com/baserow/baserow.git
synced 2026-12-06 01:08:32 +00:00
18 lines
347 B
TypeScript
18 lines
347 B
TypeScript
import {Page} from "@playwright/test";
|
|
|
|
export class TemplateModal {
|
|
page: Page
|
|
|
|
constructor(page: Page){
|
|
this.page = page
|
|
}
|
|
|
|
async waitUntilLoaded(){
|
|
await this.page.locator('.templates__body .layout').waitFor()
|
|
}
|
|
|
|
loadingSpinner(){
|
|
return this.page.locator('.modal__box .header__loading')
|
|
}
|
|
}
|