Skip to content

GX3-1653 Tools Qa Elements Upload and Download #609

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jan 25, 2024

Conversation

AndreaDev14
Copy link
Contributor

Summary Changes

  • Added 2 TCs for Upload and Download files
  • Added the markdown
  • Added in helper folder a file called GX3-1653-nameLocationText.js

Test Results

Captura de pantalla 2024-01-23 122151
Captura de pantalla 2024-01-23 122429

Observations

  • Added in helper folder a file called GX3-1653-nameLocationText.js . It contains a function to get the name and location text

@AndreaDev14 AndreaDev14 self-assigned this Jan 23, 2024
@AndreaDev14 AndreaDev14 added the Needs Review Ready for review by the team. label Jan 23, 2024
@ZwitterKaneda ZwitterKaneda added In Review Currently being evaluated by the reviewer. and removed Needs Review Ready for review by the team. labels Jan 23, 2024
@apscecilia apscecilia requested review from apscecilia and ZwitterKaneda and removed request for ZwitterKaneda and apscecilia January 24, 2024 01:07
Copy link
Contributor

@ZwitterKaneda ZwitterKaneda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hola @AndreaDev14 buen trabajo! 👏 la carga del archivo con attachFile() no la había visto en proceso, me copie el código para entender bien lo que hacía.
Cypress cuenta con la sintax .selectFile()que te puede ayudar con esto y el arreglo sería con una linea, te dejo un ejemplo (lo probé en tu test)

download.get.unploadBtn().selectFile('cypress/fixtures/images/upexlogo.png');

download.get.unploadBtn() es un selector, checa que tiene como ID #uploadFile
Si gustas lo pruebas en algún momento, esto es otra forma de subir un archivo.

Continúa así =)

@ZwitterKaneda ZwitterKaneda added Approved Approved and pending merge. and removed In Review Currently being evaluated by the reviewer. labels Jan 24, 2024
@ZwitterKaneda ZwitterKaneda merged commit 8bf3fe2 into QA Jan 25, 2024
@AlexanderWindecker AlexanderWindecker deleted the GX3-1653-tools-qa-elements-upload-and-download branch August 26, 2024 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved Approved and pending merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants