Fix Cypress test for notification on Build

This commit is contained in:
Wolfgang Huß 2020-04-06 10:11:59 +02:00
parent 5f9156c750
commit f4b90a449e
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -16,7 +16,7 @@
}}
</p>
<nuxt-link class="link" :to="notificationData.linkTo" @click.native="$emit('read')">
<base-card wideContent data-test="notification-base-card">
<base-card wideContent>
<h2 v-if="notificationData.isPost || notificationData.isComment" class="title">
{{ notificationData.title }}
</h2>