File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33export 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
4543export const getCodeEditorInput = ( ) =>
4644 getEditorShadow ( ) . find ( "[contenteditable]" ) ;
@@ -76,17 +74,6 @@ export const getSettingsPanel = () => getEditorShadow().find(".settings-panel");
7674export 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
9279export const getResults = ( ) => cy . get ( "#results" ) ;
Original file line number Diff line number Diff line change @@ -27,4 +27,3 @@ export const createDefaultPythonProject = async (locale = i18n.language) => {
2727 } ) ,
2828 } ;
2929} ;
30-
You can’t perform that action at this time.
0 commit comments