mirror of
https://github.com/hcengineering/platform.git
synced 2025-03-15 10:37:52 +00:00
Added UI waiting in the 406 QMS test (#7827)
Signed-off-by: Alexander Platov <alexander.platov@hardcoreeng.com>
This commit is contained in:
parent
78d69ed272
commit
cc5fc3aef1
@ -488,7 +488,8 @@ export class DocumentContentPage extends DocumentCommonPage {
|
|||||||
await this.page.getByRole('button', { name: 'AQ Admin Qara' }).click()
|
await this.page.getByRole('button', { name: 'AQ Admin Qara' }).click()
|
||||||
await this.page.getByRole('button', { name: 'AJ Appleseed John' }).nth(1).click()
|
await this.page.getByRole('button', { name: 'AJ Appleseed John' }).nth(1).click()
|
||||||
await this.page.keyboard.press('Escape')
|
await this.page.keyboard.press('Escape')
|
||||||
await this.page.getByRole('button', { name: 'Create' }).click()
|
await expect(this.page.locator('.selectPopup')).not.toBeAttached()
|
||||||
|
await this.page.getByRole('button', { name: 'Create' }).click({ timeout: 3000 })
|
||||||
}
|
}
|
||||||
|
|
||||||
async checkIfUserCanCreateDocument (spaceName: string): Promise<void> {
|
async checkIfUserCanCreateDocument (spaceName: string): Promise<void> {
|
||||||
|
Loading…
Reference in New Issue
Block a user