Skip to content

Commit

Permalink
Use Serenity/JS instance of the TodoMVC app for smoke tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-molak committed Feb 2, 2024
1 parent bc7f0ef commit b7a60ee
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import java.util.concurrent.TimeUnit;
import java.util.stream.Collectors;

@DefaultUrl("http://todomvc.com/examples/angularjs/#/")
@DefaultUrl("https://todo-app.serenity-js.org/#/")
public class TodoListPage extends PageObject {

// -----------------------------------------------------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
import net.serenitybdd.core.pages.PageObject;
import net.serenitybdd.annotations.DefaultUrl;

@DefaultUrl("https://todo-app.serenity-js.org/#//")
@DefaultUrl("https://todo-app.serenity-js.org/#/")
public class TodoMVCHomePage extends PageObject {}
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ public void should_be_able_to_identify_the_application() {

then(james).should(
seeThat(Application.information(),
displays("title",equalTo("AngularJS • TodoMVC")),
displays("title",equalTo("Serenity/JS TodoApp")),
displays("heading",equalTo("todos")),
displays("about", containsString("Credits"))
displays("about", containsString("Serenity/JS TodoApp, based on TodoMVC"))
)
);
}
Expand Down
4 changes: 2 additions & 2 deletions serenity-smoketests/src/test/resources/serenity.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
webdriver {
base.url = "http://todomvc.com/examples/angularjs/#/"
base.url = "https://todo-app.serenity-js.org/#/"
autodownload = true
}

Expand All @@ -15,7 +15,7 @@ serenity {
restart.browser.for.each = scenario
}

home.page = "http://todomvc.com/examples/angularjs/#/"
home.page = "https://todo-app.serenity-js.org/#/"

//drivers {
// windows {
Expand Down

0 comments on commit b7a60ee

Please sign in to comment.