MM-57354: Fix elastic search e2e tests (#27670)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
fb790a860b
Коммит
d71e5e4f4e
@@ -40,15 +40,14 @@ function enableElasticSearch() {
|
||||
// # Enable elastic search via the API
|
||||
cy.apiUpdateConfig({
|
||||
ElasticsearchSettings: {
|
||||
EnableAutocomplete: true,
|
||||
EnableIndexing: true,
|
||||
EnableSearching: true,
|
||||
Sniff: false,
|
||||
},
|
||||
} as Cypress.AdminConfig);
|
||||
|
||||
// # Navigate to the elastic search setting page
|
||||
cy.visit('/admin_console/environment/elasticsearch');
|
||||
cy.get('[data-testid="enableIndexing"] > .col-sm-8 > :nth-child(2)').click();
|
||||
|
||||
// * Test the connection and verify that we are successful
|
||||
cy.contains('button', 'Test Connection').click();
|
||||
|
||||
Ссылка в новой задаче
Block a user