Skip to content

Commit

Permalink
Refactor audit logs tests
Browse files Browse the repository at this point in the history
Signed-off-by: Darshit Chanpura <[email protected]>
  • Loading branch information
DarshitChanpura committed Apr 18, 2024
1 parent 12b4242 commit 8dd0976
Showing 1 changed file with 2 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,17 +178,10 @@ describe('Multi-datasources enabled', () => {
});

it('Checks Audit Logs Tab', () => {
// Select remote cluster
cy.visit(
`http://localhost:5601/app/security-dashboards-plugin${externalDataSourceUrl}#/auditLogging`
);

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)

Delete `⏎`

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)

Delete `⏎`

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)

Delete `␍⏎`
cy.get('[data-test-subj="dataSourceSelectableContextMenuHeaderLink"]').should(
'contain',
'9202'
cy.visit(
`http://localhost:5601/app/security-dashboards-plugin${externalDataSourceUrl}#/auditLogging/edit/generalSettings`
);

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

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

0 comments on commit 8dd0976

Please sign in to comment.