0

I am new in the use of cypress, which makes me face concern.

I would like to automate actions in order to test some Progressive Web App (PWA) and so I have recorded actions using the cypress extension of google chrome and when I create specs in cypress locally in order to reproduce the captures, I get errors especially when I am facing toasters.

cy.get('.h-full > #app > .layout--full > div > .hover\\3Aopacity-90').click()

cy.get('#app > .layout > .my-10 > .list-item:nth-child(3) > .text').click()

**cy.get('.h-full > #app > .pt-4 > .transform > .svg-inline--fa').click()**

cy.wait(15000)

cy.get('.form > .flex > div > .mt-6 > #mark').click()

cy.get('.form > .flex > div > .mt-6 > #mark').select('other')

The toaster pops up and then I get this error.

enter image description here

I even added a wait but without success

ss10
  • 69
  • 6

0 Answers0