Getting 404 in Cypress test

  Kiến thức lập trình

I’m getting started with Cypress but I got stuck at the “hello world” of it ! I’m trying to open a page, first it worked like a charm, then all of a sudden the webstie started giving 404 page, no changes made to the test file.

My test file is:

describe('template spec', () => {
  it('Open website', () => {
    cy.visit('https://www.vodacom.co.tz/');

  });
})

the it starts loading the test then the website becomes full screen with URL

https://www.vodacom.co.tz/__/#/specs/runner?file=cypress/e2e/internet_daily_500tsh.cy.js

and it displays this page

Am I doing something wrong ?

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website

LEAVE A COMMENT