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: increase app lock test timeouts
Abdullah Atta0a607bce182f
diff --git a/apps/web/__e2e__/models/settings-view.model.ts b/apps/web/__e2e__/models/settings-view.model.tsindex 86567e5da..3ba69b6fd 100644--- a/apps/web/__e2e__/models/settings-view.model.ts+++ b/apps/web/__e2e__/models/settings-view.model.ts@@ -162,9 +162,9 @@ export class SettingsViewModel {await appLockSwitch.click();await fillPasswordDialog(this.page, userPassword);- await this.page.waitForTimeout(100);+ await this.page.waitForTimeout(500);await fillConfirmPasswordDialog(this.page, appLockPassword);- await this.page.waitForTimeout(100);+ await this.page.waitForTimeout(500);}async disableAppLock(appLockPassword: string) {diff --git a/apps/web/__e2e__/models/utils.ts b/apps/web/__e2e__/models/utils.tsindex aa24381e3..1906c4afa 100644--- a/apps/web/__e2e__/models/utils.ts+++ b/apps/web/__e2e__/models/utils.ts@@ -134,7 +134,6 @@ export async function fillConfirmPasswordDialog(page: Page, password: string) {export async function confirmDialog(dialog: Locator) {const dialogConfirm = dialog.locator(getTestId("dialog-yes"));await dialogConfirm.click();- // await dialogConfirm.waitFor({ state: "detached" });}export async function denyDialog(page: Page) {