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

Consolidating view_components previews into test/previews/ folder #1232

Merged
merged 16 commits into from
Jul 27, 2022

Conversation

jonrohan
Copy link
Member

@jonrohan jonrohan commented Jul 27, 2022

The goal of this PR is to consolidate new lookbook VC previews with the system related tests added for JS components.

I wanted to simplify our previews here and tests. This will open us to writing tests with render_preview from VC.

What it does:

  • Move demo/test/components/previews to test/previews
  • Load previews in test suite
  • Combine duplicate previews and update system tests

image

@jonrohan jonrohan requested review from a team and hectahertz July 27, 2022 17:34
@changeset-bot
Copy link

changeset-bot bot commented Jul 27, 2022

🦋 Changeset detected

Latest commit: a80b931

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/view-components Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@jonrohan jonrohan temporarily deployed to github-pages July 27, 2022 17:39 Inactive
@jonrohan jonrohan temporarily deployed to github-pages July 27, 2022 18:39 Inactive
@jonrohan jonrohan temporarily deployed to github-pages July 27, 2022 20:24 Inactive
@jonrohan jonrohan temporarily deployed to github-pages July 27, 2022 20:42 Inactive
@jonrohan jonrohan changed the title Adding test/components/previews folder to app config Consolidating view_components previews into test/previews/ folder Jul 27, 2022
@jonrohan jonrohan temporarily deployed to github-pages July 27, 2022 21:25 Inactive
Copy link
Contributor

@camertron camertron left a comment

Choose a reason for hiding this comment

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

You're on a roll 😎 🍣

@jonrohan jonrohan temporarily deployed to github-pages July 27, 2022 21:39 Inactive
@jonrohan jonrohan temporarily deployed to github-pages July 27, 2022 21:59 Inactive
@jonrohan jonrohan merged commit 3a154bf into main Jul 27, 2022
@jonrohan jonrohan deleted the preview_testing_path branch July 27, 2022 22:38
@primer-css primer-css restored the preview_testing_path branch July 27, 2022 22:39
@jonrohan jonrohan temporarily deployed to github-pages July 27, 2022 22:41 Inactive
@primer-css primer-css mentioned this pull request Jul 27, 2022
@jonrohan jonrohan deleted the preview_testing_path branch August 17, 2022 21:45
krhkt pushed a commit that referenced this pull request Sep 1, 2022
)

* Adding test/components/previews folder to app config

* Moving demo/test/component/previews

* Fixing rubocop issues

* Fixing flash preview

* Combining duplicate previews

* Fixing tooltip test

* Fixing underline panels test

* Fixing tab panels test

* Fixing autocomplete test

* Fixing remaining integration tests

* Move to root test/previews/

* move it out of previews folder

* always create system test

* Revert "move it out of previews folder"

This reverts commit 3ebf573.

* Create loud-tips-fold.md
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