Skip to content

Commit

Permalink
EMA-150 auto test memory optimizing
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanyi committed Jul 28, 2024
1 parent 50029d9 commit d17f3c5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev/testv2/cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ module.exports = defineConfig({
pageLoadTimeout: 120000,
experimentalMemoryManagement: true,
experimentalModifyObstructiveThirdPartyCode: true,
modifyObstructiveCode: true,
numTestsKeptInMemory: 0,
blockHosts: ['*snippet.url.com', '*scarabresearch.com'],
env: {
Expand Down
4 changes: 4 additions & 0 deletions dev/testv2/tools/docker/Dockerfile-mage-node
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ FROM registry.itg.cloud/itg-commerce/emarsys-magento2-extension-test/cypress:13.
ARG NPM_TOKEN
ENV NPM_TOKEN=${NPM_TOKEN}

RUN apt-get update && apt-get install -y dbus
RUN mkdir -p /run/dbus && \
dbus-daemon --system --fork

COPY testv2 /test

WORKDIR /test
Expand Down

0 comments on commit d17f3c5

Please sign in to comment.