Skip to content

Commit

Permalink
[Forwardport main] Fix datasources test cases' url assertion when sec…
Browse files Browse the repository at this point in the history
…urity enabled

Signed-off-by: Ryan Liang <[email protected]>
  • Loading branch information
RyanL1997 committed Feb 1, 2024
1 parent 10443bd commit 395e669
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,7 @@ describe('Integration tests for datasources plugin', () => {
visitDatasourcesCreationPage();

cy.get(createS3Button).should('be.visible').click();
cy.url().should(
'include',
DATASOURCES_PATH.DATASOURCES_CONFIG_BASE + '/AmazonS3AWSGlue'
);
cy.url().should('include', 'configure/AmazonS3AWSGlue');

cy.get('h1.euiTitle.euiTitle--medium')
.should('be.visible')
Expand All @@ -70,10 +67,7 @@ describe('Integration tests for datasources plugin', () => {
visitDatasourcesCreationPage();

cy.get(createPrometheusButton).should('be.visible').click();
cy.url().should(
'include',
DATASOURCES_PATH.DATASOURCES_CONFIG_BASE + '/Prometheus'
);
cy.url().should('include', 'configure/Prometheus');

cy.get('h4.euiTitle.euiTitle--medium')
.should('be.visible')
Expand Down

0 comments on commit 395e669

Please sign in to comment.