diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b8a351b15..03c0720c8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,8 +17,8 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version-file: ".nvmrc" - cache: "yarn" + node-version-file: '.nvmrc' + cache: 'yarn' - name: Clone Stack run: | git clone https://github.com/stakwork/sphinx-stack.git stack @@ -67,8 +67,8 @@ jobs: - name: Copy Node.json uses: canastro/copy-file-action@master with: - source: "stack/relay/NODES.json" - target: "relay/nodes.json" + source: 'stack/relay/NODES.json' + target: 'relay/nodes.json' - name: Install run: yarn --immutable @@ -79,8 +79,9 @@ jobs: with: install-command: yarn --immutable browser: chrome + headless: true start: yarn run start-e2e - wait-on: "http://localhost:3000" # Waits for above + wait-on: 'http://localhost:3000' # Waits for above wait-on-timeout: 120 # Waits for 2 minutes # Records to Cypress Dashboard record: true diff --git a/cypress.config.ts b/cypress.config.ts index 1911c5d49..b4fc2b9b4 100644 --- a/cypress.config.ts +++ b/cypress.config.ts @@ -26,6 +26,9 @@ export default defineConfig({ viewportHeight: 900, viewportWidth: 1440, watchForFileChanges: false, + experimentalMemoryManagement: true, + numTestsKeptInMemory: 1, + video: false, }, component: { supportFile: './cypress/support/components.ts',