a82f4e1813
The first test is testing a tricky cache scenario with the back when testing variables. The end-to-end package used is testcafe.
6 lines
222 B
JavaScript
6 lines
222 B
JavaScript
WA.onInit().then(async () => {
|
|
console.log('Trying to set variable "myvar". This should work, even if the cache was busted.');
|
|
await WA.state.saveVariable('myvar', {'foo': 'bar'});
|
|
console.log('SUCCESS!');
|
|
});
|