Skip to content

Commit b2f0c6e

Browse files
committed
add MDS validate
Signed-off-by: yubonluo <yubonluo@amazon.com>
1 parent ddca1d9 commit b2f0c6e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cypress/utils/dashboards/workspace-plugin/test-cases/mds_workspace_copy.cases.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,10 @@ export const WorkspaceCopyTestCases = () => {
9494
});
9595
};
9696

97-
if (Cypress.env('WORKSPACE_ENABLED')) {
97+
if (
98+
Cypress.env('WORKSPACE_ENABLED') &&
99+
Cypress.env('DATASOURCE_MANAGEMENT_ENABLED')
100+
) {
98101
before(() => {
99102
cy.deleteAllWorkspaces();
100103
cy.createDataSourceNoAuth({ title: dataSourceTitle1 }).then((result) => {

0 commit comments

Comments
 (0)