From 53be247a144e2ae7d57dec9ba9570b1fbc1f388b Mon Sep 17 00:00:00 2001 From: Jozef Izso Date: Fri, 25 Oct 2024 13:42:50 +0200 Subject: [PATCH] Update expected test output to not include image attachments --- __tests__/data/Attachment.md | 8 --- __tests__/data/Coverage.md | 8 --- __tests__/data/ExampleOnlyFailures.md | 20 ------ __tests__/data/HideCodeCoverage.md | 8 --- __tests__/data/NoTests.md | 8 --- __tests__/data/Spaceship.md | 16 ----- __tests__/data/TAU.md | 70 ------------------- __tests__/data/example.md | 28 -------- __tests__/data/merged.md | 98 --------------------------- __tests__/main.test.ts | 32 ++++----- 10 files changed, 16 insertions(+), 280 deletions(-) diff --git a/__tests__/data/Attachment.md b/__tests__/data/Attachment.md index f4f96af0..047da2f3 100644 --- a/__tests__/data/Attachment.md +++ b/__tests__/data/Attachment.md @@ -97,8 +97,6 @@ - Wait for com.kishikawakatsumi.xcresulttool-example to idle - Find the Target Application 'com.kishikawakatsumi.xcresulttool-example' - Added attachment named 'Launch Screen' -
attachment
- - Tear Down Success test-method testLaunch()

Configuration:
XCUIAppearanceMode: 1, XCUIDeviceOrientation: 4

Activities: @@ -116,8 +114,6 @@ - Wait for com.kishikawakatsumi.xcresulttool-example to idle - Find the Target Application 'com.kishikawakatsumi.xcresulttool-example' - Added attachment named 'Launch Screen' -
attachment
- - Tear Down Success test-method testLaunch()

Configuration:
XCUIAppearanceMode: 2, XCUIDeviceOrientation: 1

Activities: @@ -135,8 +131,6 @@ - Wait for com.kishikawakatsumi.xcresulttool-example to idle - Find the Target Application 'com.kishikawakatsumi.xcresulttool-example' - Added attachment named 'Launch Screen' -
attachment
- - Tear Down Success test-method testLaunch()

Configuration:
XCUIAppearanceMode: 2, XCUIDeviceOrientation: 4

Activities: @@ -154,8 +148,6 @@ - Wait for com.kishikawakatsumi.xcresulttool-example to idle - Find the Target Application 'com.kishikawakatsumi.xcresulttool-example' - Added attachment named 'Launch Screen' -
attachment
- - Tear Down diff --git a/__tests__/data/Coverage.md b/__tests__/data/Coverage.md index 9c9ea517..0165d8f2 100644 --- a/__tests__/data/Coverage.md +++ b/__tests__/data/Coverage.md @@ -158,8 +158,6 @@ - Wait for com.kishikawakatsumi.xcresulttool-example to idle - Find the Target Application 'com.kishikawakatsumi.xcresulttool-example' - Added attachment named 'Launch Screen' -
attachment
- - Tear Down Success test-method testLaunch()

Configuration:
XCUIAppearanceMode: 1, XCUIDeviceOrientation: 4

Activities: @@ -177,8 +175,6 @@ - Wait for com.kishikawakatsumi.xcresulttool-example to idle - Find the Target Application 'com.kishikawakatsumi.xcresulttool-example' - Added attachment named 'Launch Screen' -
attachment
- - Tear Down Success test-method testLaunch()

Configuration:
XCUIAppearanceMode: 2, XCUIDeviceOrientation: 1

Activities: @@ -196,8 +192,6 @@ - Wait for com.kishikawakatsumi.xcresulttool-example to idle - Find the Target Application 'com.kishikawakatsumi.xcresulttool-example' - Added attachment named 'Launch Screen' -
attachment
- - Tear Down Success test-method testLaunch()

Configuration:
XCUIAppearanceMode: 2, XCUIDeviceOrientation: 4

Activities: @@ -215,7 +209,5 @@ - Wait for com.kishikawakatsumi.xcresulttool-example to idle - Find the Target Application 'com.kishikawakatsumi.xcresulttool-example' - Added attachment named 'Launch Screen' -
attachment
- - Tear Down diff --git a/__tests__/data/ExampleOnlyFailures.md b/__tests__/data/ExampleOnlyFailures.md index 09cafd95..5e99dd7b 100644 --- a/__tests__/data/ExampleOnlyFailures.md +++ b/__tests__/data/ExampleOnlyFailures.md @@ -89,38 +89,18 @@ All tests passed :tada: Mixed FailureFailure test-method testLaunch()back

Configuration:
XCUIAppearanceMode: 2, XCUIDeviceOrientation: 1

Activities: - Setting device orientation to Portrait -
attachment
- - Wait for com.kishikawakatsumi.Weather to idle -
attachment
- - Setting appearance mode to Dark -
attachment
- - Wait for com.kishikawakatsumi.Weather to idle -
attachment
- - Start Test at 2021-10-17 22:17:51.210 -
attachment
- - Set Up - Open com.kishikawakatsumi.Weather -
attachment
- - Launch com.kishikawakatsumi.Weather - Terminate com.kishikawakatsumi.Weather:33100 -
attachment
- - Setting up automation session - Wait for com.kishikawakatsumi.Weather to idle -
attachment
- - Find the Target Application 'com.kishikawakatsumi.Weather' - Added attachment named 'Launch Screen' -
attachment
- - Assertion Failure at WeatherUITestsLaunchTests.swift:28: failed - Fail!! -
attachment
- - Tear Down diff --git a/__tests__/data/HideCodeCoverage.md b/__tests__/data/HideCodeCoverage.md index 35ed9712..5dc48138 100644 --- a/__tests__/data/HideCodeCoverage.md +++ b/__tests__/data/HideCodeCoverage.md @@ -123,8 +123,6 @@ - Wait for com.kishikawakatsumi.xcresulttool-example to idle - Find the Target Application 'com.kishikawakatsumi.xcresulttool-example' - Added attachment named 'Launch Screen' -
attachment
- - Tear Down Success test-method testLaunch()

Configuration:
XCUIAppearanceMode: 1, XCUIDeviceOrientation: 4

Activities: @@ -142,8 +140,6 @@ - Wait for com.kishikawakatsumi.xcresulttool-example to idle - Find the Target Application 'com.kishikawakatsumi.xcresulttool-example' - Added attachment named 'Launch Screen' -
attachment
- - Tear Down Success test-method testLaunch()

Configuration:
XCUIAppearanceMode: 2, XCUIDeviceOrientation: 1

Activities: @@ -161,8 +157,6 @@ - Wait for com.kishikawakatsumi.xcresulttool-example to idle - Find the Target Application 'com.kishikawakatsumi.xcresulttool-example' - Added attachment named 'Launch Screen' -
attachment
- - Tear Down Success test-method testLaunch()

Configuration:
XCUIAppearanceMode: 2, XCUIDeviceOrientation: 4

Activities: @@ -180,7 +174,5 @@ - Wait for com.kishikawakatsumi.xcresulttool-example to idle - Find the Target Application 'com.kishikawakatsumi.xcresulttool-example' - Added attachment named 'Launch Screen' -
attachment
- - Tear Down diff --git a/__tests__/data/NoTests.md b/__tests__/data/NoTests.md index 507e82be..347d158d 100644 --- a/__tests__/data/NoTests.md +++ b/__tests__/data/NoTests.md @@ -127,8 +127,6 @@ All tests passed :tada: - Wait for com.kishikawakatsumi.xcresulttool-example to idle - Find the Target Application 'com.kishikawakatsumi.xcresulttool-example' - Added attachment named 'Launch Screen' -
attachment
- - Tear Down Success test-method testLaunch()

Configuration:
XCUIAppearanceMode: 1, XCUIDeviceOrientation: 4

Activities: @@ -146,8 +144,6 @@ All tests passed :tada: - Wait for com.kishikawakatsumi.xcresulttool-example to idle - Find the Target Application 'com.kishikawakatsumi.xcresulttool-example' - Added attachment named 'Launch Screen' -
attachment
- - Tear Down Success test-method testLaunch()

Configuration:
XCUIAppearanceMode: 2, XCUIDeviceOrientation: 1

Activities: @@ -165,8 +161,6 @@ All tests passed :tada: - Wait for com.kishikawakatsumi.xcresulttool-example to idle - Find the Target Application 'com.kishikawakatsumi.xcresulttool-example' - Added attachment named 'Launch Screen' -
attachment
- - Tear Down Success test-method testLaunch()

Configuration:
XCUIAppearanceMode: 2, XCUIDeviceOrientation: 4

Activities: @@ -184,8 +178,6 @@ All tests passed :tada: - Wait for com.kishikawakatsumi.xcresulttool-example to idle - Find the Target Application 'com.kishikawakatsumi.xcresulttool-example' - Added attachment named 'Launch Screen' -
attachment
- - Tear Down diff --git a/__tests__/data/Spaceship.md b/__tests__/data/Spaceship.md index 7e3881b4..6351d434 100644 --- a/__tests__/data/Spaceship.md +++ b/__tests__/data/Spaceship.md @@ -194,8 +194,6 @@ - Wait for com.kishikawakatsumi.Spaceship to idle - Find the Target Application 'com.kishikawakatsumi.Spaceship' - Added attachment named 'Launch Screen' -
attachment
- - Tear Down Success test-method testLaunch()

