Skip to content

Commit

Permalink
test: Prefix informative E2E test setup logs
Browse files Browse the repository at this point in the history
Merely an attempt to add structure to the outputted logs.
  • Loading branch information
dcalhoun committed Oct 23, 2023
1 parent df227e1 commit d6e5583
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/react-native-editor/bin/test-e2e-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@ fi
output=$($APPIUM_CMD driver list --installed --json)

if echo "$output" | grep -q 'uiautomator2'; then
echo 'UiAutomator2 is installed, skipping installation.'
echo '[info] UiAutomator2 is installed, skipping installation.'
else
echo 'UiAutomator2 not found, installing...'
echo '[info] UiAutomator2 not found, installing...'
$APPIUM_CMD driver install uiautomator2
fi

if echo "$output" | grep -q 'xcuitest'; then
echo 'XCUITest is installed, skipping installation.'
echo '[info] XCUITest is installed, skipping installation.'
else
echo 'XCUITest not found, installing...'
echo '[info] XCUITest not found, installing...'
$APPIUM_CMD driver install xcuitest
fi

# Mitigate conflicts between development server caches and E2E tests
npm run clean:runtime > /dev/null
echo 'Runtime cache cleaned.'
echo '[info] Runtime cache cleaned.'

0 comments on commit d6e5583

Please sign in to comment.