You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 22, 2024. It is now read-only.
ryanthemanuel
changed the title
[terra-functional-testing] Replace node-sass with sass (dart-sass)
[webpack-config-terra] Replace node-sass with sass (dart-sass)
Jun 25, 2021
An update here, we should treat this as a major version bump, option 3 of the options above. We shouldn't change css variables an instead document that teams should regenerate screenshots.
Feature Request
Description
As of October 2020 [node-sass]9https://www.npmjs.com/package/node-sass) is deprecated. The sass npm package is the replacement.
While the upgrade to this package is incredibly easy (see this branch), this change has a ripple effect on screenshot comparisons downstream.
Specifically the sass package calculates a greater precision than the node-sass package.
For example, the sass package has a precision of 10 which is non adjustable. See line-height in terra-base.
Where as the node-sass package has a default precision of 5
The effect in this specific instance on wdio tests is that content down the page increasingly gets 'off' according to the screenshot comparison:
Options
Additional Context / Screenshots
@ Mentions
The text was updated successfully, but these errors were encountered: