Skip to content

BrowserStack App Automate - XCUITest failing #10

@OmarJalil

Description

@OmarJalil

I am trying to run my UI Tests on Browserstack through Bitrise and getting failure when I did the required steps.

In the documentation of BrowserStack it says that $BITRISE_TEST_BUNDLE_PATH should be used.

When I do that I am getting the following error:

2024/02/01 16:38:48 Starting the build on BrowserStack App Automate
2024/02/01 16:38:48 xcuitest_testsuite_path: couldn’t find the <AppnameUITests>-Runner.app .  Please add the $BITRISE_TEST_BUNDLE_PATH from Xcode Build for testing for iOS step or the absolute path of <AppnameUITests>-Runner.app

But the previous step clearly exports the $BITRISE_TEST_BUNDLE_PATH

Export outputs
The xcodebuild command log file path is available in BITRISE_XCODE_RAW_RESULT_TEXT_PATH env: /Users/[REDACTED]/deploy/raw-xcodebuild-output.log
The test bundle directory is available in BITRISE_TEST_BUNDLE_PATH env: /var/folders/yy/6kcn9mkd5svdbqnznwf474f00000gn/T/test_bundle2829530248
The zipped test bundle is available in BITRISE_TEST_BUNDLE_ZIP_PATH env: /Users/[REDACTED]/deploy/testbundle.zip
The built xctestrun file is available in BITRISE_XCTESTRUN_FILE_PATH env: /var/folders/yy/6kcn9mkd5svdbqnznwf474f00000gn/T/test_bundle2829530248/Staging_Staging_iphoneos17.2-arm64.xctestrun

I found the very same error from 2022
Do you have any suggestion to resolve this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions