fastlane: capture_screenshots with testplan does not switch simulator languages
New Issue Checklist
- Updated fastlane to the latest version
- I read the Contribution Guidelines
- I read docs.fastlane.tools
- I searched for existing GitHub issues
Issue Description
Scanfile has testplan set with testplan("testplanname")
Fastfile calls
derived_data_path = "./DerivedData/"
output_directory = "./screenshots"
devices = [
"iPhone 12 Pro Max"
]
languages = [
"de-DE",
"en-US",
"fr-FR"
]
run_tests(
build_for_testing: true,
code_coverage: false,
derived_data_path: derived_data_path,
devices: devices
)
capture_screenshots(
reinstall_app: true,
clear_previous_screenshots: true,
languages: languages,
devices: devices,
derived_data_path: derived_data_path,
test_without_building: true,
output_directory: output_directory
)
Executing this lane triggers the tests but does not change language or region when a testplan is set.
Can’t use scheme when testplan is set either and can’t unset testplan in this lane to use scheme.
Command executed
executed custom lane fastlane create_pr_screenshots
🚫 fastlane environment 🚫
Stack
| Key | Value |
|---|---|
| OS | 11.1 |
| Ruby | 2.4.6 |
| Bundler? | false |
| Git | git version 2.24.3 (Apple Git-128) |
| Installation Source | ~/.rvm/gems/ruby-2.4.6/bin/fastlane |
| Host | macOS 11.1 (20C69) |
| Ruby Lib Dir | ~/.rvm/rubies/ruby-2.4.6/lib |
| OpenSSL Version | OpenSSL 1.1.1d 10 Sep 2019 |
| Is contained | false |
| Is homebrew | false |
| Is installed via Fabric.app | false |
| Xcode Path | /Applications/Xcode-12.3.0.app/Contents/Developer/ |
| Xcode Version | 12.3 |
System Locale
| Error |
|---|
| No Locale with UTF8 found 🚫 |
fastlane files:
No Fastfile found
No Appfile found
fastlane gems
| Gem | Version | Update-Status |
|---|---|---|
| fastlane | 2.169.0 | 🚫 Update available |
Loaded fastlane plugins:
No plugins Loaded
Loaded gems
| Gem | Version |
|---|---|
| did_you_mean | 1.1.0 |
| executable-hooks | 1.6.0 |
| bundler-unload | 1.0.2 |
| rubygems-bundler | 1.4.5 |
| bundler | 2.1.4 |
| slack-notifier | 2.3.2 |
| rouge | 2.0.7 |
| xcpretty | 0.3.0 |
| terminal-notifier | 2.0.0 |
| unicode-display_width | 1.7.0 |
| terminal-table | 1.8.0 |
| plist | 3.5.0 |
| CFPropertyList | 3.0.2 |
| addressable | 2.7.0 |
| multipart-post | 2.0.0 |
| word_wrap | 1.0.0 |
| tty-cursor | 0.7.1 |
| tty-spinner | 0.9.3 |
| colored | 1.2 |
| highline | 1.7.10 |
| commander-fastlane | 4.4.6 |
| faraday_middleware | 1.0.0 |
| gh_inspector | 1.1.3 |
| rubyzip | 2.3.0 |
| security | 0.1.3 |
| xcpretty-travis-formatter | 1.0.0 |
| naturally | 2.2.0 |
| simctl | 1.6.8 |
| uber | 0.1.0 |
| declarative-option | 0.1.0 |
| representable | 3.0.4 |
| retriable | 3.1.2 |
| mini_mime | 1.0.2 |
| signet | 0.14.0 |
| httpclient | 2.8.3 |
| google-api-client | 0.38.0 |
| nanaimo | 0.3.0 |
| colored2 | 3.1.2 |
| claide | 1.0.3 |
| atomos | 0.1.3 |
| xcodeproj | 1.19.0 |
| public_suffix | 4.0.6 |
| tty-screen | 0.8.1 |
| babosa | 1.0.4 |
| excon | 0.78.0 |
| unf_ext | 0.0.7.7 |
| unf | 0.1.4 |
| domain_name | 0.5.20190701 |
| http-cookie | 1.0.3 |
| ruby2_keywords | 0.0.2 |
| faraday | 1.1.0 |
| faraday-cookie_jar | 0.0.7 |
| fastimage | 2.2.0 |
| json | 2.3.1 |
| mini_magick | 4.11.0 |
| dotenv | 2.7.6 |
| jwt | 2.2.2 |
| declarative | 0.0.20 |
| multi_json | 1.15.0 |
| os | 1.1.1 |
| memoist | 0.16.2 |
| googleauth | 0.14.0 |
| rake | 13.0.1 |
| digest-crc | 0.6.1 |
| google-cloud-errors | 1.0.1 |
| google-cloud-env | 1.4.0 |
| google-cloud-core | 1.5.0 |
| google-cloud-storage | 1.29.1 |
| emoji_regex | 3.2.1 |
| aws-eventstream | 1.1.0 |
| aws-sigv4 | 1.2.2 |
| aws-partitions | 1.402.0 |
| jmespath | 1.4.0 |
| aws-sdk-core | 3.109.3 |
| aws-sdk-kms | 1.39.0 |
| aws-sdk-s3 | 1.86.0 |
| openssl | 2.0.9 |
| io-console | 0.4.6 |
| mini_portile2 | 2.4.0 |
| nokogiri | 1.10.10 |
| psych | 2.2.2 |
generated on: 2020-12-18
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 19 (12 by maintainers)
Any updates? This issue still persists.