1c/Ox
1
0
mirror of https://github.com/LazarenkoA/Ox.git synced 2025-11-23 21:33:13 +02:00

фиксиси

This commit is contained in:
Артем
2025-11-07 19:52:31 +03:00
parent f490357397
commit 19077d6aa4
7 changed files with 37 additions and 24 deletions

View File

@@ -24,9 +24,10 @@ test('Тест свод отчетов', async ({ page }) => {
await doubleClickRandomRow(page);
await closeButton(page, 'ФормаЗаписатьИЗакрыть')
const count = await page.locator('id$="_CommandButtonOK"');
await page.waitForTimeout(100);
const count = await page.locator('[id$="_CommandButtonOK"]').count();
if(count > 0) {
await page.locator('id$="_CommandButtonOK"').click();
await page.locator('[id$="_CommandButtonOK"]').click();
await closeButton(page, 'ФормаЗаписатьИЗакрыть')
}