We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae30f34 commit 54e373eCopy full SHA for 54e373e
bk1ch09p380unitTesting/EmptyWindowUITests/EmptyWindowUITests.swift
@@ -23,7 +23,7 @@ class EmptyWindowUITests: XCTestCase {
23
func testExample() {
24
25
let app = XCUIApplication()
26
- let screenshot = XCUIApplication().windows.firstMatch.screenshot()
+ let screenshot = XCUIApplication().screenshot()
27
let attachment = XCTAttachment(screenshot: screenshot)
28
attachment.lifetime = .keepAlways
29
attachment.name = "OpeningScreen"
bk1ch09p380unitTesting/TestPlan1.xctestplan
@@ -17,6 +17,9 @@
17
"codeCoverage" : false,
18
"commandLineArgumentEntries" : [
19
20
+ ],
21
+ "environmentVariableEntries" : [
22
+
]
},
"testTargets" : [
0 commit comments