Advertisement
Guest User

Untitled

a guest
Apr 7th, 2020
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.67 KB | None | 0 0
  1.     @TestRailCase("2577630")
  2.     @Test(priority = 3510, description = "Revert new PATE treaty for Portfolio results without existing treaties")
  3.     public void verifyRevertTreaty_WithoutExistings() {
  4.         rlaxCommon.openApplication();
  5.         treatiesPage = sideNavBar.clickResultTreaties(resultWithTreatiesName);
  6.         Assert.assertNotNull(treatiesPage, "Treaties tab failed");
  7.         Assert.assertFalse(treatiesPage.isTreatyExists(),
  8.                 "No treaty to revert");
  9.         treatiesPage.revertTreaty();
  10.  
  11.         boolean reverted = !treatiesPage.isTreatyExists();
  12.         Assert.assertTrue(reverted, "Treaty not reverted");
  13.         WaitTool.sleep(15);
  14.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement