Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up org.eclipse.che.selenium.debugger package #6482

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -119,33 +119,6 @@ public void stopDebug() {
editor.closeAllTabs();
}

@Test
public void shouldDebugJreClass() {
// when
editor.setInactiveBreakpoint(19);
menu.runCommandByXpath(
TestMenuCommandsConstants.Run.RUN_MENU,
TestMenuCommandsConstants.Run.DEBUG,
debugConfig.getXpathToІRunDebugCommand(PROJECT));

notifications.waitExpectedMessageOnProgressPanelAndClosed("Remote debugger connected");
editor.waitAcitveBreakpoint(19);
debugPanel.clickOnButton(DebugPanel.DebuggerButtonsPanel.STEP_INTO);

// then
editor.waitActiveTabFileName("Logger"); // there should be class "Logger" opened
debugPanel.waitDebugHighlightedText(
" "); // we can't rely on concrete code of external library which can be changed in future
debugPanel.waitTextInVariablesPanel(
"=\"Info from java logger\""); // there should be at least parameter with value "Info from java logger"

// when
debugPanel.clickOnButton(DebugPanel.DebuggerButtonsPanel.RESUME_BTN_ID);

// then
editor.waitActiveTabFileName("SimpleLogger");
}

@Test(priority = 1)
public void shouldDebugMavenArtifactClassWithSources() {
// when
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,18 +129,6 @@ public void shouldDebugAnonymousClass() {
debugPanel.waitTextInVariablesPanel("anonym=\"App anonym\"");
}

@Test(priority = 1, enabled = false)
public void shouldDebugMethodLocalInnerClass() {
// when
editor.setCursorToLine(53);
editor.setBreakpoint(53);
debugPanel.clickOnButton(DebugPanel.DebuggerButtonsPanel.RESUME_BTN_ID);

// then
editor.waitAcitveBreakpoint(53);
debugPanel.waitTextInVariablesPanel("methodValue=\"App method local inner test\"");
}

@Test(priority = 2)
public void shouldDebugInnerClass() {
// when
Expand Down
26 changes: 3 additions & 23 deletions selenium/che-selenium-test/src/test/resources/suites/CheSuite.xml
Original file line number Diff line number Diff line change
Expand Up @@ -99,29 +99,9 @@
<exclude name="shouldDebugCppProject"/>
</methods>
</class>
<class name="org.eclipse.che.selenium.debugger.DebugExternalClassTest">
<methods>
<!-- https://github.com/eclipse/che/issues/4636 -->
<exclude name="shouldDebugJreClass"/>
</methods>
</class>
<class name="org.eclipse.che.selenium.debugger.InnerClassAndLambdaDebuggingTest">
<methods>
<!-- https://github.com/eclipse/che/issues/4211 -->
<exclude name="shouldDebugInnerClass"/>
<exclude name="shouldDebugMethodLocalInnerClass"/>
<exclude name="shouldDebugStaticInnerClass"/>
</methods>
</class>
<class name="org.eclipse.che.selenium.debugger.MultimoduleProjectDebuggingTest">
<methods>
<!-- https://github.com/eclipse/che/issues/4268 -->
<exclude name="shouldDebugStaticMethod"/>

<!-- https://github.com/eclipse/che/issues/4286 -->
<exclude name="shouldGoIntoConstructor"/>
</methods>
</class>
<class name="org.eclipse.che.selenium.debugger.DebugExternalClassTest"/>
<class name="org.eclipse.che.selenium.debugger.InnerClassAndLambdaDebuggingTest"/>
<class name="org.eclipse.che.selenium.debugger.MultimoduleProjectDebuggingTest"/>
<class name="org.eclipse.che.selenium.debugger.NodeJsDebugTest">
<methods>
<!-- https://github.com/eclipse/che/issues/4720 -->
Expand Down