OvenBakedGoods
OvenBakedGoods

Reputation: 7

Cypress testing error, webpack related. Not sure on where to start with this one

Error on cypress UI

Hello I am getting this error when I try to run a test file that I created. The default tests run fine. It is only the file that I created that causes this error

import {cypress as cy} from "cypress"

describe('Testing form inputs', () => {
    beforeEach(() => {
        cy.visit('http://localhost:3000')
    })
  });

 
    describe('My First Test', () => {
      it('Does not do much!', () => {
        expect(true).to.equal(true);
      })
    });

      describe('My New Test' , function () {
        
        it('Visits index site', function (){
          cy.visit("index.html");
        })
      });

Upvotes: 0

Views: 272

Answers (1)

Tej-work
Tej-work

Reputation: 89

Try to run again without import {cypress as cy} from "cypress" Execution

Upvotes: 2

Related Questions