mirror of
https://github.com/heyman/heynote.git
synced 2025-06-28 21:41:40 +02:00
Make sure editor element is visible at the start of tests
This commit is contained in:
parent
ed3a35af2c
commit
cf63ce920d
@ -20,6 +20,7 @@ export class HeynotePage {
|
|||||||
async goto() {
|
async goto() {
|
||||||
await this.page.goto("/")
|
await this.page.goto("/")
|
||||||
await expect(this.page).toHaveTitle(/Heynote/)
|
await expect(this.page).toHaveTitle(/Heynote/)
|
||||||
|
await expect(this.page.locator(".cm-editor")).toBeVisible()
|
||||||
expect(this.getErrors()).toStrictEqual([])
|
expect(this.getErrors()).toStrictEqual([])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user