Skip to content

Commit

Permalink
Merge pull request #25 from ProcessMaker/smart_natural
Browse files Browse the repository at this point in the history
updfuntion
  • Loading branch information
MayraMelisa authored May 1, 2024
2 parents 968e0d5 + 1e65156 commit c2b5189
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pages/naturalLanguage.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ export class NaturalLanguage {
}

clickOnGenerate(){
cy.get(selectors.generateBTtnNL).click();
cy.get(selectors.generateBTtnNL).should('be.visible').click({timeout: 1000});
cy.wait(3000);
}

createSimpleProcess(descriptionData){
Expand Down Expand Up @@ -66,7 +67,6 @@ export class NaturalLanguage {
}

clickOnSecondHistoryListed(){
//cy.wait(2000);
cy.get('[data-test="history-list"]').should('be.visible');
cy.get(selectors.historySecondListed).should('be.visible').click();
}
Expand Down
4 changes: 2 additions & 2 deletions pages/smartInbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ export class SmartInbox {
cy.get(selectors.loadingSpinnerTask).should('not.be.visible');
cy.xpath("//table//td//*[contains(text(),'"+taskName+"')]").should('be.visible');
}
taskAsPriority(taskName, priorityCol = 3){
taskAsPriority(taskName, priorityCol = 2){
cy.xpath("//*[@data-cy='tasks-table']//*[contains(text(),'"+taskName+"')]").should('be.visible');
cy.xpath('(//tbody//td['+ priorityCol +']//img)[1]').should('be.visible').click();
cy.xpath('(//tbody//td["'+ priorityCol +'"]//img)[1]').should('be.visible').click();
cy.get(selectors.loadingSpinnerTask).should('be.visible');
cy.get(selectors.loadingSpinnerTask).should('not.be.visible');
cy.get('[alt="priority"]').should('be.visible');
Expand Down

0 comments on commit c2b5189

Please sign in to comment.