Skip to content

Commit 4009ce9

Browse files
committed
fix(weblite): match recording-disabled error by i18n key
1 parent cc66516 commit 4009ce9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎applets/weblite/tests/runtime-check.mjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ try {
187187
assert.equal(await page.evaluate(() => typeof window.webApplet), "undefined");
188188
await assert.rejects(
189189
shell.evaluate(() => window.webApplet.invoke("start_web_proxy_recording", {})),
190-
/录像未启用/
190+
/WebProxy\.AppletRecordingDisabled/
191191
);
192192
await shell.screenshot({
193193
path: fileURLToPath(new URL(`../../../release/applets/${mode}-runtime.png`, import.meta.url))

0 commit comments

Comments
 (0)