import pageobjects.Navigation;
import util.selenium.SeleneseTest;
+import static com.codeborne.selenide.CollectionCondition.sizeGreaterThan;
import static util.ItUtils.projectDir;
public class BackgroundTasksTest {
nav.logIn().submitCredentials("admin", "admin");
BackgroundTasksPage page = nav.openBackgroundTasksPage();
+ page.getTasks().shouldHave(sizeGreaterThan(0));
BackgroundTaskItem task = page.getTasksAsItems().get(0);
task.openActions()
.openScannerContext()
nav.logIn().submitCredentials("admin", "admin");
BackgroundTasksPage page = nav.openBackgroundTasksPage();
+ page.getTasks().shouldHave(sizeGreaterThan(0));
BackgroundTaskItem task = page.getTasksAsItems().get(0);
task.openActions()
.openErrorStacktrace()