Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

217
Visualizações
How to upload whole folder and every file inside using cypress?

I have something like that to take 1 file from the folder and just copy that 5 times. What should i do when i just want to upload everything in the location like 600 files? Can someone help me ? Maybe some loop ?

cy.fixture('DSC03431.JPG', 'base64').then((fileContent) => {
        cy.get('#chooseFilesInput').attachFile({
            fileContent: fileContent.toString(),
            fileName: 'DSC03431.JPG',
            mimeType: 'image/jpg',
            encoding: 'base64',

I want to upload contents of a folder to my application using cypress. I know I can mention the names of the files and cypress will pick them, but since I am not aware of the number of files in the folder or their names, how can I upload otherwise?

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda