Commit 5f29b347 authored by Arthur Verschaeve's avatar Arthur Verschaeve

Tests: add back `persistence` test

In the past we commented out this test because it failed intermittently.
This was simply because the `otherUrl` variable didn't exist and an error
was thrown. Changing `otherUrl` with `about:blank` seemed to fix the issue.

Ref http://en.wikipedia.org/wiki/About_URI_scheme
parent 65a8ecfa
...@@ -285,7 +285,7 @@ module.exports.todoMVCTest = function (frameworkName, baseUrl, speedMode, laxMod ...@@ -285,7 +285,7 @@ module.exports.todoMVCTest = function (frameworkName, baseUrl, speedMode, laxMod
}); });
}); });
/*test.describe('Persistence', function () { test.describe('Persistence', function () {
test.it('should persist its data', function () { test.it('should persist its data', function () {
// set up state // set up state
page.enterItem(TODO_ITEM_ONE); page.enterItem(TODO_ITEM_ONE);
...@@ -302,13 +302,13 @@ module.exports.todoMVCTest = function (frameworkName, baseUrl, speedMode, laxMod ...@@ -302,13 +302,13 @@ module.exports.todoMVCTest = function (frameworkName, baseUrl, speedMode, laxMod
stateTest(); stateTest();
// navigate away and back again // navigate away and back again
browser.get(otherUrl); browser.get('about:blank');
browser.get(baseUrl); browser.get(baseUrl);
// repeat the state test // repeat the state test
stateTest(); stateTest();
}); });
});*/ });
test.describe('Routing', function () { test.describe('Routing', function () {
test.it('should allow me to display active items', function () { test.it('should allow me to display active items', function () {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment