fix(map-objectives): read Playwright request failure via errorText
This commit is contained in:
parent
3bef63af33
commit
80f71dc917
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ test.describe("Strategic objectives", () => {
|
|||
});
|
||||
page.on("pageerror", (err) => console.log("[PAGE ERROR]", err.message));
|
||||
page.on("requestfailed", (req) =>
|
||||
console.log("[REQUEST FAILED]", req.url(), req.failure()?.text ?? ""),
|
||||
console.log("[REQUEST FAILED]", req.url(), req.failure()?.errorText ?? ""),
|
||||
);
|
||||
|
||||
const mapRes = await page.request.post("/api/maps", {
|
||||
|
|
|
|||
Loading…
Reference in a new issue