add message in assertions of tests on redirect to documentation page
This commit is contained in:
parent
bd0e768983
commit
5b620ffec3
@ -186,6 +186,6 @@ public class CreateAssetProfileTest extends AbstractDriverBaseTest {
|
|||||||
profilesPage.allEntity().get(0).click();
|
profilesPage.allEntity().get(0).click();
|
||||||
profilesPage.goToProfileHelpPage();
|
profilesPage.goToProfileHelpPage();
|
||||||
|
|
||||||
Assert.assertTrue(urlContains(urlPath));
|
Assert.assertTrue(urlContains(urlPath), "URL not contains " + urlPath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -194,6 +194,6 @@ public class CreateCustomerTest extends AbstractDriverBaseTest {
|
|||||||
customerPage.customer(customerPage.getCustomerName()).click();
|
customerPage.customer(customerPage.getCustomerName()).click();
|
||||||
customerPage.goToHelpPage();
|
customerPage.goToHelpPage();
|
||||||
|
|
||||||
Assert.assertTrue(urlContains(urlPath));
|
Assert.assertTrue(urlContains(urlPath), "URL contains " + urlPath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -192,7 +192,7 @@ public class CreateDeviceProfileTest extends AbstractDriverBaseTest {
|
|||||||
profilesPage.allEntity().get(0).click();
|
profilesPage.allEntity().get(0).click();
|
||||||
profilesPage.goToProfileHelpPage();
|
profilesPage.goToProfileHelpPage();
|
||||||
|
|
||||||
Assert.assertTrue(urlContains(urlPath));
|
Assert.assertTrue(urlContains(urlPath), "URL contains " + urlPath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -179,6 +179,6 @@ public class CreateRuleChainTest extends AbstractDriverBaseTest {
|
|||||||
ruleChainsPage.detailsBtn(ruleChainsPage.getRuleChainName()).click();
|
ruleChainsPage.detailsBtn(ruleChainsPage.getRuleChainName()).click();
|
||||||
ruleChainsPage.goToHelpPage();
|
ruleChainsPage.goToHelpPage();
|
||||||
|
|
||||||
Assert.assertTrue(urlContains(urlPath));
|
Assert.assertTrue(urlContains(urlPath), "URL contains " + urlPath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user