currents-dev/cypress-cloud

Tags don't get to sorry cypress dashboard

Closed this issue · 7 comments

Before opening, please confirm:

  • I have searched for duplicate or closed issues and discussions.
  • I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
  • I acknowledge that I will attach a full debug log, otherwise the issue will be closed with no response.

Environment information

# Put output below this line


Describe the bug

When running cypress-cloud with --tag it runs the tests but the tag do not appear on the sorry cypress dashboard.

Tested with version 1.4.1

Expected behavior

The given tag to get to the cypress dashboard.

Command and Setup

I run with pnpm the following command
pnpm cypress-cloud --parallel --key=$CURRENTS_RECORD_KEY run --config-file cypress.ci.config.ts --ci-build-id $CI_BUILD_ID --tag $TAGS

where $TAGS is a simple string like "my-tag"

Full log and debug output

// Put your logs below this line
   Discovered 62 spec files
   Tags: 12.0.40-renovate-sentry1; Group: false; Parallel: true; Batch Size: 3
   Connecting to cloud orchestration service...

2023-03-10T12:16:58.989Z currents:ci {
  branch: 'debug-cypress-cloud',
  remoteOrigin: '<snip>',
  authorEmail: '<snip>',
  authorName: '<snip>,
  message: 'Try debugging cypress cloud run\n',
  sha: '5cd49b9f34dda4c7acb44e7b6f303ba30476611b'
}
   Tags: 12.0.40-debug-cypress-cloud2; Group: false; Parallel: true; Batch Size: 3
   Connecting to cloud orchestration service...
2023-03-10T12:16:58.991Z currents:api network request: { method: 'POST', url: '/runs', data: { ci: { params: {}, provider: null }, specs: [<snip-long-list-of-specs> ], commit: { branch: 'debug-cypress-cloud', remoteOrigin: '<snip>', authorEmail: '<snip>', authorName: '<snip>', message: 'Try debugging cypress cloud run\n', sha: '5cd49b9f34dda4c7acb44e7b6f303ba30476611b' }, group: undefined, platform: { osName: 'linux', osVersion: 'Debian - 11.6', osCpus: [Array], osMemory: [Object], browserName: 'Electron', browserVersion: '106.0.5249.51' }, parallel: true, ciBuildId: '802398842', projectId: '<snip>', recordKey: '<snip>', specPattern: [ 'cypress/e2e/**/*.cy.{js,jsx,ts,tsx}' ], tags: [ '12.0.40-debug-cypress-cloud2' ], testingType: 'e2e', batchSize: 3 } }
2023-03-10T12:16:59.052Z currents:api network request response: { status: 200, statusText: 'OK', headers: AxiosHeaders { 'x-powered-by': 'Express', 'content-type': 'application/json; charset=utf-8', 'content-length': '222', etag: 'W/"de-EBGeqnexR1Ku41cko97e093D8kA"', date: 'Fri, 10 Mar 2023 12:16:59 GMT', connection: 'close' }, data: { groupId: '802398842', machineId: 'b280fb2a-47fc-42bb-b18d-069fdccc52aa', runId: '33b57bfd10d28f269c7594bae08969d0', runUrl: '<snip>', isNewRun: true, warnings: [] } }
2023-03-10T12:16:59.052Z currents:capture resetting captured stdout
2023-03-10T12:16:59.053Z currents:api network request: { method: 'POST', url: 'runs/33b57bfd10d28f269c7594bae08969d0/instances', data: { runId: '33b57bfd10d28f269c7594bae08969d0', groupId: '802398842', machineId: 'b280fb2a-47fc-42bb-b18d-069fdccc52aa', platform: { osName: 'linux', osVersion: 'Debian - 11.6', osCpus: [Array], osMemory: [Object], browserName: 'Electron', browserVersion: '106.0.5249.51' } } }
2023-03-10T12:16:59.085Z currents:api network request response: { status: 200, statusText: 'OK', headers: AxiosHeaders { 'x-powered-by': 'Express', 'content-type': 'application/json; charset=utf-8', 'content-length': '147', etag: 'W/"93-KTvAcqoDNZM8DgbxZOtFGiHav2E"', date: 'Fri, 10 Mar 2023 12:16:59 GMT', connection: 'close' }, data: { spec: '<snip>', instanceId: '6e6e42be-3d3d-4890-b47d-daf1f3b108a9', claimedInstances: 1, totalInstances: 62 } }

@arendjantetteroo please submit the full log

@agoldis i'll need to put that into a pipeline so that will take an hour. I'll get back to you.

I don't think sorry-cypress shows tags at all btw

@agoldis well in that case that would explain it :)

@agoldis Updated the description with the relevant log entries.

Looking at the sorry-cypress repository and searching for "tag" doesn't find anything code related to indeed handle storing or showing tags. So i guess this issue should move to the sorry cypress project instead.

Yep... closing