进行了一些小修复
This commit is contained in:
@@ -75,6 +75,16 @@ test('front submit paid resources use the reference modal editor and compact lis
|
||||
assert.doesNotMatch(downloads, /shop|forum|bbs_/i);
|
||||
});
|
||||
|
||||
test('front submit paid-content prices and switch use the reference alignment rules', () => {
|
||||
const pay = read('templates/parts/submit/sidebar-pay.php');
|
||||
const submitCss = read('assets/css/frontend/pages/submit.css');
|
||||
|
||||
assert.match(pay, /<div class="form-switch flex0"><\/div>/);
|
||||
assert.match(submitCss, /\.newpost-pay-price \.line-form-input\s*{[^}]*text-align:\s*right;/);
|
||||
assert.doesNotMatch(submitCss, /\.newpost-pay-price \.line-form-input\s*{[^}]*width:\s*130px;/);
|
||||
assert.doesNotMatch(submitCss, /\.newpost-pay-box \.form-switch(?:::after)?\s*{/);
|
||||
});
|
||||
|
||||
test('front submit image and visibility actions live in the TinyMCE toolbar', () => {
|
||||
const main = read('templates/parts/submit/editor-main.php');
|
||||
const page = read('templates/pages/page-submit.php');
|
||||
|
||||
Reference in New Issue
Block a user