Skip to content
This repository has been archived by the owner on Aug 20, 2018. It is now read-only.

Commit

Permalink
Add asserts to ensure we make it to the What's Next page
Browse files Browse the repository at this point in the history
  • Loading branch information
bobsilverberg committed Feb 12, 2016
1 parent 20d25bd commit f3b4ab6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions oneanddone/tests/functional/tests/test_user_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def test_that_user_can_complete_a_task(self, base_url, selenium, new_user, task)
feedback = task_details.click_complete_task_button()

whats_next = feedback.click_no_thanks_button()
assert "What's next? | Mozilla One and Done" == selenium.title

profile_details = whats_next.click_user_profile_details()

Expand All @@ -53,6 +54,7 @@ def test_that_user_can_abandon_a_task(self, base_url, selenium, new_user, task):
task_details.click_get_started_button()
feedback = task_details.click_abandon_task_button()
whats_next = feedback.click_no_thanks_button()
assert "What's next? | Mozilla One and Done" == selenium.title

profile_details = whats_next.click_user_profile_details()

Expand Down

0 comments on commit f3b4ab6

Please sign in to comment.