[APM] Fix cypress memory issue due to log panel (#167623)

## Summary

Recent [EUI bump](https://github.com/elastic/kibana/pull/166868) from
v88.3.0 to v88.5.0 increased the memory usage significantly. Due to
which Cypress Tests started failing due to browser crashing with memory
limits. EUI team has been informed about this.

As reverting EUI is not a simple change, disabling the Cypress Log panel
solves the problem for now. Details can be found
[here](https://github.com/cypress-io/cypress/issues/27415#issuecomment-1668073106)

This brings change to how we run the Cypress Test in Head Mode

## Before


![image](12a92c64-2e31-4423-8e8a-94a311757bd7)

## After

![image
(1)](d3a522c9-66e8-497c-b046-32a6c866b600)
This commit is contained in:
Achyut Jhunjhunwala 2023-09-29 16:31:51 +02:00 committed by GitHub
parent 567a6de977
commit 2047a5556a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -123,7 +123,7 @@ describe('Agent configuration', () => {
.click({ force: true })
.type('All');
cy.get('mark').contains('All').click();
cy.get('mark').contains('All').click({ force: true });
cy.contains('Next step').click();
cy.contains('Service name All');
cy.contains('Environment All');

View file

@ -76,6 +76,7 @@ export async function cypressTestRunner({ getService }: FtrProviderContext) {
ES_NODE: esNode,
ES_REQUEST_TIMEOUT: esRequestTimeout,
TEST_CLOUD: process.env.TEST_CLOUD,
NO_COMMAND_LOG: 1, // Temp fix, With Cypress 13, this might not be required https://github.com/elastic/kibana/pull/162383
},
});