diff --git a/cypress/integration/common/search.js b/cypress/integration/common/search.js index 020607bf0..6320b5ff4 100644 --- a/cypress/integration/common/search.js +++ b/cypress/integration/common/search.js @@ -87,7 +87,7 @@ Then( ); Then("I select a user entry", () => { - cy.get(".searchable-input .userinfo") + cy.get(".searchable-input .user-info") .first() .trigger("click"); }) diff --git a/webapp/components/PostCard/PostCard.story.js b/webapp/components/PostCard/PostCard.story.js index 4b4c3afcc..5857167f3 100644 --- a/webapp/components/PostCard/PostCard.story.js +++ b/webapp/components/PostCard/PostCard.story.js @@ -1,6 +1,6 @@ import { storiesOf } from '@storybook/vue' import { withA11y } from '@storybook/addon-a11y' -import HcPostCard from './HcPostCard.vue' +import HcPostCard from './PostCard.vue' import helpers from '~/storybook/helpers' helpers.init() diff --git a/webapp/components/UserTeaser/UserTeaser.spec.js b/webapp/components/UserTeaser/UserTeaser.spec.js index 4a6e37df1..cc39e65e5 100644 --- a/webapp/components/UserTeaser/UserTeaser.spec.js +++ b/webapp/components/UserTeaser/UserTeaser.spec.js @@ -1,5 +1,5 @@ import { mount, RouterLinkStub } from '@vue/test-utils' -import User from './User.vue' +import UserTeaser from './UserTeaser.vue' import Vuex from 'vuex' const localVue = global.localVue @@ -7,7 +7,7 @@ const filter = jest.fn(str => str) localVue.filter('truncate', filter) -describe('User', () => { +describe('UserTeaser', () => { let propsData let mocks let stubs @@ -35,7 +35,7 @@ describe('User', () => { const store = new Vuex.Store({ getters, }) - return mount(User, { store, propsData, mocks, stubs, localVue }) + return mount(UserTeaser, { store, propsData, mocks, stubs, localVue }) } it('renders anonymous user', () => {