This commit is contained in:
Lukáš Kaňka
2023-08-15 19:35:41 +02:00
parent a117466599
commit ee1ae6cd35
7 changed files with 611 additions and 0 deletions

View File

@ -0,0 +1,2 @@
import { test } from "@playwright/test";
test

10
kiwi/tests/kiwi.spec.ts Normal file
View File

@ -0,0 +1,10 @@
import { test, expect } from '@playwright/test';
test('potvrzeni cookie', async ({ page }) => {
await page.goto('https://www.kiwi.com/cz');
await page.locator('[data-test="CookiesPopup-Accept"]').click();
await page.locator("//*[@id='HomePage']/div[2]/div[2]/div[2]/div[1]/div[2]/div[2]/a").click();
});