Update WBBR frontend template collection
This commit is contained in:
@@ -14,13 +14,13 @@ async function render() {
|
||||
);
|
||||
}
|
||||
|
||||
test("server-renders the OrbitFlow admin template", async () => {
|
||||
test("server-renders the WBBR admin template", async () => {
|
||||
const response = await render();
|
||||
assert.equal(response.status, 200);
|
||||
assert.match(response.headers.get("content-type") ?? "", /^text\/html\b/i);
|
||||
|
||||
const html = await response.text();
|
||||
assert.match(html, /OrbitFlow/);
|
||||
assert.match(html, /WBBR/);
|
||||
assert.match(html, /下午好,林知夏/);
|
||||
assert.match(html, /流程泳道/);
|
||||
assert.match(html, /定时任务/);
|
||||
|
||||
Reference in New Issue
Block a user