Skip to content

Commit

Permalink
tests :)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ana Medrano Fernandez authored and Ana Medrano Fernandez committed Oct 11, 2023
1 parent 5cb8b38 commit 3aeb0af
Showing 1 changed file with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,5 +124,22 @@ void fullDigitalAssisterFlow() {

testPage.clickButton("Yes");
assertThat(testPage.getTitle()).isEqualTo("Personal Situations Who");

testPage.clickContinue();
assertThat(testPage.getTitle()).isEqualTo("Which Personal Situations");

testPage.clickContinue();
assertThat(testPage.getTitle()).isEqualTo("Domestic Violence Victim");

testPage.clickButton("Yes");
assertThat(testPage.getTitle()).isEqualTo("Criminal Justice Involvement Warning");

testPage.clickContinue();
assertThat(testPage.getTitle()).isEqualTo("Criminal Justice");

testPage.navigateToFlowScreen("laDigitalAssister/householdVictimOfDomesticViolence");
assertThat(testPage.getTitle()).isEqualTo("Domestic Violence Victim");
testPage.clickButton("No");
assertThat(testPage.getTitle()).isEqualTo("Criminal Justice Involvement Warning");
}
}

0 comments on commit 3aeb0af

Please sign in to comment.