Heavily restructuring tests
The instance might have been destroyed at this point so we need to check the variable
Don't make a request if live updates are off and we skip the initial request
Check if variable is defined for test to be able to work separately
Let's check real error returned from server but nor connection_failure
Convert browser.version to number for proper comparison
- more clear API to describe tests;
- allow to execute both new and old tests on the same page;
- use sinon fake server for users/whoami and some canvases requests;
- convert the rest test cases for the Echo.Loader module;
- return back several things removed in the previous commits;
- moving other things here and there for better structure.
Simplify _testRenderers check
Rename "isolatedTest" to "isolate" because it's not a test itself
Convert tests to new format (Configuration, Labels, Cookie, GUI) replacing QUnit.equal with QUnit.strictEqual when necessary
Add support for port in parseURL method, don't capture things we won't use
Tests of Echo.Utils are converted to new format, splitting into separate test cases
Mocking some more server requests for count & search API & canvases
Ability to disable requests mocking
Login/logout user if we don't use mocks
Suffix shoudn't be undefined in any case
Add new tab to entries list otherwise we won't be able to enable/disable it later
Method to compare jquery objects is moved to new tests library
Echo.GUI.Tabs test is converted and improved
Echo.GUI.Dropdown test is converted with sinon.spies