-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
086ad6e
commit 68912ce
Showing
13 changed files
with
28 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,7 +72,7 @@ def when_i_fill_in_my_ni_number | |
alias_method :and_i_fill_in_my_ni_number, :when_i_fill_in_my_ni_number | ||
|
||
def when_i_fill_in_my_email_address | ||
fill_in "Your email address", with: "[email protected]" | ||
fill_in "What is your email address?", with: "[email protected]" | ||
end | ||
alias_method :and_i_fill_in_my_email_address, :when_i_fill_in_my_email_address | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,11 +85,11 @@ def then_i_see_the_check_trn_page | |
end | ||
|
||
def then_i_see_the_date_of_birth_page | ||
expect(page).to have_content("Your date of birth") | ||
expect(page).to have_content("What is your date of birth") | ||
end | ||
|
||
def then_i_see_the_email_page | ||
expect(page).to have_content("Your email address") | ||
expect(page).to have_content("What is your email address") | ||
end | ||
|
||
def then_i_see_the_have_ni_page | ||
|
@@ -100,7 +100,7 @@ def then_i_see_the_have_ni_page | |
|
||
def then_i_see_the_itt_provider_page | ||
expect(page).to have_content( | ||
"Did a university, SCITT or school award your QTS?", | ||
"Did a university, School Centred Initial Teacher Training (SCITT) provider or school award your QTS?", | ||
) | ||
end | ||
|
||
|
@@ -171,7 +171,7 @@ def when_i_confirm_i_have_a_trn_number | |
end | ||
|
||
def when_i_fill_in_my_email_address | ||
fill_in "Your email address", with: "[email protected]" | ||
fill_in "What is your email address?", with: "[email protected]" | ||
end | ||
|
||
def when_i_fill_in_my_itt_provider | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -76,7 +76,7 @@ def then_i_see_the_check_trn_page | |
end | ||
|
||
def then_i_see_the_date_of_birth_page | ||
expect(page).to have_content("Your date of birth") | ||
expect(page).to have_content("What is your date of birth") | ||
end | ||
|
||
def then_i_see_the_email_page | ||
|
@@ -89,7 +89,7 @@ def then_i_see_the_have_ni_page | |
|
||
def then_i_see_the_itt_provider_page | ||
expect(page).to have_content( | ||
"Did a university, SCITT or school award your QTS?", | ||
"Did a university, School Centred Initial Teacher Training (SCITT) provider or school award your QTS?", | ||
) | ||
end | ||
|
||
|
@@ -129,7 +129,7 @@ def when_i_confirm_i_have_a_trn_number | |
end | ||
|
||
def when_i_fill_in_my_email_address | ||
fill_in "Your email address", with: "[email protected]" | ||
fill_in "What is your email address?", with: "[email protected]" | ||
end | ||
|
||
def when_i_fill_in_my_itt_provider | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -761,7 +761,7 @@ def then_i_see_the_date_of_birth_page | |
expect(page.driver.browser.current_title).to start_with( | ||
"Your date of birth", | ||
) | ||
expect(page).to have_content("Your date of birth") | ||
expect(page).to have_content("What is your date of birth") | ||
end | ||
alias_method :then_i_am_redirected_to_the_date_of_birth_page, | ||
:then_i_see_the_date_of_birth_page | ||
|
@@ -771,7 +771,7 @@ def then_i_see_the_email_page | |
expect(page.driver.browser.current_title).to start_with( | ||
"Your email address", | ||
) | ||
expect(page).to have_content("Your email address") | ||
expect(page).to have_content("What is your email address") | ||
end | ||
|
||
def then_i_see_the_existing_name | ||
|
@@ -787,10 +787,10 @@ def then_i_see_the_home_page | |
def then_i_see_the_itt_provider_page | ||
expect(page).to have_current_path("/itt-provider") | ||
expect(page.driver.browser.current_title).to start_with( | ||
"Did a university, SCITT or school award your QTS?", | ||
"Did a university, School Centred Initial Teacher Training (SCITT) provider or school award your QTS?", | ||
) | ||
expect(page).to have_content( | ||
"Did a university, SCITT or school award your QTS?", | ||
"Did a university, School Centred Initial Teacher Training (SCITT) provider or school award your QTS?", | ||
) | ||
end | ||
|
||
|
@@ -1055,12 +1055,12 @@ def when_i_press_back | |
alias_method :and_i_press_back, :when_i_press_back | ||
|
||
def when_i_fill_in_my_email_address | ||
fill_in "Your email address", with: "[email protected]" | ||
fill_in "What is your email address?", with: "[email protected]" | ||
end | ||
alias_method :and_i_fill_in_my_email_address, :when_i_fill_in_my_email_address | ||
|
||
def when_i_fill_in_my_new_email_address | ||
fill_in "Your email address", with: "[email protected]" | ||
fill_in "What is your email address?", with: "[email protected]" | ||
end | ||
alias_method :and_i_fill_in_my_new_email_address, | ||
:when_i_fill_in_my_new_email_address | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,7 +90,7 @@ def given_there_is_a_completed_trn_request | |
click_on "Continue" | ||
click_on "Continue" | ||
|
||
fill_in "Your email address", with: "[email protected]" | ||
fill_in "What is your email address?", with: "[email protected]" | ||
click_on "Continue" | ||
|
||
fill_in "First name", with: "Not" | ||
|