Skip to content

Commit 250a78c

Browse files
Clean up export removal lint issues
Co-authored-by: Chris Zetter <zetter-rpf@users.noreply.github.com>
1 parent b03178a commit 250a78c

2 files changed

Lines changed: 2 additions & 16 deletions

File tree

cypress/helpers/editor.js

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
export const getEditorShadow = () => cy.get("editor-wc").shadow();
44

5-
const getSidebarPanel = () =>
6-
getEditorShadow().findByTestId("sidebar__panel");
5+
const getSidebarPanel = () => getEditorShadow().findByTestId("sidebar__panel");
76

87
// Buttons / controls
98

@@ -39,8 +38,7 @@ export const getProgramInput = () =>
3938

4039
// Editor / output queries
4140

42-
const getCodeEditorContent = () =>
43-
getEditorShadow().find("div.cm-content");
41+
const getCodeEditorContent = () => getEditorShadow().find("div.cm-content");
4442

4543
export const getCodeEditorInput = () =>
4644
getEditorShadow().find("[contenteditable]");
@@ -76,17 +74,6 @@ export const getSettingsPanel = () => getEditorShadow().find(".settings-panel");
7674
export const getTextSizeSetting = () =>
7775
getEditorShadow().find(".settings-panel__text-size");
7876

79-
// HTML runner
80-
81-
const getHtmlRunnerIframe = () =>
82-
getEditorShadow().findByTestId("html-runner-iframe");
83-
84-
const getHtmlRunnerDocument = () =>
85-
getHtmlRunnerIframe().its("0.contentDocument").should("exist");
86-
87-
const getHtmlRunnerBody = () =>
88-
getHtmlRunnerDocument().its("body").should("not.be.null").then(cy.wrap);
89-
9077
// Test output
9178

9279
export const getResults = () => cy.get("#results");

src/utils/defaultProjects.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,3 @@ export const createDefaultPythonProject = async (locale = i18n.language) => {
2727
}),
2828
};
2929
};
30-

0 commit comments

Comments
 (0)