You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried to reproduce this in the https://github.com/archfz/cypress-terminal-report-demo by running npx cypress run --spec cypress/integration/examples/assertions.spec.ts but I get correct output: cy:command ✔ assert expected **<td>** to have text **Column content**. The demo is on latest version both cypress and the plugin.
Is the output correct in the cypress GUI? Could you provide more details, preferably a minimal reproduction.
cy:command + assert expected <span.main-head__header-bar__left__logo--bold> to have text PSLink
cy:command + assert expected <span.main-head__header-bar__left__logo--light> to have text e2e-test-xavi, but the text was ''
The difference between the first one and the second that appears the message "but the text was ''" is that the second one needs more milliseconds to load.
If a cy.wait is put after the cy.visit the problem disappears
Every time I have a correct assert comparing two strings, for instance,
cy.get(".card__header__text").should("have.text", name);
Cypress-terminal-report is showing a wrong message:
cy:command ✔ assert expected .card__header__text to have text db1, but the text was ''
It is happening with the last version 5.0.1 and with version 3.5.2
The text was updated successfully, but these errors were encountered: