chore: fix tests after picocrank update
This commit is contained in:
parent
e1f8c01fe5
commit
9702b42712
|
|
@ -32,7 +32,7 @@ describe('config: dashboards with basic fieldsets', function () {
|
||||||
await openSidebar()
|
await openSidebar()
|
||||||
|
|
||||||
const navigationLinks = await getNavigationLinks()
|
const navigationLinks = await getNavigationLinks()
|
||||||
assert.equal(navigationLinks.length, 5, 'Expected the nav to only have 5 links') // test dashboard + logs + diagnostics + entities + separator
|
assert.equal(navigationLinks.length, 4, 'Expected the nav to only have 4 links') // test dashboard + entities + logs + diagnostics
|
||||||
|
|
||||||
const firstLink = await navigationLinks[0]
|
const firstLink = await navigationLinks[0]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,6 @@ describe('config: empty dashboards are hidden', function () {
|
||||||
|
|
||||||
const navigationLinks = await getNavigationLinks()
|
const navigationLinks = await getNavigationLinks()
|
||||||
expect(navigationLinks).to.not.be.empty
|
expect(navigationLinks).to.not.be.empty
|
||||||
expect(navigationLinks.length).to.be.equal(4, 'Expected the nav to only have 4 links')
|
expect(navigationLinks.length).to.be.equal(3, 'Expected the nav to only have 3 links') // entities + logs + diagnostics
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue