E2E Tests: unify compose files, support Opensearch (#28716)

* Unify docker-compose files, support opensearch and redis
* Support cypress/playwright bools, MM_SERVICE_OVERRIDES input
* Remove unused directives from E2E tests
* [skip ci] Fix ES tests, PR messages
* [skip ci] Fix service pruning on server restart
* [skip ci] Make services overrides a CSV, better param descriptions

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
Mario Vitale
2024-10-18 16:51:24 +02:00
коммит произвёл GitHub
родитель 6af8c2f83e
Коммит 0a14eb3d45
14 изменённых файлов: 171 добавлений и 438 удалений

Просмотреть файл

@@ -78,13 +78,13 @@ describe('MM-T2574 Session Lengths', () => {
},
};
cy.get('#extendSessionLengthWithActivityfalse').check();
cy.get('#extendSessionLengthWithActivityfalse').should('exist').check();
Object.entries(helpText).forEach(([key, value]) => {
cy.findByTestId(key).should('exist');
cy.findByTestId(`${key}help-text`).should('have.text', value.false);
});
cy.get('#extendSessionLengthWithActivitytrue').check();
cy.get('#extendSessionLengthWithActivitytrue').should('exist').check();
Object.entries(helpText).forEach(([key, value]) => {
if (value.true) {
cy.findByTestId(key).should('exist');

Просмотреть файл

@@ -101,11 +101,11 @@ describe('Integrations page', () => {
const cId = clientID as unknown as string;
cy.contains('.item-details', cId).within(() => {
// * Copy button should exist for Client ID
cy.contains('.item-details__token', 'Client ID').within(() => {
cy.contains('.item-details__token', 'Client ID').should('exist').within(() => {
cy.get('.fa-copy').should('exist');
});
cy.contains('.item-details__token', 'Client Secret').within(() => {
cy.contains('.item-details__token', 'Client Secret').should('exist').within(() => {
// * Client secret should not show
cy.contains('*******************').should('exist');
@@ -120,7 +120,7 @@ describe('Integrations page', () => {
cy.findByText('Hide Secret').should('exist');
cy.findByText('Show Secret').should('not.exist');
cy.contains('.item-details__token', 'Client Secret').within(() => {
cy.contains('.item-details__token', 'Client Secret').should('exist').within(() => {
// * Token should not be obscured
cy.contains('*******************').should('not.exist');