Skip to content

Commit

Permalink
edits
Browse files Browse the repository at this point in the history
  • Loading branch information
sarwarahmed1 committed Jan 13, 2025
1 parent 90e3c5e commit 81d52bc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/nci/automation/web/TestProperties.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ public class TestProperties {

public static String ENV = "test";
public static String BROWSER = "chrome";
public static boolean HEADLESS = false;
public static boolean HEADLESS = true;
public static int SET_SLOW_MO_TIME = 1000;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ Feature: ESR Approvals
And the user is approved from a federal lead for closeout approval
And the ESR Board Closeout Review catalog task is completed


@ESR-714 @sarwarahmed1 @In-Progress @playwright
Scenario: Test the ESR Board Closeout Review approvals in an ESR-I ticket
Given a user logs into Native View on the NCI at your service page
Expand Down
4 changes: 2 additions & 2 deletions src/test/java/ITSM/ESR/playwright/features/ESRTask.feature
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Feature: ESR Tasks
Then the user confirms the Closeout Preparation catalog task is completed

@ESR-710 @sarwarahmed1 @Regression @playwright
Scenario: Test the ESR Board Closeout Review approvals in an ESR-Q ticket
Scenario: Test the ESR Board Closeout catalog task in an ESR-Q ticket
Given a user logs into Native View on the NCI at your service page
And navigates to create ESR
And fills out all required information for ESR-Q and clicks submit
Expand All @@ -112,7 +112,7 @@ Feature: ESR Tasks
Then the user confirms the ESR Board Closeout Review catalog task is completed

@ESR-??? @sarwarahmed1 @In-Progress @playwright
Scenario: Test the ESR Board Closeout Review approvals in an ESR-I ticket
Scenario: Test the ESR Board Closeout catalog task in an ESR-I ticket
Given a user logs into Native View on the NCI at your service page
And navigates to create ESR
And fills out all required information for ESR-I and clicks submit
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,9 @@ public static void completeESRBoardCloseoutReviewCatalogTask() {
Playwright_Common_Locators.iframeLocator().locator("#sysverb_update").click();
}

/**
* Confirms that the ESR Board Closeout Review catalog task is completed
*/
public static void confirmESRBoardCloseoutReviewCatalogTaskIsCompleted() {
assertThat(Playwright_Common_Locators.iframeLocator().locator("//select[@aria-label='Approval']")).containsText("Requested");
}
Expand Down

0 comments on commit 81d52bc

Please sign in to comment.