Skip to content

Commit

Permalink
re-enable test-end page check
Browse files Browse the repository at this point in the history
  • Loading branch information
ivy-rew committed Oct 31, 2023
1 parent 98b3946 commit dea68cc
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import static com.codeborne.selenide.Condition.exactText;
import static com.codeborne.selenide.Condition.visible;
import static com.codeborne.selenide.Selectors.withText;
import static com.codeborne.selenide.Selenide.$;
import static com.codeborne.selenide.Selenide.open;
import static org.assertj.core.api.Assertions.assertThat;
Expand Down Expand Up @@ -67,7 +68,7 @@ void zipMultipleDocuments() throws FileNotFoundException {
}

@Test
void ivyDocApi(WebAppFixture fixture) throws InterruptedException {
void ivyDocApi(WebAppFixture fixture) {
if (!EngineUrl.isDesigner()) {
fixture.login("test", "test");
}
Expand All @@ -76,7 +77,7 @@ void ivyDocApi(WebAppFixture fixture) throws InterruptedException {
open(EngineUrl.createProcessUrl("/DocFactoryDemos/16DFD8AB2E4BFFF9/start2.ivp"));
$(By.id("form:name")).shouldBe(visible).sendKeys("Batman");
$("button").click();
Thread.sleep(10_000); // wait for doc generation
$(withText("Task End")).shouldBe(visible);

open(EngineUrl.create().path("tasks").toUrl());
$(By.linkText("Task: View attached document")).shouldBe(visible).click();
Expand Down

0 comments on commit dea68cc

Please sign in to comment.