Skip to content

Remove block math from ArticleRenderer regression story - #4098

Open
benchristel wants to merge 2 commits into
mainfrom
benc/remove-block-math-regression-story
Open

benchristel wants to merge 2 commits into
mainfrom
benc/remove-block-math-regression-story

Conversation

@benchristel

Copy link
Copy Markdown
Member

Summary:

This visual snapshot test was flaky, I think because of a race condition
involving math layout. Since we've already deployed our article changes for the
Color Sync project, I think the risk of a regression specific to block math is
low, and not worth the annoyance of maintaining this flaky test.

Issue: none

Test plan:

CI should pass once the change to the snapshot is manually approved.

@github-actions

Copy link
Copy Markdown
Contributor

Size Change: 0 B

Total Size: 519 kB

ℹ️ View Unchanged
Filename Size
packages/kas/dist/es/index.js 20.6 kB
packages/keypad-context/dist/es/index.js 1 kB
packages/kmath/dist/es/index.js 6.31 kB
packages/math-input/dist/es/index.js 98.6 kB
packages/math-input/dist/es/strings.js 1.63 kB
packages/perseus-core/dist/es/index.item-splitting.js 13.1 kB
packages/perseus-core/dist/es/index.js 28.3 kB
packages/perseus-editor/dist/es/index.js 106 kB
packages/perseus-linter/dist/es/index.js 10.1 kB
packages/perseus-score/dist/es/index.js 9.86 kB
packages/perseus-utils/dist/es/index.js 403 B
packages/perseus/dist/es/index.js 202 kB
packages/perseus/dist/es/strings.js 12.9 kB
packages/pure-markdown/dist/es/index.js 1.39 kB
packages/simple-markdown/dist/es/index.js 6.12 kB

compressed-size-action

@github-actions

Copy link
Copy Markdown
Contributor

npm Snapshot

Want to try this PR's changes before it merges? Comment /snapshot below and we'll publish an npm snapshot you can install right away.

Comment on lines -234 to -241
$\\begin{aligned}
2y+\\redD{7x} &= -5 \\\\
+~5y\\redD{-7x}&=12\\\\
\\hline\\\\
7y+0 &=7
\\end{aligned}$

This is a paragraph after the block math.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The only thing with color sync is that we have not finished the paragraph refactor, so we need coverage of all the things for when we flip that flag. Are there other stories that cover block math?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Hmm, good point. I don't think we have any other coverage for block math.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants