From f4b90a449e82759758944507c8f14de149addff9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Wolfgang=20Hu=C3=9F?=
Date: Mon, 6 Apr 2020 10:11:59 +0200
Subject: [PATCH] Fix Cypress test for notification on Build
---
cypress/integration/common/steps.js | 2 +-
webapp/components/Notification/Notification.vue | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cypress/integration/common/steps.js b/cypress/integration/common/steps.js
index 287058f84..dcea9fff5 100644
--- a/cypress/integration/common/steps.js
+++ b/cypress/integration/common/steps.js
@@ -388,7 +388,7 @@ Then("I can login successfully with password {string}", password => {
When("open the notification menu and click on the first item", () => {
cy.get(".notifications-menu").invoke('show').click(); // "invoke('show')" because of the delay for show the menu
- cy.get('[data-test="notification-base-card"]')
+ cy.get(".notification .base-card")
.first()
.click({
force: true
diff --git a/webapp/components/Notification/Notification.vue b/webapp/components/Notification/Notification.vue
index 7d6902924..bae604a09 100644
--- a/webapp/components/Notification/Notification.vue
+++ b/webapp/components/Notification/Notification.vue
@@ -16,7 +16,7 @@
}}
-
+
{{ notificationData.title }}