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

[IATR](M0) Failures page spec component #24443

Closed
warrensplayer opened this issue Oct 28, 2022 · 3 comments
Closed

[IATR](M0) Failures page spec component #24443

warrensplayer opened this issue Oct 28, 2022 · 3 comments
Assignees
Labels
CT Issue related to component testing

Comments

@warrensplayer
Copy link
Contributor

warrensplayer commented Oct 28, 2022

Create a component to represent a spec file that has test failures during a cloud recorded run.

NOTE: M0 issues will be committed against a feature branch and not released

UI Design

  • Container that contain a header and a body that will contain a list of Test components
  • Header will contain spec file name, relative path to test within the project, and a "Run Spec" button
  • "Run Spec" button
    • disabled if the spec file is not found in the local project, this will be indicated with a prop for foundInLocalProject being set to true
    • if the button is enabled and clicked by the user, the user will be taken to the runner for that spec and the entire spec will be run

image

Wireframe from Whimsical. Final design is in progress. This component is just the container and header.

Inputs

  • Spec {object}
    • file name {string}
    • relative path to file within the project {string}
    • Collection of failed tests {array{object}}
    • The cloud may return more data in a spec that is not being currently used.
  • foundInLocalProject {boolean} - used to enable the 'Run Spec' button only if

Resources

@warrensplayer warrensplayer changed the title [IATR] Failures page spec component [IATR](V0) Failures page spec component Oct 28, 2022
@warrensplayer warrensplayer added the CT Issue related to component testing label Oct 28, 2022
@warrensplayer warrensplayer changed the title [IATR](V0) Failures page spec component [IATR](M0) Failures page spec component Nov 3, 2022
@warrensplayer
Copy link
Contributor Author

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Dec 2, 2022

The code for this is done in cypress-io/cypress#24877, but has yet to be released.
We'll update this issue and reference the changelog when it's released.

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Dec 6, 2022

Released in 12.0.0.

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

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Dec 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CT Issue related to component testing
Projects
None yet
Development

No branches or pull requests

2 participants