Skip to content

Commit

Permalink
Clean up test data
Browse files Browse the repository at this point in the history
  • Loading branch information
geido committed Sep 12, 2022
1 parent 24cee14 commit 1318e88
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ describe('Test explore links', () => {

cy.request(apiURL('/api/v1/chart/', query)).then(response => {
expect(response.body.count).equals(1);
cy.request('DELETE', `/api/v1/chart/${response.body.ids[0]}`);
});
cy.deleteChartByName(newChartName, true);
});
});

Expand Down Expand Up @@ -183,5 +183,6 @@ describe('Test explore links', () => {
cy.request(apiURL('/api/v1/dashboard/', query)).then(response => {
expect(response.body.count).equals(1);
});
cy.deleteDashboardByName(dashboardTitle, true);
});
});

0 comments on commit 1318e88

Please sign in to comment.