Skip to content

Commit

Permalink
NO-JIRA: Check for file not found was moved to SLCORE
Browse files Browse the repository at this point in the history
The IDE is only notified via a notification to the user.
  • Loading branch information
thahnen committed Dec 9, 2024
1 parent c9f2e30 commit 44719e5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 65 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,11 @@
import org.sonarlint.eclipse.its.shared.reddeer.conditions.CFamilyLoaded;
import org.sonarlint.eclipse.its.shared.reddeer.conditions.ConfirmConnectionCreationDialogOpened;
import org.sonarlint.eclipse.its.shared.reddeer.conditions.DialogMessageIsExpected;
import org.sonarlint.eclipse.its.shared.reddeer.conditions.FileNotFoundDialogOpened;
import org.sonarlint.eclipse.its.shared.reddeer.conditions.FixSuggestionAvailableDialogOpened;
import org.sonarlint.eclipse.its.shared.reddeer.conditions.FixSuggestionUnavailableDialogOpened;
import org.sonarlint.eclipse.its.shared.reddeer.conditions.ProjectBindingWizardIsOpened;
import org.sonarlint.eclipse.its.shared.reddeer.conditions.ProjectSelectionDialogOpened;
import org.sonarlint.eclipse.its.shared.reddeer.dialogs.ConfirmConnectionCreationDialog;
import org.sonarlint.eclipse.its.shared.reddeer.dialogs.FileNotFoundDialog;
import org.sonarlint.eclipse.its.shared.reddeer.dialogs.FixSuggestionAvailableDialog;
import org.sonarlint.eclipse.its.shared.reddeer.dialogs.FixSuggestionUnavailableDialog;
import org.sonarlint.eclipse.its.shared.reddeer.dialogs.ProjectSelectionDialog;
Expand Down Expand Up @@ -262,8 +260,10 @@ public void fixSuggestion_with_ConnectionSetup_fileNotFound() throws Interrupted
new WaitUntil(new ProjectSelectionDialogOpened());
new ProjectSelectionDialog().ok();

new WaitUntil(new FileNotFoundDialogOpened());
new FileNotFoundDialog().ok();
// The error message from SLCORE is not denoted by a specific title.
var shellOpt = shellByName("SonarQube");
assertThat(shellOpt).isNotEmpty();
shellOpt.get().close();
}

@Test
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 44719e5

Please sign in to comment.