fastlane: [React-Native] - Fastlane screenshots, recorder throw "Timestamped Event Matching Error..."

Question Checklist

Question Subject

Question about setting up the wanted screenshots with fastlane screenshots

Question Description

Alright, I was setting up my project with fastlane in order to generate screenshots for the release on the store. When I tried to update the textExample() function in [...]UITest.swift using the Recorder, my simulator launched well, but when I clicked on any buttons, I got this error => Timestamped Event Matching Error: Failed to find matching element I found many peoples with this issue but who weren’t doing a react native project. Do you have any ideas about how to resolve it ?

My Fastfile :

# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
#     https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
#     https://docs.fastlane.tools/plugins/available-plugins
#

# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane

default_platform(:ios)

platform :ios do
  desc "Generate new localized screenshots"
  lane :screenshots do
    capture_screenshots(project: "project.xcodeproj", scheme: "projectUITests")
  end
end

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 15 (7 by maintainers)

Most upvoted comments

@MayeuldP Would you mind to share how you have solved the issue with testID for most of your components? I keep getting Timestamped Event Matching Error: Failed to find matching element error.