Skip to content

Commit dbaf1b0

Browse files
committed
remove tenant fix for MD
Signed-off-by: Anan <ananzh@amazon.com>
1 parent 9ec295c commit dbaf1b0

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

cypress/integration/core-opensearch-dashboards/opensearch-dashboards/datasource-management-plugin/1_create_datasource.spec.js

-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import {
1717
SERVICE_TYPE_OPENSEARCH,
1818
SERVICE_TYPE_OPENSEARCH_SERVERLESS,
1919
} from '../../../../utils/dashboards/datasource-management-dashboards-plugin/constants';
20-
import { CURRENT_TENANT } from '../../../../utils/commands';
2120

2221
const miscUtils = new MiscUtils(cy);
2322
// Get environment variables
@@ -27,7 +26,6 @@ const password = Cypress.env('password');
2726
if (Cypress.env('DATASOURCE_MANAGEMENT_ENABLED')) {
2827
describe('Create datasources', () => {
2928
before(() => {
30-
CURRENT_TENANT.newTenant = 'global';
3129
// Clean up before creating new data sources for testing
3230
cy.deleteAllDataSources();
3331
});

cypress/integration/core-opensearch-dashboards/opensearch-dashboards/datasource-management-plugin/2_datasource_table.spec.js

-2
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,13 @@ import {
77
TIMEOUT_OPTS,
88
OSD_TEST_DOMAIN_ENDPOINT_URL,
99
} from '../../../../utils/dashboards/datasource-management-dashboards-plugin/constants';
10-
import { CURRENT_TENANT } from '../../../../utils/commands';
1110

1211
const searchFieldIdentifier = 'input[type="search"]';
1312
const tableHeadIdentifier = 'thead > tr > th';
1413

1514
if (Cypress.env('DATASOURCE_MANAGEMENT_ENABLED')) {
1615
describe('Datasource Management: Table', () => {
1716
before(() => {
18-
CURRENT_TENANT.newTenant = 'global';
1917
// Visit Data Sources OSD
2018
cy.visitDataSourcesListingPage();
2119
});

cypress/integration/core-opensearch-dashboards/opensearch-dashboards/datasource-management-plugin/3_update_datasource.spec.js

-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import {
1313
AUTH_TYPE_NO_AUTH,
1414
AUTH_TYPE_SIGV4,
1515
} from '../../../../utils/dashboards/datasource-management-dashboards-plugin/constants';
16-
import { CURRENT_TENANT } from '../../../../utils/commands';
1716

1817
const passwordFieldIdentifier =
1918
'input[type="password"][data-test-subj="updateDataSourceFormPasswordField"]';
@@ -42,7 +41,6 @@ const clickOnTableRowTitleColumnByValue = (value) => {
4241
if (Cypress.env('DATASOURCE_MANAGEMENT_ENABLED')) {
4342
describe('Datasource Management: Update', () => {
4443
before(() => {
45-
CURRENT_TENANT.newTenant = 'global';
4644
// Clean up before creating new data sources for testing
4745
cy.deleteAllDataSources();
4846
// Create

0 commit comments

Comments
 (0)