Skip to content

Commit

Permalink
chore: copy android error screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
eriklimakc committed Sep 12, 2024
1 parent 0b6d5eb commit 81b188a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions build/ci/scripts/android-uitest-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ IFS=$'\n\t'
set -x

export UNO_UITEST_SCREENSHOT_PATH=$BUILD_ARTIFACTSTAGINGDIRECTORY/screenshots/android
export UNO_UITEST_SCREENSHOT_TOCOPY_PATH=$BUILD_SOURCESDIRECTORY/testing/TestHarness/TestHarness.UITest/bin/Release/net8.0
export UNO_UITEST_PLATFORM=Android
export UNO_UITEST_ANDROIDAPK_PATH=$BUILD_SOURCESDIRECTORY/testing/TestHarness/TestHarness/bin/Release/net8.0-android/android-x64/com.companyname.TestHarness-Signed.apk
export UNO_UITEST_PROJECT=$BUILD_SOURCESDIRECTORY/testing/TestHarness/TestHarness.UITest
Expand Down Expand Up @@ -82,3 +83,7 @@ dotnet test \
--blame-hang-timeout $UITEST_TEST_TIMEOUT \
-v m \
|| true

mkdir -p $UNO_UITEST_SCREENSHOT_PATH/screenshots

cp $UNO_UITEST_SCREENSHOT_TOCOPY_PATH $UNO_UITEST_SCREENSHOT_PATH/screenshots
2 changes: 1 addition & 1 deletion testing/TestHarness/TestHarness.UITest/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ namespace TestHarness.UITest;

public class Constants
{
public readonly static string WebAssemblyDefaultUri = "https://localhost:57208";
public readonly static string WebAssemblyDefaultUri = "http://localhost:5000";
public readonly static string iOSAppName = "com.companyname.TestHarness";
public readonly static string AndroidAppName = "com.companyname.TestHarness";
public readonly static string iOSDeviceNameOrId = "iPad Pro (12.9-inch) (4th generation)";
Expand Down

0 comments on commit 81b188a

Please sign in to comment.