Skip to content

Commit

Permalink
utils_fix_3547
Browse files Browse the repository at this point in the history
  • Loading branch information
karlOS123testing committed Apr 29, 2024
1 parent 56211fd commit 4465cc9
Showing 1 changed file with 2 additions and 2 deletions.
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){
taskAsPriority(taskName, priorityCol = 3){
cy.xpath("//*[@data-cy='tasks-table']//*[contains(text(),'"+taskName+"')]").should('be.visible');
cy.xpath('(//tbody//td[2]//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 4465cc9

Please sign in to comment.