Remove unused comments and files

This commit is contained in:
Jackson Harper
2022-04-01 13:54:50 -07:00
parent 10692a2131
commit 6631d51939
4 changed files with 1 additions and 21 deletions

View File

@ -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"
}

View File

@ -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')
*/

View File

@ -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', '');
});
});

View File

@ -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')