Temporarily disable pattern import
This commit is contained in:
@@ -21,9 +21,9 @@ test("server-renders the pixel bead application shell", async () => {
|
||||
|
||||
const html = await response.text();
|
||||
assert.match(html, /<title>豆格工坊|图片转拼豆图纸<\/title>/i);
|
||||
assert.match(html, /导入现成图纸/);
|
||||
assert.doesNotMatch(html, /导入现成图纸/);
|
||||
assert.match(html, /MARD 221 基础色卡/);
|
||||
assert.match(html, /原图与现成图纸都只在当前浏览器中处理/);
|
||||
assert.match(html, /图片只在当前浏览器中处理/);
|
||||
assert.doesNotMatch(html, /codex-preview|Your site is taking shape/i);
|
||||
});
|
||||
|
||||
@@ -35,6 +35,7 @@ test("keeps MARD pattern import wired to the crop and recognition flow", async (
|
||||
]);
|
||||
|
||||
assert.match(page, /function importMardPatternImage\(/);
|
||||
assert.match(page, /const ENABLE_PATTERN_IMPORT = false/);
|
||||
assert.match(page, /recognizedCodes/);
|
||||
assert.match(page, /missingCodeAsEmpty/);
|
||||
assert.match(page, /没有识别到 MARD 编码的格子视为空白/);
|
||||
|
||||
Reference in New Issue
Block a user