Skip to content

Commit

Permalink
Absorb changes from core
Browse files Browse the repository at this point in the history
Signed-off-by: Darshit Chanpura <dchanp@amazon.com>
  • Loading branch information
DarshitChanpura committed Apr 18, 2024
1 parent 5eb94f9 commit 6369732
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,11 @@ describe('Multi-datasources enabled', () => {
cy.visit(`http://localhost:5601/app/security-dashboards-plugin${localDataSourceUrl}#/tenants`);

cy.contains('h1', 'Dashboards multi-tenancy');
cy.get('[data-test-subj="dataSourceViewContextMenuHeaderLink"]').should(
cy.get('[data-test-subj="dataSourceViewButton"]').should(

Check failure on line 168 in test/cypress/e2e/multi-datasources/multi_datasources_enabled.spec.js

View workflow job for this annotation

GitHub Actions / Run unit tests (macos-latest)

Replace `⏎······'contain',⏎······'Local·cluster'⏎····` with `'contain',·'Local·cluster'`

Check failure on line 168 in test/cypress/e2e/multi-datasources/multi_datasources_enabled.spec.js

View workflow job for this annotation

GitHub Actions / Run unit tests (macos-latest)

Replace `⏎······'contain',⏎······'Local·cluster'⏎····` with `'contain',·'Local·cluster'`

Check failure on line 168 in test/cypress/e2e/multi-datasources/multi_datasources_enabled.spec.js

View workflow job for this annotation

GitHub Actions / Run unit tests (ubuntu-latest)

Replace `⏎······'contain',⏎······'Local·cluster'⏎····` with `'contain',·'Local·cluster'`

Check failure on line 168 in test/cypress/e2e/multi-datasources/multi_datasources_enabled.spec.js

View workflow job for this annotation

GitHub Actions / Run unit tests (windows-latest)

Replace `␍⏎······'contain',␍⏎······'Local·cluster'␍⏎····` with `'contain',·'Local·cluster'`

Check failure on line 168 in test/cypress/e2e/multi-datasources/multi_datasources_enabled.spec.js

View workflow job for this annotation

GitHub Actions / Run unit tests (ubuntu-latest)

Replace `⏎······'contain',⏎······'Local·cluster'⏎····` with `'contain',·'Local·cluster'`

Check failure on line 168 in test/cypress/e2e/multi-datasources/multi_datasources_enabled.spec.js

View workflow job for this annotation

GitHub Actions / Run unit tests (windows-latest)

Replace `␍⏎······'contain',␍⏎······'Local·cluster'␍⏎····` with `'contain',·'Local·cluster'`
'contain',
'Local cluster'
);
cy.get('[data-test-subj="dataSourceViewContextMenuHeaderLink"]').should('be.disabled');
cy.get('[data-test-subj="dataSourceViewButton"]').should('be.disabled');
});

it('Checks Service Accounts Tab', () => {
Expand All @@ -178,11 +178,11 @@ describe('Multi-datasources enabled', () => {
`http://localhost:5601/app/security-dashboards-plugin${localDataSourceUrl}#/serviceAccounts`
);

cy.get('[data-test-subj="dataSourceViewContextMenuHeaderLink"]').should(
cy.get('[data-test-subj="dataSourceViewButton"]').should(

Check failure on line 181 in test/cypress/e2e/multi-datasources/multi_datasources_enabled.spec.js

View workflow job for this annotation

GitHub Actions / Run unit tests (macos-latest)

Replace `⏎······'contain',⏎······'Local·cluster'⏎····` with `'contain',·'Local·cluster'`

Check failure on line 181 in test/cypress/e2e/multi-datasources/multi_datasources_enabled.spec.js

View workflow job for this annotation

GitHub Actions / Run unit tests (macos-latest)

Replace `⏎······'contain',⏎······'Local·cluster'⏎····` with `'contain',·'Local·cluster'`

Check failure on line 181 in test/cypress/e2e/multi-datasources/multi_datasources_enabled.spec.js

View workflow job for this annotation

GitHub Actions / Run unit tests (ubuntu-latest)

Replace `⏎······'contain',⏎······'Local·cluster'⏎····` with `'contain',·'Local·cluster'`

Check failure on line 181 in test/cypress/e2e/multi-datasources/multi_datasources_enabled.spec.js

View workflow job for this annotation

GitHub Actions / Run unit tests (windows-latest)

Replace `␍⏎······'contain',␍⏎······'Local·cluster'␍⏎····` with `'contain',·'Local·cluster'`

Check failure on line 181 in test/cypress/e2e/multi-datasources/multi_datasources_enabled.spec.js

View workflow job for this annotation

GitHub Actions / Run unit tests (ubuntu-latest)

Replace `⏎······'contain',⏎······'Local·cluster'⏎····` with `'contain',·'Local·cluster'`

Check failure on line 181 in test/cypress/e2e/multi-datasources/multi_datasources_enabled.spec.js

View workflow job for this annotation

GitHub Actions / Run unit tests (windows-latest)

Replace `␍⏎······'contain',␍⏎······'Local·cluster'␍⏎····` with `'contain',·'Local·cluster'`
'contain',
'Local cluster'
);
cy.get('[data-test-subj="dataSourceViewContextMenuHeaderLink"]').should('be.disabled');
cy.get('[data-test-subj="dataSourceViewButton"]').should('be.disabled');
});

it('Checks Audit Logs Tab', () => {
Expand All @@ -197,7 +197,7 @@ describe('Multi-datasources enabled', () => {
);

cy.get('[data-test-subj="general-settings-configure"]').click();
cy.get('[data-test-subj="dataSourceViewContextMenuHeaderLink"]').should('contain', '9202');
cy.get('[data-test-subj="dataSourceViewButton"]').should('contain', '9202');

cy.get('[data-test-subj="comboBoxInput"]').last().type('blah');
cy.get('[data-test-subj="save"]').click();
Expand Down

0 comments on commit 6369732

Please sign in to comment.