add message in assertions of tests on redirect to documentation page

This commit is contained in:
Seraphym-Tuhai 2023-03-14 18:15:52 +02:00
parent bd0e768983
commit 5b620ffec3
4 changed files with 4 additions and 4 deletions

View File

@ -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);
} }
} }

View File

@ -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);
} }
} }

View File

@ -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);
} }
} }

View File

@ -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);
} }
} }