Skip to content

Commit

Permalink
Update qualitilabs functions
Browse files Browse the repository at this point in the history
  • Loading branch information
ana-mauricio committed Dec 18, 2024
1 parent 4d419f7 commit 5cb3acb
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions pages/specific.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,11 +206,12 @@ export class Specific {
,{delay:100});
cy.xpath('(//input[@type="file"])[1]').attachFile("sample.pdf");
cy.get('.uploader-file-name').contains("sample.pdf");
cy.xpath('(//input[@type="file"])[2]').attachFile('drone.jpg');
cy.xpath('(//*[@class="uploader-file-name"])[2]').contains("drone.jpg");
cy.get('[data-cy="screen-field-form_input_2"]')
.type('<html><head><title>Este es solo un ejemplo</title></head> <body>Aqui se encuentra el contenido de la web</body>'
,{delay:100});
cy.xpath('(//input[@type="file"])[2]').attachFile('drone.jpg');
cy.xpath('(//*[@class="uploader-file-name"])[2]').contains("drone.jpg");
cy.wait(2000);
cy.xpath('//button[text()[normalize-space()="New Submit"]]').click();
request.verifyTaskIsCompletedB();

Expand All @@ -230,10 +231,6 @@ export class Specific {
request.verifyRequestisCompleted(requestId);
cy.get('[id="file-manager-tab"]').should('be.visible').click();
cy.xpath('(//*[@title="View"])[3]').click();

//Step 4: requestpart___Quarter Scenario
navHelper.navigateToTasksPage();
request.openNewRequest(processName);
}

actionsAndAssertionsOfTCP42078(requestId) {
Expand Down

0 comments on commit 5cb3acb

Please sign in to comment.