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

1029: proposal empty map auto screenshot #1187

Conversation

sarahsporck
Copy link
Contributor

Short description

I moved the commands into the fastfile, as it is pretty hard to write out the whole command you proposed in the command line. Besides that I have had issues with active support (which I didn't commit), didn't you have the same problem? -> fastlane/fastlane#21585

Proposed changes

  • move commands into fastfile
  • pass launch arguments when testing from xcode

Copy link
Contributor

@f1sh1918 f1sh1918 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very nice implementation.

@@ -17,7 +16,14 @@ class ScreenshotTests: XCTestCase {

}

func waitForElementToAppear(element: XCUIElement, timeout: TimeInterval = 20, file: String = #file, line: UInt = #line) {
func getBundleId(from app: XCUIApplication) -> String {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well thats nice. I also wanted to implement it that way but my swift skills reached their limit :)

desc "Generate new localized screenshots"
lane :screenshots do
capture_screenshots(workspace: "Runner.xcworkspace", scheme: "ScreenshotTests")
lane :snap_bayern do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thats way better, didn't find that lane functionality! :)

@f1sh1918 f1sh1918 merged commit 4d627cd into 1029-empty-map-auto-screenshot Nov 9, 2023
@f1sh1918 f1sh1918 deleted the 1029-proposal-empty-map-auto-screenshot branch November 9, 2023 10:07
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.

2 participants