-
Notifications
You must be signed in to change notification settings - Fork 621
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Completed Cypress Authentication Teststing #600
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needs fixes
@@ -1,11 +1,38 @@ | |||
/// <reference types="cypress" /> | |||
describe('Authentication Tests', () => { | |||
it('Login with valid credentials', () => { | |||
cy.visit('https://the-internet.herokuapp.com/login'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if there are repeatable steps at the beginning of each test we can move them to the beforeEach
cypress/e2e/signIn.cy.js
Outdated
}); | ||
|
||
it('', () => { | ||
it('Login with invalid credentials', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
divide test into 2 negative tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
push only file with your solution
No description provided.