-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9797 from alphagov/content-modelling/793-accessib…
…le-autocomplete content modelling/793 accessible autocomplete
- Loading branch information
Showing
4 changed files
with
19 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -627,7 +627,7 @@ def should_show_edit_form_for_email_address_content_block(document_title, email_ | |
page.switch_to_window(page.windows.last) | ||
assert_text "Preview email address" | ||
assert_text "Instances: 1" | ||
assert_text "Email address: [email protected]" | ||
assert_text "Email address: #{@email_address}" | ||
within_frame "preview" do | ||
assert_text @current_host_document["title"] | ||
end | ||
|
@@ -642,7 +642,7 @@ def should_show_edit_form_for_email_address_content_block(document_title, email_ | |
Then("I should see the content of the linked page") do | ||
within_frame "preview" do | ||
assert_text "other page" | ||
assert_text "[email protected]" | ||
assert_text @email_address | ||
end | ||
end | ||
|
||
|