diff --git a/packages/cypress/cypress/fixtures/example.json b/packages/cypress/cypress/fixtures/example.json deleted file mode 100644 index 02e425437..000000000 --- a/packages/cypress/cypress/fixtures/example.json +++ /dev/null @@ -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" -} diff --git a/packages/cypress/cypress/integration/authentication/register-w-email.js b/packages/cypress/cypress/integration/authentication/register-w-email.js index 7f6391d8c..ddfbbc0ee 100644 --- a/packages/cypress/cypress/integration/authentication/register-w-email.js +++ b/packages/cypress/cypress/integration/authentication/register-w-email.js @@ -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') - */ \ No newline at end of file diff --git a/packages/cypress/cypress/integration/library/add-item.js b/packages/cypress/cypress/integration/library/add-item.js index 404f85f5e..1a7176edd 100644 --- a/packages/cypress/cypress/integration/library/add-item.js +++ b/packages/cypress/cypress/integration/library/add-item.js @@ -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', ''); }); }); diff --git a/packages/cypress/cypress/integration/unauthenticated/redirects.js b/packages/cypress/cypress/integration/unauthenticated/redirects.js index f68749899..75e77bcd2 100644 --- a/packages/cypress/cypress/integration/unauthenticated/redirects.js +++ b/packages/cypress/cypress/integration/unauthenticated/redirects.js @@ -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')