Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add target app bundle for Apple XCUI tests
Summary: Reported in https://fb.workplace.com/groups/1373371236362107/posts/2130750520624171/?comment_id=2140998562932700 XCUI tests use a UI test target app (the app to test). This target app is similar to the test host app in terms of dependency and bundle: - Added a sub target to build the app bundle Looking at the tpx code: https://www.internalfb.com/code/fbsource/[5796a9bd4962e1afd8b1dc8fe7abc8e8200527b8]/fbcode/testinfra/tpx/tpx-buck/src/translator/apple_test.rs?lines=185-191 - Added the label tpx:apple_test:buck2:uiTest, so tpx knows it's a XCUI test. - Set the env var TARGET_APP_BUNDLE Finally, I fixed the TpxUITests with the correct values for test_host_app and ui_test_target_app. These tests weren't working (they were failing with the error "Failure: No target application path specified via test configuration" -- now they succeed. Differential Revision: D56968361 fbshipit-source-id: 23778755a4c706a353ac61ba834d7262ae3c506b
- Loading branch information