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

GoldenTests not matching local machine #73

Open
vanlooverenkoen opened this issue Apr 4, 2024 · 0 comments
Open

GoldenTests not matching local machine #73

vanlooverenkoen opened this issue Apr 4, 2024 · 0 comments

Comments

@vanlooverenkoen
Copy link

When running Golden Test on a local machine

        return Shimmer.fromColors(
          child: Container(
               width: double.infinity,
               height: 48,
               decoration: BoxDecoration(
                  borderRadius: BorderRadius.circular(6),
                  color: baseColor,
               ),
          ),
          baseColor: baseColor,
          highlightColor: highlightColor,
        );

My basecolor has an opacity op 0.2 done with withOpacity(0.2) but this results in golden test differences when running the test on CI.

It would be nice to have some documentation on how we should be doing shimmer test?

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

No branches or pull requests

1 participant