mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Fix Cypress test 'I_click_on_the_author.js'
This commit is contained in:
parent
9773a7b4ba
commit
1421973a9f
@ -1,7 +1,7 @@
|
||||
import { When } from "cypress-cucumber-preprocessor/steps";
|
||||
|
||||
When('I click on the author', () => {
|
||||
cy.get('.user-teaser')
|
||||
cy.get('[data-test="avatarUserLink"]')
|
||||
.click()
|
||||
.url().should('include', '/profile/')
|
||||
})
|
||||
@ -5,7 +5,7 @@
|
||||
</div>
|
||||
<div v-else :class="[{ 'disabled-content': user.disabled }]" placement="top-start">
|
||||
<div :class="['user-teaser']">
|
||||
<nuxt-link :to="userLink">
|
||||
<nuxt-link :to="userLink" data-test="avatarUserLink">
|
||||
<profile-avatar v-if="showAvatar" :profile="user" size="small" />
|
||||
</nuxt-link>
|
||||
<div class="info flex-direction-column">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user