forked from TryGhost/Ghost
-
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.
Updated password reset notification (TryGhost#20510)
REF DES-540
- Loading branch information
Showing
9 changed files
with
32 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
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 |
---|---|---|
|
@@ -17,7 +17,7 @@ describe('Acceptance: Password Reset', function () { | |
await click('.forgotten-link'); | ||
|
||
// an alert with instructions is displayed | ||
expect(findAll('.gh-alert-blue').length, 'alert count') | ||
expect(findAll('[data-test-flow-notification]').length, 'alert count') | ||
.to.equal(1); | ||
}); | ||
|
||
|
@@ -41,7 +41,7 @@ describe('Acceptance: Password Reset', function () { | |
|
||
// error message shown | ||
expect(find('p.main-error').textContent.trim(), 'error message') | ||
.to.equal('We need your email address to reset your password!'); | ||
.to.equal('We need your email address to reset your password.'); | ||
|
||
// invalid email provided | ||
await fillIn('input[name="identification"]', 'test'); | ||
|
@@ -61,7 +61,7 @@ describe('Acceptance: Password Reset', function () { | |
|
||
// error message | ||
expect(find('p.main-error').textContent.trim(), 'error message') | ||
.to.equal('We need your email address to reset your password!'); | ||
.to.equal('We need your email address to reset your password.'); | ||
|
||
// unknown email provided | ||
await fillIn('input[name="identification"]', '[email protected]'); | ||
|
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