Remove unused comments and files
This commit is contained in:
@ -1,5 +0,0 @@
|
||||
{
|
||||
"name": "Using fixtures to represent data",
|
||||
"email": "hello@cypress.io",
|
||||
"body": "Fixtures are a great way to mock data for responses to routes"
|
||||
}
|
||||
@ -32,11 +32,3 @@ describe('Login with email', () => {
|
||||
cy.location('pathname').should('include', '/home')
|
||||
})
|
||||
})
|
||||
/*
|
||||
|
||||
// our auth cookie should be present
|
||||
|
||||
|
||||
// UI should reflect this user being logged in
|
||||
cy.get('h1').should('contain', 'jane.lane')
|
||||
*/
|
||||
@ -19,12 +19,5 @@ const password = 'testpassword'
|
||||
cy.wait(2000)
|
||||
|
||||
cy.reload()
|
||||
// cy.get('[data-testid="add-link-button"]').click();
|
||||
// cy.get('[data-testid="link-input"]').type('https://www.google.com');
|
||||
// cy.get('[data-testid="link-input"]').type('{enter}');
|
||||
// cy.get('[data-testid="link-input"]').should('have.value', '');
|
||||
// cy.get('[data-testid="link-input"]').type('https://www.google.com');
|
||||
// cy.get('[data-testid="link-input"]').type('{enter}');
|
||||
// cy.get('[data-testid="link-input"]').should('have.value', '');
|
||||
});
|
||||
});
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
|
||||
describe('pages that require auth', () => {
|
||||
it('should add a link', () => {
|
||||
it('should redirect to login', () => {
|
||||
cy.visit('/home')
|
||||
cy.location('pathname')
|
||||
.should('be.equal', '/login')
|
||||
|
||||
Reference in New Issue
Block a user