thing-it-device-browser
Advanced tools
Comparing version 2.3.6 to 2.3.7
@@ -18,5 +18,5 @@ module.exports = { | ||
"templateMarkup": "{\"company\":\"Thing-IT\"}", | ||
"url": "https://progme.de", | ||
"host": "localhost:8002", | ||
"externalHost": "localhost:8002", | ||
"url": "https://www.thing-it.com/console/kiosk/calendar?mesh=5bed35dc7fc65a28e66d7841&calendar=5beda33f4e30c4c33d4a66a4", | ||
"host": "192.168.178.63:8002", | ||
"externalHost": "192.168.178.63:8002", | ||
"tip": "https://www.thing-it.com/console", | ||
@@ -23,0 +23,0 @@ "username": "rwth-admin@thing-it.com", |
{ | ||
"name": "thing-it-device-browser", | ||
"version": "2.3.6", | ||
"version": "2.3.7", | ||
"description": "[thing-it-node] Device Plugin to show a website", | ||
@@ -5,0 +5,0 @@ "authors": "Marvin Erkes", |
@@ -22,11 +22,44 @@ var assert = require("assert"); | ||
/*describe('Start testing', function () { | ||
describe('Start testing', function () { | ||
it('Updating state', function () { | ||
/*it('Updating token', function () { | ||
setInterval(() => { | ||
testDriver.devices[0].refresh(); | ||
}, 500); | ||
}) | ||
});*/ | ||
setTimeout(() => { | ||
testDriver.devices[0].setToken(137453); | ||
}, 10000); | ||
});*/ | ||
it('Updating to wiki', function () { | ||
setTimeout(() => { | ||
var state = JSON.parse(JSON.stringify(testDriver.devices[0].state)); | ||
state.url = 'https://www.thing-it.com/console/kiosk/wiki?mesh=5bed35dc7fc65a28e66d7841&page=5bed3ff2966f8628db03901b&slideshow=10&hideHeader=true'; | ||
state.mode = 'kiosk'; | ||
testDriver.devices[0].updateState(state); | ||
}, 10000); | ||
}); | ||
/*it('Updating to events', function () { | ||
setTimeout(() => { | ||
var state = JSON.parse(JSON.stringify(testDriver.devices[0].state)); | ||
state.url = 'https://www.thing-it.com/console/kiosk/events?mesh=5bed35dc7fc65a28e66d7841&tags=GIS'; | ||
state.mode = 'kiosk'; | ||
testDriver.devices[0].updateState(state); | ||
}, 30000); | ||
}); | ||
it('Updating to welcome', function () { | ||
setTimeout(() => { | ||
var state = JSON.parse(JSON.stringify(testDriver.devices[0].state)); | ||
state.url = 'https://www.thing-it.com/console/kiosk/welcome?mesh=5bed35dc7fc65a28e66d7841&roles=role9'; | ||
state.mode = 'kiosk'; | ||
testDriver.devices[0].updateState(state); | ||
}, 50000); | ||
});*/ | ||
}); | ||
}); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
432645
886