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

US152268 - Migrate async-container-mixin and typography tests #3937

Merged

Conversation

svanherk
Copy link
Contributor

@svanherk svanherk commented Aug 28, 2023

Nothing super interesting about the typography migration.

For the async-container-mixin migration, I modified the existing demo/async-item.js component so that test/async-item.js could be deleted. The result is that two of the diffs are a slightly bigger version of themselves now, because the demo size was 100px and the test size was 50px.

Final report: https://vdiff.d2l.dev/BrightspaceUI/core/dfedfcf7f988a2343d7d800b25a04108255c65d0/2023-08-28_19-26-07/report/

@svanherk svanherk requested a review from a team as a code owner August 28, 2023 19:24
Comment on lines -10 to -11
mixins/*/test/screenshots/current/
mixins/*/test/screenshots/golden/
Copy link
Contributor Author

@svanherk svanherk Aug 28, 2023

Choose a reason for hiding this comment

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

async-container-mixin is the only vdiff test in mixins so we can clean this up now. You'll need to clean up any lingering local copies next time you pull after this merges.

@github-actions
Copy link
Contributor

Thanks for the PR! 🎉

We've deployed an automatic preview for this PR - you can see your changes here:

URL https://live.d2l.dev/prs/BrightspaceUI/core/pr-3937/

Note
The build needs to finish before your changes are deployed.
Changes to the PR will automatically update the instance.

@@ -0,0 +1,54 @@
import '../typography.js';
Copy link
Member

Choose a reason for hiding this comment

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

So including this is a little bit conflict-y with what vdiff is already including. It's probably fine, but we'll need to be careful to keep them in sync if we ever publish new versions of those assets to the CDN.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah I can't really think of a way around it to still test the typography code, unless we isolated the typography tests into their own job and created a custom testRunnerHtml for them?

Copy link
Member

Choose a reason for hiding this comment

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

Yeah doesn't seem worth the trouble since this is working.

Co-authored-by: github-actions <[email protected]>
@svanherk svanherk merged commit 82f7374 into main Aug 29, 2023
@svanherk svanherk deleted the US152268_Migrate_async-container-mixin_and_typography_tests branch August 29, 2023 15:38
@ghost
Copy link

ghost commented Aug 29, 2023

🎉 This PR is included in version 2.141.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@ghost ghost added the released label Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants