Add following to the $httpProvider:
- $httpProvider.defaults.useXDomain = true;
- $httpProvider.defaults.withCredentials = true;
- delete $httpProvider.defaults.headers.common[‘X-Requested-With’];
Frameworks like Protractor can be used to write UI E2E tests that can then run on real browsers or headless on a server using PhantomJS or headless chrome.
With the tests running remotely, the client then just execute the test suite with a single click from anywhere remotely. The test results can then be published out on a website or via mail.
If the field name is a.b then applying eval etc on that doesn’t work so first rename it. Eg.
| rename a.b AS "test1" | eval tk=upper(test1) | chart count over tk by x