diff --git a/expectations/Kaman Gunt_6.pdf b/expectations/Kaman Gunt_6.pdf index 426d98d..09852e8 100644 Binary files a/expectations/Kaman Gunt_6.pdf and b/expectations/Kaman Gunt_6.pdf differ diff --git a/expectations/Nazdreg Ug Urdgrub_9.pdf b/expectations/Nazdreg Ug Urdgrub_9.pdf index cb02ff5..cd4b5a4 100644 Binary files a/expectations/Nazdreg Ug Urdgrub_9.pdf and b/expectations/Nazdreg Ug Urdgrub_9.pdf differ diff --git a/expectations/Playwright_1.pdf b/expectations/Playwright_1.pdf index 39a5392..26cb742 100644 Binary files a/expectations/Playwright_1.pdf and b/expectations/Playwright_1.pdf differ diff --git a/tests/example.spec.ts b/tests/example.spec.ts index 539746f..94e84a0 100644 --- a/tests/example.spec.ts +++ b/tests/example.spec.ts @@ -46,10 +46,12 @@ test('harcos PDF', async ({page}) => { await page.getByTestId("nev").fill("Nazdreg Ug Urdgrub"); await page.getByTestId("faj").click(); await expect(page.getByTestId("faj")).toBeVisible(); - await expect(page.getByTestId("faj")).toHaveValue("f_2e_ember") await page.getByTestId("faj").selectOption("f_2e_felork"); await expect(page.getByTestId("faj")).toHaveValue("f_2e_felork") + await page.getByTestId("t_ero").fill("13") + await page.getByTestId("t_egs").fill("13") + await page.getByTestId("osztaly").selectOption("o_2e_harcos"); await page.getByTestId("harcos-specialization-1").selectOption("bot"); await page.getByText("Szintlépés!").click() @@ -59,6 +61,7 @@ test('harcos PDF', async ({page}) => { await page.getByTestId("harcos-specialization-3").selectOption("fejsze"); await page.getByText("Szintlépés!").click() await page.getByTestId("HP-4").fill("10") + await page.getByTestId("tulajdonsag-4").selectOption("t_egs") await page.getByText("Szintlépés!").click() await page.getByTestId("HP-5").fill("10") await page.getByTestId("harcos-specialization-5").selectOption("csatabard");