Questions tagged [fastlane-snapshot]
35 questions
2
votes
1 answer
Fastlane Android:Gradle sync failed: Could not find method screengrabVersion() for arguments
In Event Log,
Gradle sync failed: Could not find method screengrabVersion() for arguments [/Users/adminuser/Desktop/MyProject/version.properties] on project ':screengrab-lib' of type org.gradle.api.Project.
In Message Gradle Sync,
Error:(5, 0)…

chank007
- 240
- 2
- 8
2
votes
1 answer
Localized Strings are always in English in UITests (Snapshot)
I'm pretty new to Fastlane and love the idea of Snapshot, but I got a little problem.
When I'm trying to create a new set of screenshots I'm facing the problem that the UITests don't use the correct localized Strings to fetch the UI elements.
My…

patreu22
- 2,988
- 4
- 22
- 31
1
vote
0 answers
Clarification: Can I use the fastlane snapshots without the Test target
Can I use the fastlane snapshots without the Test target?
I need to know the fastane snapshot setup needs to be added the test target. If the Test target is not available and If I add the fastlane snapshot, does it works for me or not?

sejn
- 2,040
- 6
- 28
- 82
1
vote
0 answers
Fastlane storing screenshots AND test reports
I have fastlane currently set up to run my UI Tests for my ios app in Xcode. Currently, I have a snapshot lane and a scan lane set up. One produces for me the screenshots I want as I run my UI Tests, while the other produces a xcpretty test report…

Jemin Ryu
- 95
- 6
1
vote
0 answers
Fastlane iOS Automating Notification Screenshots
I would love to create automated screenshots of the Lockscreen of a simulator for every device & language.
I thought about doing a hacky way by displaying a local notification after 2 seconds, lock the screen using UITests, undim the screen and take…

Janosch Hübner
- 1,584
- 25
- 44
1
vote
1 answer
Getting error while taking the Screenshots using fastlane
I am getting the error while capturing the screenshots using the fastlane
Code in my androidTest
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() throws Exception {
// Context of…

Shubham Sejpal
- 3,556
- 2
- 14
- 31
0
votes
1 answer
Clarification: Can I able to upload the screenshots taken by fastlane to s3 (or it will always give the html link to see the screenshots)
Clarification: Can I able to upload the screenshots taken by fastlane to s3 (or it will always give the html link to see the screenshots)
I have some clarification.
If I select the 1 in the below where the screenshots will be displayed.
How can I…

sejn
- 2,040
- 6
- 28
- 82
0
votes
0 answers
Restrict fastlane snapshot to iPhone devices
We can get automated snapshots in iOS by using Fastlane Snapshot.
There is a config file named Snapfile where you can limit the devices list:
# A list of devices you want to take the screenshots from
devices([
"iPhone 8",
"iPhone 8 Plus",
…

Soheil Novinfard
- 1,358
- 1
- 16
- 43
0
votes
0 answers
Trying to automate allowing push notifications in UI test and UI interruption monitor does not trigger
I am trying to write a UI test for my iOS Swift app in order to automate screenshots with Fastlane. My app requests push notification permissions in its AppDelegate's didFinishLaunchingWithOptions, so when the application is first launched on a new…

Sebastien
- 3,583
- 4
- 43
- 82
0
votes
2 answers
IOS UI Testing: how to dismiss a series of system alerts( microphone access ) via code using fastlane snapshot
I use mac mojave 10.14.3 and react-native version - 0.59.1, fastlane latest version. I tried to run the fastlane screenshot via ios xcuitest But I couldn't dismiss the system alert. I have attached my code and alert screen
Could you please help…
0
votes
1 answer
How to simulate BT and WiFi connection during UI automation test with fastlane?
I am beginner of iOS testing and I really need help. Thank you in advance.
I've tried to implement a simple test with fastlane to create screenshots and evaluate if all needed elements exist (fastlane snapshot, I follow most common tutorials and up…

zulula
- 1
- 1
0
votes
1 answer
Fastlane / Snapshot - how do I keep all debug / console logs?
I'd like to review the contents of all the debug logs on all the devices I use in my fastlane snapshot ui test?
I'm looking for the debug messages that would also be generated using NSLog etc.
I found this output_simulator_logs flag in the…

Jules
- 7,568
- 14
- 102
- 186
0
votes
0 answers
React-Native - fastlane screenshots with TabNavigation
I'm using fastlane in my react native for taking screenshots for the release phase, however I' quite in trouble concerning the navigation with TabNavigation from react-navigation.
How can I ask for a tap() on my tabNavigation's icons on the…

Mayoul
- 626
- 10
- 24
0
votes
1 answer
Fastlane, screenshot custom action before simulator is launched?
I'm trying to launch quick time player to record video and audio from the iOS simulator.
I figure I can create a shell script with arrays for each of the the languages and each device. And loop around and run a fastlane lane, passing in there…

Jules
- 7,568
- 14
- 102
- 186
0
votes
1 answer
Distinguishing first launch on UI Tests
I want to use Fastlane Snapshot in order to generate screenshots for my app. But the behavior of the app is different when launch for the first time and launching after that.
How do I manage to get a consistent behavior in order to grab the…

gerbil
- 859
- 7
- 26