进行了一些小修复
This commit is contained in:
@@ -37,6 +37,8 @@ test('front submit follows the reference newposts shell and cards', () => {
|
||||
const pay = read('templates/parts/submit/sidebar-pay.php');
|
||||
const submit = read('templates/parts/submit/sidebar-submit.php');
|
||||
const submitJs = read('assets/js/front-submit.js');
|
||||
const submitCss = read('assets/css/frontend/pages/submit.css');
|
||||
const mainCss = read('assets/css/main.css');
|
||||
|
||||
assert.match(page, /content-wrap newposts-wrap/);
|
||||
assert.match(page, /class="content-layout"/);
|
||||
@@ -48,6 +50,9 @@ test('front submit follows the reference newposts shell and cards', () => {
|
||||
assert.match(terms, /aksrt_submit_render_term_checks\(\$ctx\['categories'\], array_map\('intval', \$ctx\['current_cats'\]\), 'category'\)/);
|
||||
assert.doesNotMatch(terms, /aria-expanded=/);
|
||||
assert.doesNotMatch(submitJs, /bindDropSelect|term-select-box \[data-toggle-class/);
|
||||
assert.doesNotMatch(submitCss, /\.term-select-box \.dropdown-menu|\.term-select-box \.drop-select\s*{/);
|
||||
assert.match(mainCss, /\.drop-select \.dropdown-menu\s*{[^}]*box-shadow:\s*0 0 0 8000px/);
|
||||
assert.match(mainCss, /\.open > \.dropdown-menu\s*{[^}]*visibility:\s*unset/);
|
||||
assert.match(pay, /zib-widget dependency-box mb10-sm newpost-pay-box/);
|
||||
assert.match(pay, /pay-dawnload-edit/);
|
||||
assert.match(submit, /separator muted-3-color theme-box/);
|
||||
|
||||
Reference in New Issue
Block a user