mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
updated notificationstable component test
This commit is contained in:
parent
131b2156d0
commit
8007eb7683
@ -59,8 +59,8 @@ describe('NotificationsTable.vue', () => {
|
||||
wrapper = Wrapper()
|
||||
})
|
||||
|
||||
it('renders a table', () => {
|
||||
expect(wrapper.find('.ds-table').exists()).toBe(true)
|
||||
it('renders a grid table', () => {
|
||||
expect(wrapper.find('.notification-grid').exists()).toBe(true)
|
||||
})
|
||||
|
||||
describe('renders 4 columns', () => {
|
||||
@ -84,7 +84,7 @@ describe('NotificationsTable.vue', () => {
|
||||
describe('Post', () => {
|
||||
let firstRowNotification
|
||||
beforeEach(() => {
|
||||
firstRowNotification = wrapper.findAll('tbody tr').at(0)
|
||||
firstRowNotification = wrapper.findAll('.notification-grid-row').at(0)
|
||||
})
|
||||
|
||||
it('renders the author', () => {
|
||||
@ -117,7 +117,7 @@ describe('NotificationsTable.vue', () => {
|
||||
describe('Comment', () => {
|
||||
let secondRowNotification
|
||||
beforeEach(() => {
|
||||
secondRowNotification = wrapper.findAll('tbody tr').at(1)
|
||||
secondRowNotification = wrapper.findAll('.notification-grid-row').at(1)
|
||||
})
|
||||
|
||||
it('renders the author', () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user