use of io.qameta.allure.Severity in project healenium-example-maven by healenium.
the class CssTest method testCssAttribute.
@Test
@Severity(SeverityLevel.NORMAL)
@Description("Update locator for element with css attribute")
public void testCssAttribute() {
FrameworkPage callbackTestPage = pages.get(String.valueOf(PagesType.CALLBACK));
boolean result = callbackTestPage.openPage().clickAddSquareButton().verifySquareElement();
assertTrue(result, "Element with css enabled");
for (int i = 0; i <= 2; i++) {
result = callbackTestPage.clickUpdateSquareButton().verifySquareElement();
assertTrue(result, "Element with css was healed");
}
}
use of io.qameta.allure.Severity in project healenium-example-maven by healenium.
the class CssTest method testCssClassName.
@Test
@Severity(SeverityLevel.NORMAL)
@Description("Update locator for element with css ClassName")
public void testCssClassName() {
FrameworkPage page = pages.get(String.valueOf(PagesType.TEST_ENV));
page.openPage().findTestElement(LocatorType.CSS, ".test_class").clickSubmitButton().findTestElement(LocatorType.CSS, ".test_class");
}
use of io.qameta.allure.Severity in project healenium-example-maven by healenium.
the class CssTest method testCssId.
@Test
@Severity(SeverityLevel.NORMAL)
@Description("Update locator for element with css id")
public void testCssId() {
FrameworkPage page = pages.get(String.valueOf(PagesType.TEST_ENV));
page.openPage().findTestElement(LocatorType.CSS, "#change_id").clickSubmitButton().findTestElement(LocatorType.CSS, "#change_id");
}
use of io.qameta.allure.Severity in project healenium-example-maven by healenium.
the class CssTest method testCssIdSpecialCharacter.
@Test
@Severity(SeverityLevel.NORMAL)
@Description("Update locator for element with css id with special character")
public void testCssIdSpecialCharacter() {
FrameworkPage page = pages.get(String.valueOf(PagesType.TEST_ENV));
page.openPage().findTestElement(LocatorType.CSS, "input#change\\:name").clickSubmitButton().findTestElement(LocatorType.CSS, "input#change\\:name");
}
use of io.qameta.allure.Severity in project healenium-example-maven by healenium.
the class CssTest method testCssChecked.
@Test
@Severity(SeverityLevel.NORMAL)
@Description("Update locator for element with css Checked")
public void testCssChecked() {
FrameworkPage page = pages.get(String.valueOf(PagesType.TEST_ENV));
page.openPage().findTestElement(LocatorType.CSS, "input:checked").clickSubmitButton().findTestElement(LocatorType.CSS, "input:checked");
}
Aggregations