Skip to content

Instantly share code, notes, and snippets.

View dylanmaryk's full-sized avatar

Dylan Maryk dylanmaryk

View GitHub Profile
let baseUrlString = ProcessInfo.processInfo.environment["succulentBaseUrl"] ?? "{YOUR-REAL-BASE-URL}"
let baseUrl = URL(string: baseUrlString)
var app: XCUIApplication!
var succulent: Succulent!
// The URL to the trace file for the current test when running tests
private var traceUrl: URL? {
let bundle = Bundle(for: type(of: self))
return bundle.url(forResource: self.traceName, withExtension: "trace", subdirectory: "Succulent")
}
// The URL to the trace file for the current test when recording