mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-09 16:47:37 +03:00
satisfy codeql check
This commit is contained in:
parent
ba9ed4e9c6
commit
cc5ca96566
@ -201,7 +201,7 @@ test.describe("Navigation - Settings Menu @critical", () => {
|
|||||||
if (await menuItem.isVisible().catch(() => false)) {
|
if (await menuItem.isVisible().catch(() => false)) {
|
||||||
await menuItem.click();
|
await menuItem.click();
|
||||||
await expect(frigateApp.page).toHaveURL(
|
await expect(frigateApp.page).toHaveURL(
|
||||||
new RegExp(target.url.replace(/\//g, "\\/")),
|
new RegExp(target.url.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user