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

119
Views
la imagen no se muestra en la vista previa en el lienzo en ciprés

estoy usando cypress y ruuning throgh test runner. todo el html se ejecuta en iframe del corredor de prueba.

a continuación es mi HTML:

 <div data-ng-show="previewType === 'image' || previewType === 'none'" class="" style=""> <div class="col-md-12 px-0" id="CanvasHoldingElement"> <canvas id="the-canvas" data-ng-mousedown="mouseEvent.DOWN($event)" data-ng-mouseup="mouseEvent.UP($event)" data-ng-mousemove="mouseEvent.MOVE($event)" data-ng-mouseenter="mouseEvent.ENTER()" data-ng-mouseleave="mouseEvent.LEAVE()" data-tool-mode="none" width="563" height="177" style="width: 563.5px; height: 177.906px;"> Sorry but your browser does not support HTML canvas. </canvas> </div> </div>

a continuación está mi código de archivo spec.js.

 SingleDeposit(docType) { cy.get("#ChooseAppdeposit").click() cy.wait(5000) const imgfile = '75140.pdf'; cy.get("#selectDocumentComponent > div").invoke('attr','type','file').attachFile(imgfile,{subjectType: 'drag-n-drop'}) cy.get('#depositTableSelect').select(docType) cy.wait(18000) cy.get('#btnDepositDocument').click({force: true})//cy.get('body > mosaic-page > div > mosaic-container > a > mosaic-app-name').click() }

el archivo se está seleccionando, pero no se muestra en la vista previa en la sección de vista previa.

about 4 years ago · Juan Pablo Isaza
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!