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

Remove loading from screenshot tests #1397

Closed
wants to merge 5 commits into from

Conversation

Jaehwa-Noh
Copy link
Contributor

@Jaehwa-Noh Jaehwa-Noh commented Apr 24, 2024

What I have done and why
The problem is that taken screenshot in loading state.
Besides transparent problem, actually CircularProgressIndicator was so related with time.
If taken screenshot after 1 second, screenshot test will fail due to CircularProgressIndicator's shape.

Fixes #1394

How I'm testing it

Choose at least one:

  • Unit tests
  • UI tests
  • Screenshot tests
  • N/A (provide justification)

Change-Id: I11c6110d8868bd81836d7bdc031029a867b4dfb0
Change-Id: If82878dee9d4977174dc462157b8e1dcdadaa3c0
@Jaehwa-Noh Jaehwa-Noh marked this pull request as draft April 24, 2024 03:59
@Jaehwa-Noh Jaehwa-Noh marked this pull request as ready for review April 24, 2024 04:12
@Jaehwa-Noh Jaehwa-Noh changed the title Fix flaky screenshot tests Remove loading from screenshot tests Apr 24, 2024
Change-Id: I3878d27af3288500c749137a2cdc809c5f371f35
Change-Id: I95e4c0395f211cce0ea51f47bf876c0dafa6221f
Change-Id: I35fed4ed67d1550080a72a2e977e3b6d48241a47
@JoseAlcerreca
Copy link
Contributor

@Jaehwa-Noh, many thanks for the contribution. I was in the process of doing part of this in #1395, and I added the TimeZone.setDefault from this PR which I had missed.

@Jaehwa-Noh
Copy link
Contributor Author

Jaehwa-Noh commented Apr 24, 2024

@JoseAlcerreca I thought you just fix the WorkManager problem.
But now you seemed to cover this parts. Would I close this?

@Jaehwa-Noh Jaehwa-Noh closed this Apr 24, 2024
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.

SnackbarScreenshotTests are flaky
2 participants