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

feat(component-testing): Make specs-list resizeable #14940

Merged
merged 8 commits into from
Feb 8, 2021

Conversation

dmtrKovalenko
Copy link
Contributor

Implement resizing for specs list drawer:

Screen.Recording.2021-02-03.at.17.49.12.mov

runner-ct tests

Also fixed current runner-ct tests, added a couple of tests for the root App component, add percy snapshots and make all of this run on CI.

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Feb 5, 2021

Thanks for taking the time to open a PR!

@cypress
Copy link

cypress bot commented Feb 5, 2021



Test summary

3974 0 52 1


Run details

Project cypress
Status Passed
Commit edcdd15
Started Feb 8, 2021 1:00 AM
Ended Feb 8, 2021 1:12 AM
Duration 11:57 💡
OS Linux Debian - 10.5
Browser Firefox 77

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

Copy link
Contributor

@elevatebart elevatebart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a single comment. If you don't take care of it in this PR, please make a ticket in JIRA.

LGTM.

className="specs-list-container"
data-cy="specs-list-resize-box"
minWidth={200}
maxWidth={windowSize.width / 100 * 80} // 80vw
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you open the specs-list at maximum, then reduce the size of the window, the spec list will not size down.
It feels like it should. But this can be taken care of in a future PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that it is desired behavior. I am not sure one more resize observer is really required here..

@JessicaSachs JessicaSachs self-requested a review February 6, 2021 00:57
@lmiller1990 lmiller1990 merged commit e71af5a into develop Feb 8, 2021
@lmiller1990 lmiller1990 deleted the feat/resizeable-specs-list branch February 8, 2021 01:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants