Skip to content

Commit

Permalink
chore: Update output path
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelaban committed Jun 5, 2024
1 parent 020faca commit 8ff8582
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions build/scripts/ios-uitest-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ xcrun simctl list devices --json

/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator &

# Prime the output directory
mkdir -p $UNO_UITEST_SCREENSHOT_PATH

cd $BUILD_SOURCESDIRECTORY

cd $UNO_UITEST_IOS_PROJECT
Expand All @@ -44,9 +47,6 @@ while true; do
sleep 5
done

# get the simulator data path
export UITEST_IOSDEVICE_DATA_PATH=`xcrun simctl list -j | jq -r --arg sim "$UNO_UITEST_SIMULATOR_VERSION" --arg name "$UNO_UITEST_SIMULATOR_NAME" '.devices[$sim] | .[] | select(.name==$name) | .dataPath'`

echo "Simulator Data Path: $UITEST_IOSDEVICE_DATA_PATH"
cp "$UITEST_IOSDEVICE_DATA_PATH/../device.plist" $UNO_UITEST_SCREENSHOT_PATH/_logs

Expand All @@ -73,7 +73,6 @@ idb install --udid "$UITEST_IOSDEVICE_ID" "$UNO_UITEST_IOSBUNDLE_PATH"


# Run the tests
mkdir -p $UNO_UITEST_SCREENSHOT_PATH

cd $UNO_UITEST_PROJECT

Expand Down

0 comments on commit 8ff8582

Please sign in to comment.