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

189
Views
Cómo hacer clic en varios menús desplegables y seleccionar los mismos valores de todos los menús desplegables en Cypress

Puedo hacer clic en todos los menús desplegables, pero no puedo seleccionar valores de ellos uno por uno.

 cy.xpath('/html/body/app-root/div/mat-sidenav-container/mat-sidenav-content/app-configurable-product-management/form/div[2]/mat-card/mat-card-content/app-configurable-product-inventory/form/div/div/div/div') .each($row => { //Click on drop down cy.wrap($row).find(':nth-child(4) > .common-form-field-width > .mat-form-field-wrapper > .mat-form-field-flex > .mat-form-field-infix').click({timeout: 2000, force:true}) //Select same values from all dropdown (Not working) cy.contains('In Stock').click({timeout: 2000, force:true}) cy.wait(2000) })
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Está funcionando ahora...

 cy.xpath('/html/body/app-root/div/mat-sidenav-container/mat-sidenav-content/app-configurable-product-management/form/div[2]/mat-card/mat-card-content/app-configurable-product-inventory/form/div/div/div/div') .each($row => { cy.wrap($row).find('mat-select').then((sel) => { cy.wrap(sel).click() }) cy.get('mat-option[value="IN"]').click() cy.wait(2000) })
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!