chore: V1 charts load cypress tests (#11685)

* Enabled assertion on v1 chart request

* added missing code after rebase

* extracted alias logic to function

* modified v1 requests to contain form data, added assertion on ui elements using slice id from request
This commit is contained in:
adam-stasiak-polidea
2020-11-16 08:08:35 +01:00
committed by GitHub
parent 700c7c524e
commit 2f036e9359
5 changed files with 57 additions and 27 deletions

View File

@@ -40,7 +40,7 @@ describe('Visualization > Box Plot', () => {
beforeEach(() => {
cy.server();
cy.login();
cy.route('POST', '/api/v1/chart/data').as('getJson');
cy.route('POST', '/api/v1/chart/data*').as('getJson');
});
it('should work', () => {