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

svod.spec.js

This commit is contained in:
Артем
2025-11-06 23:27:02 +03:00
committed by GitHub
parent 3c551c14bf
commit 5b5380a0ff

View File

@@ -5,10 +5,10 @@ test('Тест свод отчетов', async ({ page }) => {
await page.goto('https://localhost/sko/ru/'); await page.goto('https://localhost/sko/ru/');
await page.locator('#userName').click(); await page.locator('#userName').click();
await page.locator('#userName').fill('АдминистраторП'); await page.locator('#userName').fill('Администратор');
await page.locator('.authPassInput').first().click(); await page.locator('.authPassInput').first().click();
await page.locator('#userPassword').click(); await page.locator('#userPassword').click();
await page.locator('#userPassword').fill('Ho0de3vi'); await page.locator('#userPassword').fill('Hi');
await page.getByRole('button', { name: 'Войти' }).click(); await page.getByRole('button', { name: 'Войти' }).click();
await page.getByText('Ф. 0503737').nth(2).dblclick(); await page.getByText('Ф. 0503737').nth(2).dblclick();