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 17:19:13 +07:00
committed by GitHub
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: 'AJ Appleseed John' }).nth(1).click()
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> {