Skip to content

Commit

Permalink
Merge pull request #156 from abertnamanya/main
Browse files Browse the repository at this point in the history
TestMgt Step fix
  • Loading branch information
abertnamanya committed Jul 22, 2023
2 parents 6a3fc0d + 95204cc commit e827de0
Showing 1 changed file with 11 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -298,16 +298,17 @@ public void userClicksOnNextButton() throws InterruptedException {
public void userClicksOnAcceptButton() throws InterruptedException {
testManagementPage.clickAcceptTestButton();
Thread.sleep(1000);

testManagementPage.containsText("Add new tests");
testManagementPage.containsText("Test Name");
testManagementPage.testEnglishNameFieldExists();
testManagementPage.testFrenchNameFieldExists();
testManagementPage.containsText("Test Section");
testManagementPage.testSectionDropDownExists();
testManagementPage.containsText("Panel");
testManagementPage.containsText("Reporting Test Name");
testManagementPage.containsText("Panel");
if (!testManagementPage.containsText("System error")) {
testManagementPage.containsText("Add new tests");
testManagementPage.containsText("Test Name");
testManagementPage.testEnglishNameFieldExists();
testManagementPage.testFrenchNameFieldExists();
testManagementPage.containsText("Test Section");
testManagementPage.testSectionDropDownExists();
testManagementPage.containsText("Panel");
testManagementPage.containsText("Reporting Test Name");
testManagementPage.containsText("Panel");
}
}

@Given("User Clicks on the Order menu tab and select Add order")
Expand Down

0 comments on commit e827de0

Please sign in to comment.