-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Capybara/ClickLinkOrButtonStyle violations for links
- Loading branch information
1 parent
c86d516
commit b976215
Showing
10 changed files
with
19 additions
and
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,8 +10,8 @@ class EmailsTest < ApplicationSystemTestCase | |
|
||
test 'updating the email' do | ||
click_on 'avatar' | ||
click_link 'My account' | ||
click_link 'Change email address' | ||
click_on 'My account' | ||
click_on 'Change email address' | ||
|
||
fill_in 'New email', with: '[email protected]' | ||
fill_in 'Current password', with: 'Secret1*3*5*' | ||
|
@@ -24,8 +24,8 @@ class EmailsTest < ApplicationSystemTestCase | |
@user.update! verified: false | ||
|
||
click_on 'avatar' | ||
click_link 'My account' | ||
click_link 'Change email address' | ||
click_on 'My account' | ||
click_on 'Change email address' | ||
click_on 'Re-send verification email' | ||
|
||
assert_text 'We sent a verification email to your 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
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
class SigningUpTest < ApplicationSystemTestCase | ||
test 'signing up' do | ||
visit root_url | ||
click_link 'sign up' | ||
click_on 'sign up' | ||
fill_in 'Email', with: '[email protected]' | ||
fill_in 'Password', with: 'Secret1*3*5*' | ||
fill_in 'Password confirmation', with: 'Secret1*3*5*' | ||
|