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

[Bug] Fix animations causing tests failures #89

Merged
merged 1 commit into from
Dec 7, 2022

Conversation

blyscuit
Copy link
Owner

@blyscuit blyscuit commented Dec 7, 2022

What happened

UITests is now more consistent.

Insight

  • Add launch arguments on the UITests.
  • Launch arguments fastAnimation speed up animations in the app.
  • Add constants for animation duration so speed up is easier.
  • Use DispatchQueue.main with onAppear to fix animation not working properly when view is not fully loaded.

Proof Of Work

Passed tests.

@blyscuit blyscuit self-assigned this Dec 7, 2022
@blyscuit blyscuit added the bug Something isn't working label Dec 7, 2022
@blyscuit blyscuit added this to the 0.3.0 milestone Dec 7, 2022
@blyscuit blyscuit changed the title [Bug] Fix screen animations [Bug] Fix animations causing tests failures Dec 7, 2022
@github-actions
Copy link

github-actions bot commented Dec 7, 2022

1 Warning
⚠️ Uh oh! Your project is under 80% coverage!

🧛 shared Code Coverage: 73.78%

Coverage of Modified Files:

File Coverage

Modified Files Not Found In Coverage Report:

AppDelegate.swift
ArgumentedXCUIApplication.swift
Double+AnimationDuration.swift
FadePaginationView.swift
LaunchArgument.swift
LaunchScreen.storyboard
LoginSpec.swift
LoginView.swift
ResetPasswordSpec.swift
SplashView.swift
SurveyLoadingSpec.swift
SurveySelectionSpec.swift
UITestHelper.swift
project.pbxproj

Codebase cunningly covered by count Shroud 🧛

Generated by 🚫 Danger

@github-actions
Copy link

github-actions bot commented Dec 7, 2022

Current coverage for Survey is 81.32%

Files changed - -
LaunchArgument.swift 50.00% ⚠️
FadePaginationView.swift 60.51% ⚠️
Double+AnimationDuration.swift 66.67% ⚠️
UITestHelper.swift 90.00%
LoginView.swift 95.90%
SplashView.swift 100.00%
AppDelegate.swift 100.00%

Powered by xcov

Generated by 🚫 Danger

@blyscuit blyscuit force-pushed the bug/fix-screen-animations branch from 2694ed7 to 8c571c4 Compare December 7, 2022 05:58
@blyscuit blyscuit force-pushed the bug/fix-screen-animations branch from 8c571c4 to 85c457d Compare December 7, 2022 06:19
@blyscuit blyscuit marked this pull request as ready for review December 7, 2022 06:20
@blyscuit blyscuit mentioned this pull request Dec 7, 2022
@blyscuit blyscuit merged commit 134084e into develop Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working platform: Swift
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants