Skip to content

Commit d54a736

Browse files
committed
Refactor testTriggerScanAndLoadResults to include selection actions for Project, Branch, and Scan
1 parent d634ec3 commit d54a736

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/test/java/com/checkmarx/intellij/ui/TestTriggerScan.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@ public void testTriggerScanProjectWithDifferentOrganizationsDontMatch() {
8484
@Video
8585
public void testTriggerScanAndLoadResults() {
8686
if (triggerScanNotAllowed()) return;
87-
clearSelection();
87+
testSelectionAction(findSelection("Project"), "Project", "DiffOrg/WebGoat");
88+
testSelectionAction(findSelection("Branch"), "Branch", Environment.BRANCH_NAME);
89+
testSelectionAction(findSelection("Scan"), "Scan", Environment.SCAN_ID_NOT_MATCH_PROJECT);
8890
waitForScanIdSelection();
8991
findRunScanButtonAndClick();
9092
JTreeFixture treeBeforeScan = find(JTreeFixture.class, TREE);

0 commit comments

Comments
 (0)