Skip to content

Commit

Permalink
remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Kusumgar committed Nov 6, 2024
1 parent 9f24079 commit 71e7585
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
6 changes: 0 additions & 6 deletions app/static/tests/e2e/code.etest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,7 @@ const expectMonacoHover = async (type: "glyph" | "content", line: number, messag
const hoverElem = type === "content" ?
`.view-overlays div:nth-child(${line}) >> div` :
".glyph-margin-widgets .fa-solid";
// const hoverElem = `.${isGlyph ? "margin-" : ""}view-overlays div:nth-child(${line}) >> div`;
// const tooltipElem = `${isGlyph ? ".overlayWidgets" : ".overflowingContentWidgets"} .hover-contents div p`;
await page.hover(hoverElem, { force: true });
// const tooltip = await page.locator(tooltipElem);
// await tooltip.waitFor({ timeout: 2000 });
// await expect(tooltip).toHaveText(message);
// await expect(tooltip).toHaveCSS("visibility", "visible");
await expect(await page.getByText(message)).toBeVisible()
};

Expand Down
5 changes: 0 additions & 5 deletions app/static/tests/e2e/options.etest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -446,11 +446,6 @@ test.describe("Options Tab tests", () => {
"Set 10 (or any Set [number] combination) is reserved for default set names. " +
"Please choose another set name or name this set back to its original name of 'Set 1'"
)).toBeVisible();
// await expect((await page.innerText(":nth-match(.tooltip-inner, 2)")).trim()).toBe(
// "Set 10 (or any Set [number] combination) is reserved for default set names. " +
// "Please choose another set name or name this set back to its original name of 'Set 1'"
// );
// await expect(await page.isVisible(".param-name-input")).toBe(true);
});

const fillInAdvancedInputs = async (type: string, advancedSetting: any, index: number) => {
Expand Down

0 comments on commit 71e7585

Please sign in to comment.