@processmaker/cypress-utils
Advanced tools
Comparing version 1.0.33 to 1.0.34
{ | ||
"name": "@processmaker/cypress-utils", | ||
"version": "1.0.33", | ||
"version": "1.0.34", | ||
"description": "ProcessMaker Cypress Testing Utilities", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -92,5 +92,3 @@ import selectors from "#selectors/notification"; | ||
pressFirstNotificationOnPopup(requestID) { | ||
cy.xpath(selectors.notificationList).should("be.visible"); | ||
cy.xpath(selectors.notificationList).find("a").first().click(); | ||
cy.url().should("include", "/requests/" + requestID); | ||
cy.xpath(selectors.notificationLists).should("be.visible").first().click(); | ||
} | ||
@@ -97,0 +95,0 @@ |
@@ -27,3 +27,3 @@ export default { | ||
notificationLists: | ||
"//div[@class='notification-popover']/div[starts-with(@title,'/tasks/')]", | ||
"//div[@class='notification-popover']/div[@class='items']/div[starts-with(@title, '/requests/')]", | ||
generalCount: | ||
@@ -30,0 +30,0 @@ "//button[@id='notification-menu-button']//span[@class='message-count']", |
1780708
31730