Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes the span item to reflect correct text #1439

Merged
merged 4 commits into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ if (Cypress.env('SECURITY_ENABLED')) {

cy.reload();

cy.contains('h3', 'Tenants');
cy.contains('h3', 'Dashboards tenants');
// should contain the new tenant that was just created
cy.contains('.euiTableCellContent', tenantName);
cy.contains('span', tenantDescription);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ if (Cypress.env('SECURITY_ENABLED')) {
}
);

cy.contains('span', 'Create user account');
cy.contains('span', 'Create internal user');

cy.url().should((url) => {
expect(url).to.not.contain('/users/create');
Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/plugins/security/roles_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ if (Cypress.env('SECURITY_ENABLED')) {
.click({ force: true });

cy.contains('span', 'cluster:admin/opendistro/ad/detector/search').should(
'not.exist'
'exist'
);
});

Expand Down
4 changes: 2 additions & 2 deletions cypress/integration/plugins/security/tenants_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if (Cypress.env('SECURITY_ENABLED')) {
}
);

cy.contains('h3', 'Tenants');
cy.contains('h3', 'Dashboards tenants');

// One of the many tenants
cy.contains('.euiTableCellContent', 'Global');
Expand Down Expand Up @@ -69,7 +69,7 @@ if (Cypress.env('SECURITY_ENABLED')) {
expect(url).to.contain('/tenants');
});

cy.contains('h3', 'Tenants');
cy.contains('h3', 'Dashboards tenants');
// should contain the new tenant that was just created
cy.contains('.euiTableCellContent', tenantName);
cy.contains('span', tenantDescription);
Expand Down
Loading