优化
This commit is contained in:
@@ -178,6 +178,18 @@ const cssRoot = (css: string) => {
|
||||
}
|
||||
|
||||
describe('approved Admin density ownership', () => {
|
||||
it('allows container filters and their final action group to wrap by available width', () => {
|
||||
const source = read('modules/container-loading/pages/ContainersView.vue')
|
||||
for (const style of parse(source).descriptor.styles) {
|
||||
cssRoot(style.content).walkRules(rule => {
|
||||
if (!rule.selector.includes('.query-toolbar__tail')) return
|
||||
rule.walkDecls(decl => {
|
||||
if (decl.prop === 'width') expect(decl.value).not.toBe('100%')
|
||||
if (decl.prop === 'flex') expect(decl.value).not.toBe('0 0 100%')
|
||||
})
|
||||
})
|
||||
}
|
||||
})
|
||||
it('keeps declaration order fields on the continuous cell-editor baseline', () => {
|
||||
const source = read('modules/unified-orders/components/OrderDeclarationEditorDialog.vue')
|
||||
const orderFields = source.slice(source.indexOf('<el-form label-position="left"'), source.indexOf('</el-form>') + '</el-form>'.length)
|
||||
|
||||
Reference in New Issue
Block a user