mirror of
https://github.com/heyman/heynote.git
synced 2025-06-27 21:12:00 +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() {
|
||||
await this.page.goto("/")
|
||||
await expect(this.page).toHaveTitle(/Heynote/)
|
||||
await expect(this.page.locator(".cm-editor")).toBeVisible()
|
||||
expect(this.getErrors()).toStrictEqual([])
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user