Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug Run Navigation: Frontend Updates #26018

Closed
lmiller1990 opened this issue Mar 6, 2023 · 1 comment · Fixed by #26017
Closed

Debug Run Navigation: Frontend Updates #26018

lmiller1990 opened this issue Mar 6, 2023 · 1 comment · Fixed by #26017
Assignees

Comments

@lmiller1990
Copy link
Contributor

lmiller1990 commented Mar 6, 2023

Build the UI component and associated states in #25899

You will leave heavily on GraphQL for data; the query will be based on

nextRun: runByNumber(runNumber: $nextRunNumber) @include(if: $hasNextRun) {
id
...DebugNewRelevantRunBar
}
with one addition, an allRuns property that contains and array of CloudRun.

gql`
fragment DebugSpecs on Query {
  currentProject {
    id
    cloudProject {
      __typename
      ... on CloudProject {
        id
   
        # This is the additional field
        allRuns: runsByCommitShas(commitShas: $commitShas) {
          id
          # whatever you need
        }
      }
    }
  }
}

Note that allRuns is an array containing various runs and associated with different git hashes; you'll need to do some post-processing to group the runs by git hash.

There's a few different states to consider; these are detailed in the original ticket, #25899, and in Figma (see "Resources" in that ticket).

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Mar 28, 2023

Released in 12.9.0.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v12.9.0, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Mar 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants