mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-23 19:49:56 +01:00
web: skip education plan in tests
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user