Skip to content

Commit

Permalink
Submit an invoice & Assign additional reviewers
Browse files Browse the repository at this point in the history
  • Loading branch information
Nesar committed Jan 29, 2025
1 parent 9e54b5d commit 36e93e2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/test/java/CUSTOM_BUSINESS/OASYS/Steps/Invoice_Page.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import static CUSTOM_BUSINESS.OASYS.Utils.OASYS_CommonUtils.clickIfVisible;
import static com.microsoft.playwright.assertions.PlaywrightAssertions.assertThat;
import static com.nci.automation.web.PlaywrightUtils.page;

import APPS_COMMON.PlaywrightUtils.Playwright_Common_Utils;
import CUSTOM_BUSINESS.OASYS.Utils.OASYS_Constants;
import com.microsoft.playwright.*;
import com.microsoft.playwright.options.*;
Expand Down Expand Up @@ -190,6 +192,7 @@ public void user_clicks_on_a_submitted_invoice() {
*/
@And("User expands the members")
public void user_expands_the_members() {
Playwright_Common_Utils.scrollIntoView("xpath=//span/mat-panel-title[contains(text(),'Members')]");
page.getByRole(AriaRole.BUTTON, new Page.GetByRoleOptions().setName("Members")).click();
CucumberLogUtils.playwrightScreenshot(page);
}
Expand Down

0 comments on commit 36e93e2

Please sign in to comment.