More CI debug
This commit is contained in:
parent
806b97afab
commit
7ef6431b64
@ -3,7 +3,7 @@ const BROWSER = process.env.BROWSER || "chrome --use-fake-device-for-media-strea
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
"browsers": BROWSER,
|
"browsers": BROWSER,
|
||||||
"hostname": "localhost",
|
"hostname": "localhost",
|
||||||
"skipJsErrors": true,
|
//"skipJsErrors": true,
|
||||||
"src": "tests/",
|
"src": "tests/",
|
||||||
"screenshots": {
|
"screenshots": {
|
||||||
"path": "screenshots/",
|
"path": "screenshots/",
|
||||||
|
@ -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 messages = await t.getBrowserConsoleMessages();
|
||||||
|
|
||||||
const logs = messages['log'];
|
const logs = messages['log'];
|
||||||
|
console.log(logs);
|
||||||
const lastMessage = logs.pop();
|
const lastMessage = logs.pop();
|
||||||
|
|
||||||
// Let's check we successfully manage to save the variable value.
|
// Let's check we successfully manage to save the variable value.
|
||||||
await t.expect(lastMessage).eql('SUCCESS!');
|
await t.expect(lastMessage).eql('SUCCESS!');
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user