-
Notifications
You must be signed in to change notification settings - Fork 0
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
Create shared UIElement finders #37
base: main
Are you sure you want to change the base?
Conversation
… map to set application arguments.
…ift. Remove enum on kotlin side and update test runners
let scrollItem = app.staticTexts[scrollViewItemIndex] | ||
XCTAssert(scrollItem.waitForExistence(timeout: 0.1)) | ||
|
||
// Cross-platform implementation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not clear what it means. It is a swift file, how does it relate to cross-platform?
@@ -89,6 +90,7 @@ | |||
48B350D3EB640C8B7B253753 /* UninitializedObservable.generated.swift */ = {isa = PBXFileReference; explicitFileType = sourcecode.swift; path = UninitializedObservable.generated.swift; sourceTree = "<group>"; }; | |||
4DEA2654EFE69B013946D9B0 /* Pods-CucumberTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CucumberTests.release.xcconfig"; path = "Target Support Files/Pods-CucumberTests/Pods-CucumberTests.release.xcconfig"; sourceTree = "<group>"; }; | |||
5416DF2E8BB6BE190C0431AF /* NavigationBarColor.generated.swift */ = {isa = PBXFileReference; explicitFileType = sourcecode.swift; path = NavigationBarColor.generated.swift; sourceTree = "<group>"; }; | |||
640CC3C72AB49ECA003E3D8C /* Node+Extensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Node+Extensions.swift"; sourceTree = "<group>"; }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would use xcodegen. changes in pbxproj is difficult to review
override fun swipeUntilKey(key: Any, velocity: Float?) { | ||
try { | ||
node.performScrollToKey(key) | ||
} catch (e: IllegalArgumentException) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would println the error so it's obvious that an exception was thrown
@@ -15,11 +15,11 @@ import org.koin.dsl.module | |||
class LoginViewModelTest : KoinUIThreadViewModelTest<LoginViewModelTest.KoinContext, LoginViewModel>() { | |||
class KoinContext : KoinViewModelTestContext<LoginViewModel>( | |||
module { | |||
single<AuthService> { AuthServiceMock() } | |||
single<AuthService> { AuthServiceMock(getOrNull()) } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would add a name for the parameter. If you have only get
it's not clear what kind of argument you are passing.
#33
#34
#35