From 7ef6431b6417516a60d606de6a88b0141fe0add0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20N=C3=A9grier?= Date: Wed, 24 Nov 2021 10:21:35 +0100 Subject: [PATCH] More CI debug --- tests/.testcaferc.js | 2 +- tests/tests/test.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/.testcaferc.js b/tests/.testcaferc.js index 16ecc4c0..20529860 100644 --- a/tests/.testcaferc.js +++ b/tests/.testcaferc.js @@ -3,7 +3,7 @@ const BROWSER = process.env.BROWSER || "chrome --use-fake-device-for-media-strea module.exports = { "browsers": BROWSER, "hostname": "localhost", - "skipJsErrors": true, + //"skipJsErrors": true, "src": "tests/", "screenshots": { "path": "screenshots/", diff --git a/tests/tests/test.ts b/tests/tests/test.ts index e9fb893b..e7f3bdba 100644 --- a/tests/tests/test.ts +++ b/tests/tests/test.ts @@ -35,7 +35,9 @@ test("Test that variables cache in the back don't prevent setting a variable in const messages = await t.getBrowserConsoleMessages(); const logs = messages['log']; + console.log(logs); const lastMessage = logs.pop(); + // Let's check we successfully manage to save the variable value. await t.expect(lastMessage).eql('SUCCESS!'); });