skip to Main Content

Javascript – Incomplete params inside cy.wait()

This is the bug I'm facing I do not understand why the params are not fully gotten with the cypress wait function thenfunction(){} AssertionError expected '19/0' to equal '19/01/2028' /* eslint-disable mocha/no-setup-in-describe,no-undef,mocha/no-skipped-tests */ // noinspection ES6ConvertRequireIntoImport require('chai/register-expect'); const {basicResponseObj, bodyObjSearch2}…

VIEW QUESTION

Html – cy.contains() cannot be passed an empty string

I'm testing my django server front-end with cypress. I should test the case where user selects empty string from options list. The code //Next try to remove frequency cy.get('select').eq(5).find('option').contains('').then((selectOption) => { cy.get('select').eq(5).select(selectOption.text()); }); led to error message: cy.contains() cannot be…

VIEW QUESTION
Back To Top
Search