diff --git a/.eslintrc.json b/.eslintrc.json index 9aab1ab8..241b5e55 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -218,9 +218,7 @@ ], "@typescript-eslint/no-namespace": "off", "@typescript-eslint/no-non-null-assertion": "off", - "@typescript-eslint/no-shadow": [ - "warn" - ], + "@typescript-eslint/no-shadow": "warn", "@typescript-eslint/no-this-alias": [ "warn", { diff --git a/.vscode/settings.json b/.vscode/settings.json index c9d34826..83ca6ab4 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -98,7 +98,6 @@ }, "files.exclude": { "**/debug.log": true, - "**/node_modules": true, "test-results/": true, ".nyc_output": true }, diff --git a/e2e/specs/bpstudio.spec.ts b/e2e/specs/bpstudio.spec.ts index a3080745..1999a185 100644 --- a/e2e/specs/bpstudio.spec.ts +++ b/e2e/specs/bpstudio.spec.ts @@ -11,14 +11,15 @@ test("Basic UI", async ({ page }) => { await expect(page).toHaveTitle(/Box Pleating Studio/); const menu = page.getByRole("menubar"); await expect(menu).toBeInViewport(); - await expect(menu.getByRole("menu").first()).not.toBeDisabled(); + await expect(menu.getByRole("menuitem").first()).not.toBeDisabled(); await expect(page.getByRole("toolbar")).toBeInViewport(); - await expect(page.getByRole("form")).toBeAttached(); + await expect(page.getByRole("complementary")).toBeAttached(); //