Skip to content

Conversation

@corrado4eyes
Copy link
Collaborator

@corrado4eyes corrado4eyes changed the title Create shared button finder Create shared UIElement finders Sep 22, 2023
let scrollItem = app.staticTexts[scrollViewItemIndex]
XCTAssert(scrollItem.waitForExistence(timeout: 0.1))

// Cross-platform implementation

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?

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>"; };

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) {

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

class KoinContext : KoinViewModelTestContext<LoginViewModel>(
module {
single<AuthService> { AuthServiceMock() }
single<AuthService> { AuthServiceMock(getOrNull()) }

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.

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.

3 participants