More CI debug

This commit is contained in:
David Négrier 2021-11-24 10:21:35 +01:00
parent 806b97afab
commit 7ef6431b64
2 changed files with 3 additions and 1 deletions

View file

@ -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/",

View file

@ -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!');
});