A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
web: use fallback testId for `locationFormSubmitButton`
Abdullah Atta68196b2d9944
diff --git a/apps/web/__e2e__/models/checkout.model.ts b/apps/web/__e2e__/models/checkout.model.tsindex 647ee90c3..7545c493f 100644--- a/apps/web/__e2e__/models/checkout.model.ts+++ b/apps/web/__e2e__/models/checkout.model.ts@@ -132,11 +132,14 @@ class PricingModel {.locator(getPaddleTestId("postcodeInput")).fill(pinCode.toString());- await paddle- .locator(- getPaddleTestId("combinedAuthenticationLocationFormSubmitButton")- )- .click();+ let locationFormSubmitButton = paddle.locator(+ getPaddleTestId("combinedAuthenticationLocationFormSubmitButton")+ );+ if (!(await locationFormSubmitButton.isVisible()))+ locationFormSubmitButton = paddle.locator(+ getPaddleTestId("locationFormSubmitButton")+ );+ await locationFormSubmitButton.click();await paddle.locator(getPaddleTestId("inlineComplianceBarContainer"))