Skip to content

Commit

Permalink
Remove no need changes
Browse files Browse the repository at this point in the history
Signed-off-by: Lin Wang <[email protected]>
  • Loading branch information
wanglam committed Sep 12, 2024
1 parent fa4fb0d commit ca008d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ if (Cypress.env('WORKSPACE_ENABLED')) {

beforeEach(() => {
cy.visit(`/w/${workspaceId}/app/import_sample_data`);
cy.waitForLoader();
if (MDSEnabled) {
cy.selectFromDataSourceSelector(dataSourceTitle, dataSourceId);
}
Expand Down
4 changes: 1 addition & 3 deletions cypress/utils/dashboards/workspace-plugin/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ Cypress.Commands.add('deleteWorkspaceByName', (workspaceName) => {
headers: {
'osd-xsrf': true,
},
body: {
perPage: 9999,
},
body: {},
}).then((resp) => {
if (resp && resp.body && resp.body.success) {
resp.body.result.workspaces.map(({ name, id }) => {
Expand Down

0 comments on commit ca008d6

Please sign in to comment.