Configuration:
XCUIAppearanceMode: 1, XCUIDeviceOrientation: 4

Activities: @@ -213,8 +211,6 @@ - Wait for com.kishikawakatsumi.Spaceship to idle - Find the Target Application 'com.kishikawakatsumi.Spaceship' - Added attachment named 'Launch Screen' -
attachment
- - Tear Down Success test-method testLaunch()

Configuration:
XCUIAppearanceMode: 2, XCUIDeviceOrientation: 1

Activities: @@ -232,8 +228,6 @@ - Wait for com.kishikawakatsumi.Spaceship to idle - Find the Target Application 'com.kishikawakatsumi.Spaceship' - Added attachment named 'Launch Screen' -
attachment
- - Tear Down Success test-method testLaunch()

Configuration:
XCUIAppearanceMode: 2, XCUIDeviceOrientation: 4

Activities: @@ -251,8 +245,6 @@ - Wait for com.kishikawakatsumi.Spaceship to idle - Find the Target Application 'com.kishikawakatsumi.Spaceship' - Added attachment named 'Launch Screen' -
attachment
- - Tear Down @@ -360,8 +352,6 @@ - Wait for com.kishikawakatsumi.Spaceship to idle - Find the Target Application 'com.kishikawakatsumi.Spaceship' - Added attachment named 'Launch Screen' -
attachment
- - Tear Down Success test-method testLaunch()

Configuration:
XCUIAppearanceMode: 1, XCUIDeviceOrientation: 4

Activities: @@ -379,8 +369,6 @@ - Wait for com.kishikawakatsumi.Spaceship to idle - Find the Target Application 'com.kishikawakatsumi.Spaceship' - Added attachment named 'Launch Screen' -
attachment
- - Tear Down Success test-method testLaunch()

Configuration:
XCUIAppearanceMode: 2, XCUIDeviceOrientation: 1

Activities: @@ -398,8 +386,6 @@ - Wait for com.kishikawakatsumi.Spaceship to idle - Find the Target Application 'com.kishikawakatsumi.Spaceship' - Added attachment named 'Launch Screen' -
attachment
- - Tear Down Success test-method testLaunch()

Configuration:
XCUIAppearanceMode: 2, XCUIDeviceOrientation: 4

Activities: @@ -417,7 +403,5 @@ - Wait for com.kishikawakatsumi.Spaceship to idle - Find the Target Application 'com.kishikawakatsumi.Spaceship' - Added attachment named 'Launch Screen' -
attachment
- - Tear Down diff --git a/__tests__/data/TAU.md b/__tests__/data/TAU.md index 6028b40f..d05f32fd 100644 --- a/__tests__/data/TAU.md +++ b/__tests__/data/TAU.md @@ -51,88 +51,52 @@ Failuretest-method testThankYouMessageInBDStyle()back

