Remove more code

pull/28217/head
R Midhun Suresh 2023-11-09 00:26:57 +05:30
parent 8df76839b2
commit a3d34af80b
No known key found for this signature in database
2 changed files with 4 additions and 5 deletions

View File

@ -162,15 +162,15 @@ jobs:
wait-on: "http://localhost:8080" wait-on: "http://localhost:8080"
record: true record: true
parallel: false parallel: false
command: "yarn percy exec --parallel -- npx cypress-cloud run" command: "yarn percy exec --parallel --"
ci-build-id: ${{ needs.prepare.outputs.uuid }}-${{ matrix.crypto }} ci-build-id: ${{ needs.prepare.outputs.uuid }}-${{ matrix.crypto }}
spec: cypress/e2e/[${{ matrix.segment }}]*/** spec: cypress/e2e/[${{ matrix.segment }}]*/**
env: env:
# pass the Dashboard record key as an environment variable # pass the Dashboard record key as an environment variable
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
CURRENTS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} # CURRENTS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
CURRENTS_PROJECT_ID: ${{ github.repository }} # CURRENTS_PROJECT_ID: ${{ github.repository }}
CURRENTS_API_URL: ${{ vars.CURRENTS_API_URL }} # CURRENTS_API_URL: ${{ vars.CURRENTS_API_URL }}
# Use existing chromium rather than downloading another # Use existing chromium rather than downloading another
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true

View File

@ -20,7 +20,6 @@ import "@percy/cypress";
import "cypress-real-events"; import "cypress-real-events";
import "@testing-library/cypress/add-commands"; import "@testing-library/cypress/add-commands";
import installLogsCollector from "cypress-terminal-report/src/installLogsCollector"; import installLogsCollector from "cypress-terminal-report/src/installLogsCollector";
import "cypress-cloud/support";
import "./config.json"; import "./config.json";
import "./homeserver"; import "./homeserver";