Skip to content

Commit

Permalink
Fix acceptance tests for new DOM structure of restyled OcNotification…
Browse files Browse the repository at this point in the history
…Message
  • Loading branch information
pascalwengerter committed Jun 29, 2022
1 parent 8cf0c19 commit 9b531ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/acceptance/pageObjects/webPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ module.exports = {
elements: {
message: {
selector:
'//*[contains(@class, "oc-notification-message")]/div/div[contains(@class, "oc-notification-message-title")]',
'//*[contains(@class, "oc-notification-message")]//div[contains(@class, "oc-notification-message-title")]',
locateStrategy: 'xpath'
},
messages: {
Expand All @@ -278,7 +278,7 @@ module.exports = {
},
errorMessage: {
selector:
'//*[contains(@class, "oc-notification-message-danger")]/div/div[contains(@class, "oc-notification-message-title")]',
'//*[contains(@class, "oc-notification-message-danger")]//div[contains(@class, "oc-notification-message-title")]',
locateStrategy: 'xpath'
},
errorMessages: {
Expand Down

0 comments on commit 9b531ca

Please sign in to comment.