Activities: - Start Test at 2021-10-17 02:43:13.407 -
attachment
- - Set Up - Open com.shashikant.TAU -
attachment
- - Launch com.shashikant.TAU - Terminate com.shashikant.TAU:31875 -
attachment
- - Setting up automation session - Wait for com.shashikant.TAU to idle -
attachment
- - Given App is ready - Checking existence of `"enrollButton" Button` - When I enter city London - Tap "city" TextField - Wait for com.shashikant.TAU to idle -
attachment
- - Find the "city" TextField - Check for interrupting elements affecting "city" TextField - Synthesize event -
attachment
- - Wait for com.shashikant.TAU to idle -
attachment
- - Type 'London' into "city" TextField - Wait for com.shashikant.TAU to idle -
attachment
- - Find the "city" TextField - Check for interrupting elements affecting "city" TextField - Synthesize event -
attachment
- - Wait for com.shashikant.TAU to idle -
attachment
- - When I Enrolled - Tap "enrollButton" Button - Wait for com.shashikant.TAU to idle -
attachment
- - Find the "enrollButton" Button - Check for interrupting elements affecting "enrollButton" Button - Synthesize event -
attachment
- - Scroll element to visible - Failed: Failed to scroll to visible (by AX action) Button, {{25.0, 500.0}, {330.0, 41.0}}, identifier: 'enrollButton', label: 'Enroll', error: Error kAXErrorCannotComplete performing AXAction kAXScrollToVisibleAction on element AX element pid: 58911, elementOrHash.elementID: 5661339664.11 - Retrying `Tap "enrollButton" Button` (attempt #2) - Wait for com.shashikant.TAU to idle -
attachment
- - Find the "enrollButton" Button - Check for interrupting elements affecting "enrollButton" Button - Synthesize event -
attachment
- - Scroll element to visible - Failed: Failed to scroll to visible (by AX action) Button, {{25.0, 500.0}, {330.0, 41.0}}, identifier: 'enrollButton', label: 'Enroll', error: Error kAXErrorCannotComplete performing AXAction kAXScrollToVisibleAction on element AX element pid: 58911, elementOrHash.elementID: 5661339664.11 - Retrying `Tap "enrollButton" Button` (attempt #3) - Wait for com.shashikant.TAU to idle -
attachment
- - Find the "enrollButton" Button - Check for interrupting elements affecting "enrollButton" Button - Synthesize event -
attachment
- - Scroll element to visible - Failed: Failed to scroll to visible (by AX action) Button, {{25.0, 500.0}, {330.0, 41.0}}, identifier: 'enrollButton', label: 'Enroll', error: Error kAXErrorCannotComplete performing AXAction kAXScrollToVisibleAction on element AX element pid: 58911, elementOrHash.elementID: 5661339664.11 - Assertion Failure at BDDTest.swift:40: Failed to synthesize event: Failed to scroll to visible (by AX action) Button, {{25.0, 500.0}, {330.0, 41.0}}, identifier: 'enrollButton', label: 'Enroll', error: Error kAXErrorCannotComplete performing AXAction kAXScrollToVisibleAction on element AX element pid: 58911, elementOrHash.elementID: 5661339664.11. (Underlying Error: Error kAXErrorCannotComplete performing AXAction kAXScrollToVisibleAction on element AX element pid: 58911, elementOrHash.elementID: 5661339664.11) -
attachment
- - Tear Down - Terminate com.shashikant.TAU:58911 -
attachment
-
TAUUITests [back](#user-content-tauuitests_tauuitests_summary)
@@ -183,79 +147,45 @@ Failure
test-method testThankYouMessage()back

Activities: - Start Test at 2021-10-17 02:43:29.414 -
attachment
- - Set Up - Open com.shashikant.TAU -
attachment
- - Launch com.shashikant.TAU - Setting up automation session - Wait for com.shashikant.TAU to idle -
attachment
- - Tap "city" TextField - Wait for com.shashikant.TAU to idle -
attachment
- - Find the "city" TextField - Check for interrupting elements affecting "city" TextField - Synthesize event -
attachment
- - Wait for com.shashikant.TAU to idle -
attachment
- - Type 'London' into "city" TextField - Wait for com.shashikant.TAU to idle -
attachment
- - Find the "city" TextField - Check for interrupting elements affecting "city" TextField - Synthesize event -
attachment
- - Wait for com.shashikant.TAU to idle -
attachment
- - Tap "enrollButton" Button - Wait for com.shashikant.TAU to idle -
attachment
- - Find the "enrollButton" Button - Check for interrupting elements affecting "enrollButton" Button - Synthesize event -
attachment
- - Scroll element to visible - Failed: Failed to scroll to visible (by AX action) Button, {{25.0, 500.0}, {330.0, 41.0}}, identifier: 'enrollButton', label: 'Enroll', error: Error kAXErrorCannotComplete performing AXAction kAXScrollToVisibleAction on element AX element pid: 58971, elementOrHash.elementID: 4931535136.11 - Retrying `Tap "enrollButton" Button` (attempt #2) - Wait for com.shashikant.TAU to idle -
attachment
- - Find the "enrollButton" Button - Check for interrupting elements affecting "enrollButton" Button - Synthesize event -
attachment
- - Scroll element to visible - Failed: Failed to scroll to visible (by AX action) Button, {{25.0, 500.0}, {330.0, 41.0}}, identifier: 'enrollButton', label: 'Enroll', error: Error kAXErrorCannotComplete performing AXAction kAXScrollToVisibleAction on element AX element pid: 58971, elementOrHash.elementID: 4931535136.11 - Retrying `Tap "enrollButton" Button` (attempt #3) - Wait for com.shashikant.TAU to idle -
attachment
- - Find the "enrollButton" Button - Check for interrupting elements affecting "enrollButton" Button - Synthesize event -
attachment
- - Scroll element to visible - Failed: Failed to scroll to visible (by AX action) Button, {{25.0, 500.0}, {330.0, 41.0}}, identifier: 'enrollButton', label: 'Enroll', error: Error kAXErrorCannotComplete performing AXAction kAXScrollToVisibleAction on element AX element pid: 58971, elementOrHash.elementID: 4931535136.11 - Assertion Failure at TAUUITests.swift:24: Failed to synthesize event: Failed to scroll to visible (by AX action) Button, {{25.0, 500.0}, {330.0, 41.0}}, identifier: 'enrollButton', label: 'Enroll', error: Error kAXErrorCannotComplete performing AXAction kAXScrollToVisibleAction on element AX element pid: 58971, elementOrHash.elementID: 4931535136.11. (Underlying Error: Error kAXErrorCannotComplete performing AXAction kAXScrollToVisibleAction on element AX element pid: 58971, elementOrHash.elementID: 4931535136.11) -
attachment
- - Tear Down - Terminate com.shashikant.TAU:58971 -
attachment
- diff --git a/__tests__/data/example.md b/__tests__/data/example.md index 6dc15b7d..e4ee2310 100644 --- a/__tests__/data/example.md +++ b/__tests__/data/example.md @@ -91,8 +91,6 @@ Expected Failuretest-method testExpedtedFailures()

Activities: - Start Test at 2021-10-17 22:17:33.598 -
attachment
- - Set Up - Tear Down Successtest-method testFail()

Activities: @@ -139,8 +137,6 @@ - Wait for com.kishikawakatsumi.Weather to idle - Find the Target Application 'com.kishikawakatsumi.Weather' - Added attachment named 'Launch Screen' -
attachment
- - Tear Down Success test-method testLaunch()

Configuration:
XCUIAppearanceMode: 1, XCUIDeviceOrientation: 4

Activities: @@ -158,45 +154,23 @@ - Wait for com.kishikawakatsumi.Weather to idle - Find the Target Application 'com.kishikawakatsumi.Weather' - Added attachment named 'Launch Screen' -
attachment
- - Tear Down Failure test-method testLaunch()back

Configuration:
XCUIAppearanceMode: 2, XCUIDeviceOrientation: 1

Activities: - Setting device orientation to Portrait -
attachment
- - Wait for com.kishikawakatsumi.Weather to idle -
attachment
- - Setting appearance mode to Dark -
attachment
- - Wait for com.kishikawakatsumi.Weather to idle -
attachment
- - Start Test at 2021-10-17 22:17:51.210 -
attachment
- - Set Up - Open com.kishikawakatsumi.Weather -
attachment
- - Launch com.kishikawakatsumi.Weather - Terminate com.kishikawakatsumi.Weather:33100 -
attachment
- - Setting up automation session - Wait for com.kishikawakatsumi.Weather to idle -
attachment
- - Find the Target Application 'com.kishikawakatsumi.Weather' - Added attachment named 'Launch Screen' -
attachment
- - Assertion Failure at WeatherUITestsLaunchTests.swift:28: failed - Fail!! -
attachment
- - Tear Down Success test-method testLaunch()

Configuration:
XCUIAppearanceMode: 2, XCUIDeviceOrientation: 4

Activities: @@ -214,7 +188,5 @@ - Wait for com.kishikawakatsumi.Weather to idle - Find the Target Application 'com.kishikawakatsumi.Weather' - Added attachment named 'Launch Screen' -
attachment
- - Tear Down diff --git a/__tests__/data/merged.md b/__tests__/data/merged.md index 88430d69..341404a9 100644 --- a/__tests__/data/merged.md +++ b/__tests__/data/merged.md @@ -303,8 +303,6 @@ Expected Failuretest-method testExpedtedFailures()

Activities: - Start Test at 2021-10-17 22:17:33.598 -
attachment
- - Set Up - Tear Down Successtest-method testFail()

Activities: @@ -351,8 +349,6 @@ - Wait for com.kishikawakatsumi.Weather to idle - Find the Target Application 'com.kishikawakatsumi.Weather' - Added attachment named 'Launch Screen' -
attachment
- - Tear Down Success test-method testLaunch()

Configuration:
XCUIAppearanceMode: 1, XCUIDeviceOrientation: 4

Activities: @@ -370,45 +366,23 @@ - Wait for com.kishikawakatsumi.Weather to idle - Find the Target Application 'com.kishikawakatsumi.Weather' - Added attachment named 'Launch Screen' -
attachment
- - Tear Down Failure test-method testLaunch()back

Configuration:
XCUIAppearanceMode: 2, XCUIDeviceOrientation: 1

Activities: - Setting device orientation to Portrait -
attachment
- - Wait for com.kishikawakatsumi.Weather to idle -
attachment
- - Setting appearance mode to Dark -
attachment
- - Wait for com.kishikawakatsumi.Weather to idle -
attachment
- - Start Test at 2021-10-17 22:17:51.210 -
attachment
- - Set Up - Open com.kishikawakatsumi.Weather -
attachment
- - Launch com.kishikawakatsumi.Weather - Terminate com.kishikawakatsumi.Weather:33100 -
attachment
- - Setting up automation session - Wait for com.kishikawakatsumi.Weather to idle -
attachment
- - Find the Target Application 'com.kishikawakatsumi.Weather' - Added attachment named 'Launch Screen' -
attachment
- - Assertion Failure at WeatherUITestsLaunchTests.swift:28: failed - Fail!! -
attachment
- - Tear Down Success test-method testLaunch()

Configuration:
XCUIAppearanceMode: 2, XCUIDeviceOrientation: 4

Activities: @@ -426,8 +400,6 @@ - Wait for com.kishikawakatsumi.Weather to idle - Find the Target Application 'com.kishikawakatsumi.Weather' - Added attachment named 'Launch Screen' -
attachment
- - Tear Down @@ -631,88 +603,52 @@ Failuretest-method testThankYouMessageInBDStyle()back

Activities: - Start Test at 2021-10-17 02:43:13.407 -
attachment
- - Set Up - Open com.shashikant.TAU -
attachment
- - Launch com.shashikant.TAU - Terminate com.shashikant.TAU:31875 -
attachment
- - Setting up automation session - Wait for com.shashikant.TAU to idle -
attachment
- - Given App is ready - Checking existence of `"enrollButton" Button` - When I enter city London - Tap "city" TextField - Wait for com.shashikant.TAU to idle -
attachment
- - Find the "city" TextField - Check for interrupting elements affecting "city" TextField - Synthesize event -
attachment
- - Wait for com.shashikant.TAU to idle -
attachment
- - Type 'London' into "city" TextField - Wait for com.shashikant.TAU to idle -
attachment
- - Find the "city" TextField - Check for interrupting elements affecting "city" TextField - Synthesize event -
attachment
- - Wait for com.shashikant.TAU to idle -
attachment
- - When I Enrolled - Tap "enrollButton" Button - Wait for com.shashikant.TAU to idle -
attachment
- - Find the "enrollButton" Button - Check for interrupting elements affecting "enrollButton" Button - Synthesize event -
attachment
- - Scroll element to visible - Failed: Failed to scroll to visible (by AX action) Button, {{25.0, 500.0}, {330.0, 41.0}}, identifier: 'enrollButton', label: 'Enroll', error: Error kAXErrorCannotComplete performing AXAction kAXScrollToVisibleAction on element AX element pid: 58911, elementOrHash.elementID: 5661339664.11 - Retrying `Tap "enrollButton" Button` (attempt #2) - Wait for com.shashikant.TAU to idle -
attachment
- - Find the "enrollButton" Button - Check for interrupting elements affecting "enrollButton" Button - Synthesize event -
attachment
- - Scroll element to visible - Failed: Failed to scroll to visible (by AX action) Button, {{25.0, 500.0}, {330.0, 41.0}}, identifier: 'enrollButton', label: 'Enroll', error: Error kAXErrorCannotComplete performing AXAction kAXScrollToVisibleAction on element AX element pid: 58911, elementOrHash.elementID: 5661339664.11 - Retrying `Tap "enrollButton" Button` (attempt #3) - Wait for com.shashikant.TAU to idle -
attachment
- - Find the "enrollButton" Button - Check for interrupting elements affecting "enrollButton" Button - Synthesize event -
attachment
- - Scroll element to visible - Failed: Failed to scroll to visible (by AX action) Button, {{25.0, 500.0}, {330.0, 41.0}}, identifier: 'enrollButton', label: 'Enroll', error: Error kAXErrorCannotComplete performing AXAction kAXScrollToVisibleAction on element AX element pid: 58911, elementOrHash.elementID: 5661339664.11 - Assertion Failure at BDDTest.swift:40: Failed to synthesize event: Failed to scroll to visible (by AX action) Button, {{25.0, 500.0}, {330.0, 41.0}}, identifier: 'enrollButton', label: 'Enroll', error: Error kAXErrorCannotComplete performing AXAction kAXScrollToVisibleAction on element AX element pid: 58911, elementOrHash.elementID: 5661339664.11. (Underlying Error: Error kAXErrorCannotComplete performing AXAction kAXScrollToVisibleAction on element AX element pid: 58911, elementOrHash.elementID: 5661339664.11) -
attachment
- - Tear Down - Terminate com.shashikant.TAU:58911 -
attachment
-
TAUUITests [back](#user-content-tauuitests_tauuitests_summary)
@@ -763,79 +699,45 @@ Failure
test-method testThankYouMessage()back

Activities: - Start Test at 2021-10-17 02:43:29.414 -
attachment
- - Set Up - Open com.shashikant.TAU -
attachment
- - Launch com.shashikant.TAU - Setting up automation session - Wait for com.shashikant.TAU to idle -
attachment
- - Tap "city" TextField - Wait for com.shashikant.TAU to idle -
attachment
- - Find the "city" TextField - Check for interrupting elements affecting "city" TextField - Synthesize event -
attachment
- - Wait for com.shashikant.TAU to idle -
attachment
- - Type 'London' into "city" TextField - Wait for com.shashikant.TAU to idle -
attachment
- - Find the "city" TextField - Check for interrupting elements affecting "city" TextField - Synthesize event -
attachment
- - Wait for com.shashikant.TAU to idle -
attachment
- - Tap "enrollButton" Button - Wait for com.shashikant.TAU to idle -
attachment
- - Find the "enrollButton" Button - Check for interrupting elements affecting "enrollButton" Button - Synthesize event -
attachment
- - Scroll element to visible - Failed: Failed to scroll to visible (by AX action) Button, {{25.0, 500.0}, {330.0, 41.0}}, identifier: 'enrollButton', label: 'Enroll', error: Error kAXErrorCannotComplete performing AXAction kAXScrollToVisibleAction on element AX element pid: 58971, elementOrHash.elementID: 4931535136.11 - Retrying `Tap "enrollButton" Button` (attempt #2) - Wait for com.shashikant.TAU to idle -
attachment
- - Find the "enrollButton" Button - Check for interrupting elements affecting "enrollButton" Button - Synthesize event -
attachment
- - Scroll element to visible - Failed: Failed to scroll to visible (by AX action) Button, {{25.0, 500.0}, {330.0, 41.0}}, identifier: 'enrollButton', label: 'Enroll', error: Error kAXErrorCannotComplete performing AXAction kAXScrollToVisibleAction on element AX element pid: 58971, elementOrHash.elementID: 4931535136.11 - Retrying `Tap "enrollButton" Button` (attempt #3) - Wait for com.shashikant.TAU to idle -
attachment
- - Find the "enrollButton" Button - Check for interrupting elements affecting "enrollButton" Button - Synthesize event -
attachment
- - Scroll element to visible - Failed: Failed to scroll to visible (by AX action) Button, {{25.0, 500.0}, {330.0, 41.0}}, identifier: 'enrollButton', label: 'Enroll', error: Error kAXErrorCannotComplete performing AXAction kAXScrollToVisibleAction on element AX element pid: 58971, elementOrHash.elementID: 4931535136.11 - Assertion Failure at TAUUITests.swift:24: Failed to synthesize event: Failed to scroll to visible (by AX action) Button, {{25.0, 500.0}, {330.0, 41.0}}, identifier: 'enrollButton', label: 'Enroll', error: Error kAXErrorCannotComplete performing AXAction kAXScrollToVisibleAction on element AX element pid: 58971, elementOrHash.elementID: 4931535136.11. (Underlying Error: Error kAXErrorCannotComplete performing AXAction kAXScrollToVisibleAction on element AX element pid: 58971, elementOrHash.elementID: 4931535136.11) -
attachment
- - Tear Down - Terminate com.shashikant.TAU:58971 -
attachment
- diff --git a/__tests__/main.test.ts b/__tests__/main.test.ts index b6541697..f4a01d5d 100644 --- a/__tests__/main.test.ts +++ b/__tests__/main.test.ts @@ -16,7 +16,7 @@ test('Example.xcresult', async () => { const outputPath = path.join(os.tmpdir(), 'Example.md') await writeFile(outputPath, reportText) - // await writeFile('Example.md', reportText) + // await writeFile('__tests__/data/Example.md', reportText) expect((await readFile(outputPath)).toString()).toBe( (await readFile('__tests__/data/Example.md')).toString() ) @@ -33,7 +33,7 @@ test('Example.xcresult', async () => { const outputPath = path.join(os.tmpdir(), 'ExampleOnlyFailures.md') await writeFile(outputPath, reportText) - // await writeFile('ExampleOnlyFailures.md', reportText) + // await writeFile('__tests__/data/ExampleOnlyFailures.md', reportText) expect((await readFile(outputPath)).toString()).toBe( (await readFile('__tests__/data/ExampleOnlyFailures.md')).toString() ) @@ -47,7 +47,7 @@ test('KeychainAccess.xcresult', async () => { const outputPath = path.join(os.tmpdir(), 'KeychainAccess.md') await writeFile(outputPath, reportText) - // await writeFile('KeychainAccess.md', reportText) + // await writeFile('__tests__/data/KeychainAccess.md', reportText) expect((await readFile(outputPath)).toString()).toBe( (await readFile('__tests__/data/KeychainAccess.md')).toString() ) @@ -64,7 +64,7 @@ test('KeychainAccess.xcresult', async () => { const outputPath = path.join(os.tmpdir(), 'KeychainAccessOnlyFailures.md') await writeFile(outputPath, reportText) - // await writeFile('KeychainAccessOnlyFailures.md', reportText) + // await writeFile('__tests__/data/KeychainAccessOnlyFailures.md', reportText) expect((await readFile(outputPath)).toString()).toBe( (await readFile('__tests__/data/KeychainAccessOnlyFailures.md')).toString() ) @@ -78,7 +78,7 @@ test('TAU.xcresult', async () => { const outputPath = path.join(os.tmpdir(), 'TAU.md') await writeFile(outputPath, reportText) - // await writeFile('TAU.md', reportText) + // await writeFile('__tests__/data/TAU.md', reportText) expect((await readFile(outputPath)).toString()).toBe( (await readFile('__tests__/data/TAU.md')).toString() ) @@ -92,7 +92,7 @@ test('Merged.xcresult', async () => { const outputPath = path.join(os.tmpdir(), 'Merged.md') await writeFile(outputPath, reportText) - // await writeFile('Merged.md', reportText) + // await writeFile('__tests__/data/Merged.md', reportText) expect((await readFile(outputPath)).toString()).toBe( (await readFile('__tests__/data/Merged.md')).toString() ) @@ -106,7 +106,7 @@ test('Spaceship.xcresult', async () => { const outputPath = path.join(os.tmpdir(), 'Spaceship.md') await writeFile(outputPath, reportText) - // await writeFile('Spaceship.md', reportText) + // await writeFile('__tests__/data/Spaceship.md', reportText) expect((await readFile(outputPath)).toString()).toBe( (await readFile('__tests__/data/Spaceship.md')).toString() ) @@ -120,7 +120,7 @@ test('TestResults.xcresult', async () => { const outputPath = path.join(os.tmpdir(), 'TestResults.md') await writeFile(outputPath, reportText) - // await writeFile('TestResults.md', reportText) + // await writeFile('__tests__/data/TestResults.md', reportText) expect((await readFile(outputPath)).toString()).toBe( (await readFile('__tests__/data/TestResults.md')).toString() ) @@ -145,7 +145,7 @@ test('UhooiPicBook.xcresult', async () => { const outputPath = path.join(os.tmpdir(), 'UhooiPicBook.md') await writeFile(outputPath, reportText) - // await writeFile('UhooiPicBook.md', reportText) + // await writeFile('__tests__/data/UhooiPicBook.md', reportText) expect((await readFile(outputPath)).toString()).toBe( (await readFile('__tests__/data/UhooiPicBook.md')).toString() ) @@ -159,7 +159,7 @@ test('Attachment.xcresult', async () => { const outputPath = path.join(os.tmpdir(), 'Attachment.md') await writeFile(outputPath, reportText) - // await writeFile('Attachment.md', reportText) + // await writeFile('__tests__/data/Attachment.md', reportText) expect((await readFile(outputPath)).toString()).toBe( (await readFile('__tests__/data/Attachment.md')).toString() ) @@ -184,7 +184,7 @@ test('Coverage.xcresult', async () => { const outputPath = path.join(os.tmpdir(), 'Coverage.md') await writeFile(outputPath, reportText) - // await writeFile('Coverage.md', reportText) + // await writeFile('__tests__/data/Coverage.md', reportText) expect((await readFile(outputPath)).toString()).toBe( (await readFile('__tests__/data/Coverage.md')).toString() ) @@ -212,7 +212,7 @@ test('Coverage.xcresult', async () => { const outputPath = path.join(os.tmpdir(), 'HideCodeCoverage.md') await writeFile(outputPath, reportText) - // await writeFile('HideCodeCoverage.md', reportText) + // await writeFile('__tests__/data/HideCodeCoverage.md', reportText) expect((await readFile(outputPath)).toString()).toBe( (await readFile('__tests__/data/HideCodeCoverage.md')).toString() ) @@ -226,7 +226,7 @@ test('BuildError.xcresult', async () => { const outputPath = path.join(os.tmpdir(), 'BuildError.md') await writeFile(outputPath, reportText) - // await writeFile('BuildError.md', reportText) + // await writeFile('__tests__/data/BuildError.md', reportText) expect((await readFile(outputPath)).toString()).toBe( (await readFile('__tests__/data/BuildError.md')).toString() ) @@ -240,7 +240,7 @@ test('LinkError.xcresult', async () => { const outputPath = path.join(os.tmpdir(), 'LinkError.md') await writeFile(outputPath, reportText) - // await writeFile('LinkError.md', reportText) + // await writeFile('__tests__/data/LinkError.md', reportText) expect((await readFile(outputPath)).toString()).toBe( (await readFile('__tests__/data/LinkError.md')).toString() ) @@ -265,7 +265,7 @@ test('NoTests.xcresult', async () => { const outputPath = path.join(os.tmpdir(), 'NoTests.md') await writeFile(outputPath, reportText) - // await writeFile('NoTests.md', reportText) + // await writeFile('__tests__/data/NoTests.md', reportText) expect((await readFile(outputPath)).toString()).toBe( (await readFile('__tests__/data/NoTests.md')).toString() ) @@ -290,7 +290,7 @@ test('TestResults#669.xcresult', async () => { const outputPath = path.join(os.tmpdir(), 'NoTests.md') await writeFile(outputPath, reportText) - // await writeFile('TestResults#669.md', reportText) + // await writeFile('__tests__/data/TestResults#669.md', reportText) expect((await readFile(outputPath)).toString()).toBe( (await readFile('__tests__/data/TestResults#669.md')).toString() )