Added UI waiting in the 406 QMS test (#7827)

Signed-off-by: Alexander Platov <alexander.platov@hardcoreeng.com>
This commit is contained in:
Alexander Platov 2025-01-30 13:19:13 +03:00 committed by GitHub
parent 78d69ed272
commit cc5fc3aef1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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> {