Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

178
Views
Se agotó el tiempo de reintento después de 4000 ms: no se pueden leer las propiedades de undefined (leyendo 'toLowerCase')

Recibo un error extraño cuando intento realizar una afirmación a través de Cypress y solo necesito ayuda. Todo lo que estoy tratando de hacer es mostrar que se agrega una selección en el boleto de apuestas.

El error que estoy recibiendo es:

 get Object{5} assert expected { Object (0, length) } to be visible Timed out retrying after 4000ms: Cannot read properties of undefined (reading 'toLowerCase')

Esto sucede en este paso:

 And ("The number of elements is {string}", (number) => { cy.get(elements.selection()).should('be.visible').should('have.length', number); })

El elemento al que apunta es:

 class Elements { selection(){ return cy.get('.__selection') } } export default Elements
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Has duplicado el cy.get()

 cy.get(elements.selection()).should('be.visible') selection(){ return cy.get('.__selection') }

O

 elements.selection().should('be.visible') selection(){ return cy.get('.__selection') }

O

 cy.get(elements.selection()).should('be.visible') selection(){ return '.__selection' }
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!