Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: skip education plan in tests

Abdullah Attad6608325b4d6
diff --git a/apps/web/__e2e__/models/checkout.model.ts b/apps/web/__e2e__/models/checkout.model.ts
index 95e9d6abd..71b3be1ed 100644
--- a/apps/web/__e2e__/models/checkout.model.ts
+++ b/apps/web/__e2e__/models/checkout.model.ts
@@ -46,7 +46,10 @@ export class CheckoutModel {
for await (const item of iterateList(
this.page.locator(getTestId("checkout-plan"))
)) {
- plans.push(new Plan(item));
+ const plan = new Plan(item);
+ const planTitle = await plan.getTitle();
+ if (planTitle?.startsWith("Education")) continue;
+ plans.push(plan);
}
return plans;
}