mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-01-15 01:14:39 +00:00
Fix Cypress test for notification on Build
This commit is contained in:
parent
5f9156c750
commit
f4b90a449e
@ -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
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user