Skip to content

Commit 9778368

Browse files
committed
Hooks status Passed to passed
1 parent 33dabc9 commit 9778368

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/test/java/com/lambdatest/RegisterAccount.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,10 @@ public class RegisterAccount {
6767
driverHelper.click(PRIVACY_POLICY_CHECKBOX);
6868
driverHelper.submit(CONTINUE_BUTTON);
6969
driverHelper.waitForVisibility(PAGE_TITLE, 30);
70-
Assert.assertTrue(driverHelper.getText(PAGE_TITLE).equalsIgnoreCase("Your Account Has Been Created!"), "Not Registered successfully. Expected : Your Account Has Been Created! but found " + driverHelper.getText(PAGE_TITLE));
71-
Status = "Passed";
70+
Assert.assertTrue(driverHelper.getText(PAGE_TITLE).equalsIgnoreCase("Your Account Has Been Created!"),
71+
"Not Registered successfully. Expected : Your Account Has Been Created! but found " + driverHelper.getText(
72+
PAGE_TITLE));
73+
Status = "passed";
7274
}
7375

7476
@AfterMethod public void tearDown() {

0 commit comments

Comments
 (0)