dimanche 19 juillet 2020

The following error originated from your application code, not from Cypress

i tried to test this simple code

       type Url = string
       it('loads examples', () => {
      const url: Url = 'https://www.ebay.com/'
       cy.visit(url)
       cy.get('input[type="text"]').type('book')
        cy.get('#gh-btn').click();

        })

then I faced this error

enter image description here

how can I solve it

Aucun commentaire:

Enregistrer un commentaire