-
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
Showing
16 changed files
with
84 additions
and
233 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
23 changes: 0 additions & 23 deletions
23
e2e/src/programmatic/grouping/client/auth/ForgotPasswordScreen.test.ts
This file was deleted.
Oops, something went wrong.
54 changes: 0 additions & 54 deletions
54
e2e/src/programmatic/grouping/client/auth/LoginScreen.test.ts
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
e2e/src/programmatic/grouping/client/utils/validators.test.ts
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
e2e/src/programmatic/grouping/server/controllers/__snapshots__/forgotPassword.test.ts.snap
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
e2e/src/programmatic/grouping/server/controllers/forgotPassword.test.ts
This file was deleted.
Oops, something went wrong.
28 changes: 0 additions & 28 deletions
28
e2e/src/programmatic/grouping/server/controllers/login.test.ts
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
e2e/src/programmatic/grouping/server/controllers/resetPassword.test.ts
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
43 changes: 43 additions & 0 deletions
43
e2e/tests/regression/edge-cases/__snapshots__/statuses.test.ts.snap
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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Status tests Simple failed snapshot 1`] = ` | ||
{ | ||
"seed": 0.831296394914633, | ||
} | ||
`; | ||
|
||
exports[`Status tests Simple failed timeout 1`] = ` | ||
{ | ||
"seed": 0.3646202773486069, | ||
} | ||
`; | ||
|
||
exports[`Status tests Status override in a failed snapshot in a afterEach hook 1`] = ` | ||
{ | ||
"seed": 0.5996337738043038, | ||
} | ||
`; | ||
|
||
exports[`Status tests Status override in a failed snapshot in a beforeEach hook 1`] = ` | ||
{ | ||
"seed": 0.928365985442531, | ||
} | ||
`; | ||
|
||
exports[`Status tests Status override in a failed snapshot in a test 1`] = ` | ||
{ | ||
"seed": 0.37722393964358303, | ||
} | ||
`; | ||
|
||
exports[`Status tests Status override in a failed snapshot in a test step 1`] = ` | ||
{ | ||
"seed": 0.8442442168520534, | ||
} | ||
`; | ||
|
||
exports[`Status tests Status override while timing out test 1`] = ` | ||
{ | ||
"seed": 0.13785771624386745, | ||
} | ||
`; |
2 changes: 1 addition & 1 deletion
2
...src/programmatic/grouping/history.test.ts → ...sts/regression/edge-cases/history.test.ts
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
2 changes: 1 addition & 1 deletion
2
...rc/programmatic/grouping/statuses.test.ts → ...ts/regression/edge-cases/statuses.test.ts
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/** | ||
* Client tests for login screen | ||
* | ||
* @owner Security Team | ||
* @severity Critical | ||
* @tag regression,auth | ||
* @tag smoke | ||
*/ | ||
|
||
import LoginHelper from '../../src/LoginHelper'; | ||
import {allure} from 'jest-allure2-reporter/api'; | ||
|
||
describe('Login screen', () => { | ||
describe('Form Submission', () => { | ||
/** | ||
* @owner Samantha Jones | ||
* @issue IDEA-235211 | ||
* @url https://example.com/235211 Example | ||
*/ | ||
it('should show error on invalid e-mail format', async () => { | ||
await LoginHelper.typeEmail('someone#example.com'); | ||
await LoginHelper.typePassword('123456'); | ||
await allure.step('Hello', () => { | ||
expect(LoginHelper.snapshotForm()).toContain('someone#example.com'); | ||
expect(LoginHelper.getValidationSummary()).toBe('fixtures/invalid-email.xml'); | ||
allure.status('passed', { message: 'All is good' }); | ||
}); | ||
}); | ||
|
||
it('should show error on short or invalid password format', async () => { | ||
await LoginHelper.fillForm('someone@example.com', 'abc'); | ||
allure.status('failed', { message: 'The password is too short' }); | ||
}); | ||
}); | ||
}); |
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