mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Remove unused comments and files
This commit is contained in:
parent
10692a2131
commit
6631d51939
4 changed files with 1 additions and 21 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Reference in a new issue