Fix mpl FE tests
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
>
|
||||
<div
|
||||
class="d-flex"
|
||||
style="height: 300px"
|
||||
style="height: 300px;"
|
||||
>
|
||||
<b-img
|
||||
v-if="current"
|
||||
@@ -242,9 +242,7 @@ export default {
|
||||
flex: 1 1 auto;
|
||||
width: 1%;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.block-selector {
|
||||
&:not(.vs--open) .vs__selected + .vs__search {
|
||||
// force this to not use any space
|
||||
// we still need it to be rendered for the focus
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { NoID } from '../../cast'
|
||||
import { expect } from 'chai'
|
||||
import { Page } from './page'
|
||||
import { PageBlock } from './page-block'
|
||||
|
||||
describe(__filename, () => {
|
||||
describe('initialization', () => {
|
||||
@@ -54,7 +55,7 @@ describe(__filename, () => {
|
||||
|
||||
blocks: [
|
||||
{ kind: 'RecordList', xywh: [0, 0, 3, 3] },
|
||||
],
|
||||
] as PageBlock[],
|
||||
|
||||
createdAt: dateNow,
|
||||
updatedAt: dateNow,
|
||||
@@ -131,7 +132,7 @@ describe(__filename, () => {
|
||||
visible: true,
|
||||
blocks: [
|
||||
{ kind: 'RecordList', xywh: [0, 0, 3, 3] },
|
||||
],
|
||||
] as PageBlock[],
|
||||
})
|
||||
|
||||
const pageExport = page.export()
|
||||
@@ -146,7 +147,7 @@ describe(__filename, () => {
|
||||
const page = new Page({
|
||||
blocks: [
|
||||
{ kind: 'RecordList', xywh: [0, 0, 3, 3] },
|
||||
],
|
||||
] as PageBlock[],
|
||||
})
|
||||
|
||||
expect(page.validate()).to.deep.eq([])
|
||||
@@ -166,7 +167,7 @@ describe(__filename, () => {
|
||||
{ kind: 'RecordList', xywh: [0, 0, 3, 3] },
|
||||
{ kind: 'RecordOrganizer', xywh: [0, 0, 3, 3] },
|
||||
{ kind: 'SocialFeed', xywh: [0, 0, 3, 3] },
|
||||
],
|
||||
] as PageBlock[],
|
||||
})
|
||||
|
||||
expect(p.blocks).lengthOf(8)
|
||||
|
||||
Reference in New Issue
Block a user