From 3952cc3991f50b85bbd97e298f9e787eee3924c0 Mon Sep 17 00:00:00 2001 From: raphaelcoeffic Date: Tue, 20 Aug 2024 20:00:50 +0200 Subject: [PATCH] fix: e2e tests --- e2e/pages/firmware-wizard/firmware-selection.spec.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/e2e/pages/firmware-wizard/firmware-selection.spec.ts b/e2e/pages/firmware-wizard/firmware-selection.spec.ts index 07ae3b4..6f54b39 100644 --- a/e2e/pages/firmware-wizard/firmware-selection.spec.ts +++ b/e2e/pages/firmware-wizard/firmware-selection.spec.ts @@ -160,7 +160,9 @@ test("Copy URL button copies a link to the selected firmware", async ({ test.skip(browserName !== "chromium"); await (await queries.findByLabelText("Firmware version")).press("Enter"); await page - .locator(".ant-select-item-option[title='EdgeTX \"Santa\" v2.6.0']") + .locator( + ".ant-select-item-option[title='EdgeTX \"Flying Dutchman\" v2.8.5']" + ) .click(); const radioSelector = await queries.findByLabelText("Radio model"); @@ -181,9 +183,9 @@ test("Copy URL button copies a link to the selected firmware", async ({ if (isElectron) { expect(copiedUrl).toBe( - "buddy.edgetx.org/#/flash?version=v2.6.0&target=x10" + "buddy.edgetx.org/#/flash?version=v2.8.5&target=x10" ); } else { - expect(copiedUrl).toBe("localhost:8081/#/flash?version=v2.6.0&target=x10"); + expect(copiedUrl).toBe("localhost:8081/#/flash?version=v2.8.5&target=x10"); } });