Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
153 commits
Select commit Hold shift + click to select a range
e50393f
Add activation for unity licence
Nevazhnovu Sep 3, 2024
0632944
Add `appium` and `altTester` setup
Nevazhnovu Sep 3, 2024
e7b352d
Add log files and upload artifact
Nevazhnovu Sep 4, 2024
8880609
Add `reactivecircus`
Nevazhnovu Sep 4, 2024
4b8252c
Change to `pull_request`
Nevazhnovu Sep 5, 2024
4382abb
Delete old `Run test`
Nevazhnovu Sep 5, 2024
65eef63
Add `sdkmanager --list` for test
Nevazhnovu Sep 5, 2024
d1eaf7b
android emulator test
Nevazhnovu Sep 5, 2024
66dce20
Del commented
Nevazhnovu Sep 5, 2024
8d08105
Test android emulator
Nevazhnovu Sep 5, 2024
9a7478d
Del coments
Nevazhnovu Sep 5, 2024
79aa919
Revert
Nevazhnovu Sep 5, 2024
f3a5321
Change to `macos-13`
Nevazhnovu Sep 5, 2024
c1af8f0
Add set up java
Nevazhnovu Sep 5, 2024
5e679f8
Up checkout
Nevazhnovu Sep 5, 2024
cd8c4b1
Fix
Nevazhnovu Sep 5, 2024
91cdcea
Add tree
Nevazhnovu Sep 5, 2024
92a608f
Del tree
Nevazhnovu Sep 5, 2024
bd4f8e4
Fix dir
Nevazhnovu Sep 5, 2024
7ecd6bc
Fix dir
Nevazhnovu Sep 5, 2024
5796010
Fix call
Nevazhnovu Sep 5, 2024
5508e78
Run android
Nevazhnovu Sep 5, 2024
268f025
Remove if
Nevazhnovu Sep 5, 2024
2d3b485
Look for avd
Nevazhnovu Sep 5, 2024
da7b7fc
With tree
Nevazhnovu Sep 5, 2024
2ff0195
AVD_HOME
Nevazhnovu Sep 5, 2024
1f474f4
Create cache avd
Nevazhnovu Sep 5, 2024
e2cfe7d
Check avd
Nevazhnovu Sep 5, 2024
c14fa12
Allow run test
Nevazhnovu Sep 5, 2024
e347c57
Uncomnent appium and alttester
Nevazhnovu Sep 5, 2024
f6edc25
Fix call altTester
Nevazhnovu Sep 6, 2024
f8dd0b4
Change logfile dir
Nevazhnovu Sep 6, 2024
2b3f4be
Move logs to automator
Nevazhnovu Sep 6, 2024
18ec224
Remove if
Nevazhnovu Sep 6, 2024
4b2fa1e
Update `gitignore` and add android build
Nevazhnovu Sep 6, 2024
ffbffca
Increase timeout for `uiautomator`
Nevazhnovu Sep 6, 2024
6d53d55
Fix timeout
Nevazhnovu Sep 6, 2024
32803e5
Increase to 120sec
Nevazhnovu Sep 6, 2024
3b962d4
Increase `uiautomator2ServerLaunchTimeout`
Nevazhnovu Sep 6, 2024
8b9cf50
Increase `androidInstallTimeout`
Nevazhnovu Sep 6, 2024
16c3b76
Add `disk-size`, `heap-size`
Nevazhnovu Sep 6, 2024
296f29d
Revert
Nevazhnovu Sep 6, 2024
771e695
Increase `initTimeoutSec`
Nevazhnovu Sep 6, 2024
d0b4426
Call altTester
Nevazhnovu Sep 9, 2024
9a61be6
Fix altTester call
Nevazhnovu Sep 9, 2024
c684d37
Add accept terms
Nevazhnovu Sep 9, 2024
e79703e
Update call AltTester
Nevazhnovu Sep 9, 2024
400ec3b
Add logs from test
Nevazhnovu Sep 10, 2024
6eadd97
Fix logs
Nevazhnovu Sep 10, 2024
1cc5b93
Disable automator for test
Nevazhnovu Sep 10, 2024
adee63f
Move run AltTester
Nevazhnovu Sep 10, 2024
59b5162
Fix log
Nevazhnovu Sep 10, 2024
f686476
Fix
Nevazhnovu Sep 10, 2024
35d1e19
[DIA-3802] update `ConsentManagementProvider.apk` example app for And…
Nevazhnovu Sep 11, 2024
b739be2
Add chromeDriver check
Nevazhnovu Sep 11, 2024
0857295
Update `chromeDriver`
Nevazhnovu Sep 11, 2024
86c3218
Increase timeout
Nevazhnovu Sep 11, 2024
e082cb0
Change flow
Nevazhnovu Sep 11, 2024
59ae909
Move to emulator scripts
Nevazhnovu Sep 11, 2024
425305f
Fix yml
Nevazhnovu Sep 11, 2024
024bd35
Add pwd
Nevazhnovu Sep 11, 2024
48a8ca6
Add pwd && ls
Nevazhnovu Sep 11, 2024
4eb5ed8
Change dir
Nevazhnovu Sep 11, 2024
3aaa7f4
Update version
Nevazhnovu Sep 11, 2024
a04ac4f
Bump libraries versions
Nevazhnovu Sep 12, 2024
8e2d741
Add ignoreHiddenApiPolicyError
Nevazhnovu Sep 12, 2024
a8b7e13
Add echo
Nevazhnovu Sep 12, 2024
e97c960
Del comment
Nevazhnovu Sep 12, 2024
9c7f33a
Increase timeout
Nevazhnovu Sep 12, 2024
29bd1a1
Increase timeout
Nevazhnovu Sep 12, 2024
c18d809
Add logcat
Nevazhnovu Sep 12, 2024
b4a3673
Remove `no-window`
Nevazhnovu Sep 12, 2024
2809899
Change to linux
Nevazhnovu Sep 12, 2024
08277bc
Update altTester step
Nevazhnovu Sep 12, 2024
d53cfc0
Update avd cache
Nevazhnovu Sep 12, 2024
284d608
Revert `no-window`
Nevazhnovu Sep 12, 2024
30d8acc
Increase timeout
Nevazhnovu Sep 12, 2024
8e4377c
Fix dotnet log
Nevazhnovu Sep 12, 2024
82e7b27
Disable altDriver log
Nevazhnovu Sep 12, 2024
bfa8b08
Enable exit code check
Nevazhnovu Sep 12, 2024
ceb68fc
Add cache
Nevazhnovu Sep 12, 2024
e33040b
Add dotnet-test-rerun
Nevazhnovu Sep 13, 2024
c965dbb
Call test-rerun
Nevazhnovu Sep 13, 2024
ccc9a1c
test-rerun with one test
Nevazhnovu Sep 13, 2024
a5ccfd4
Test for error
Nevazhnovu Sep 13, 2024
b2f7b47
Revert call altTester
Nevazhnovu Sep 13, 2024
f124b8b
Add another 2 tests
Nevazhnovu Sep 13, 2024
3a802fc
Fix warnings
Nevazhnovu Sep 16, 2024
3b1ee9a
Fix for android emulator
Nevazhnovu Sep 16, 2024
664512f
Add all tests to android
Nevazhnovu Sep 16, 2024
27331d5
Fix point
Nevazhnovu Sep 16, 2024
4319c03
Disable `SaveAndExitUSNATTest` test
Nevazhnovu Sep 16, 2024
aea0d2f
Add native logs
Nevazhnovu Sep 16, 2024
2fe48c6
Disable `AcceptRejectAllUsnatInPMTest` test
Nevazhnovu Sep 16, 2024
24a6b75
Add `sleep` before get state
Nevazhnovu Sep 16, 2024
6d5a6f5
Add swipe
Nevazhnovu Sep 16, 2024
078f2d2
Add `pmLayerUSNAT.getAcceptRejectState` log
Nevazhnovu Sep 16, 2024
7a50634
Increase `ram`, `heap`
Nevazhnovu Sep 16, 2024
baf63d3
Increase `heap` and `ram`
Nevazhnovu Sep 16, 2024
1ee14e3
Add `sleep`
Nevazhnovu Sep 16, 2024
19e27a6
Reopen pm tab
Nevazhnovu Sep 17, 2024
0f7a724
Revert list of tests
Nevazhnovu Sep 17, 2024
7a0c12d
Add job for ios
Nevazhnovu Sep 18, 2024
23433f8
Appium simulator start
Nevazhnovu Sep 18, 2024
e1e50d0
Add ios app
Nevazhnovu Sep 18, 2024
20727a0
Increase `appium:wdaLaunchTimeout`
Nevazhnovu Sep 18, 2024
76687d3
Fix point
Nevazhnovu Sep 18, 2024
bfd86e5
Add tests for ios
Nevazhnovu Sep 18, 2024
e87ec9a
Add tests
Nevazhnovu Sep 18, 2024
a375287
Add `sh` for ios testing
Nevazhnovu Sep 18, 2024
8021925
Increase sleep
Nevazhnovu Sep 18, 2024
a1fe5c4
Fix log
Nevazhnovu Sep 18, 2024
721e509
Fix runsettings
Nevazhnovu Sep 18, 2024
73b20a1
Increase rerun attempts
Nevazhnovu Sep 18, 2024
a5a195b
Kill appium
Nevazhnovu Sep 19, 2024
7edcef9
Add boot simulator
Nevazhnovu Sep 19, 2024
5e5fc2c
Run without sh
Nevazhnovu Sep 19, 2024
b54e2f1
Restart only appium
Nevazhnovu Sep 19, 2024
7246bea
Fix
Nevazhnovu Sep 19, 2024
613f985
Add sleep
Nevazhnovu Sep 19, 2024
c468f78
Add `xcrun simctl list devices`
Nevazhnovu Sep 19, 2024
e9d7ad7
Add platformVersion
Nevazhnovu Sep 19, 2024
582a741
Fix caps
Nevazhnovu Sep 19, 2024
d1fd330
Move cap
Nevazhnovu Sep 19, 2024
aa64272
Setup xcode
Nevazhnovu Sep 19, 2024
9684bf3
Fix
Nevazhnovu Sep 19, 2024
87581f5
Fix
Nevazhnovu Sep 19, 2024
59b9471
Increase timeouts
Nevazhnovu Sep 19, 2024
f8a98f4
Change to iOS 16.1
Nevazhnovu Sep 20, 2024
a5721a7
Delete old app for iOS
Nevazhnovu Sep 20, 2024
225b092
update ios app
Nevazhnovu Sep 20, 2024
d06aad6
add `.gitattributes` for git lfs
Nevazhnovu Sep 20, 2024
9080d8a
Add `lfs`
Nevazhnovu Sep 20, 2024
de70f34
Add `lfs pull`
Nevazhnovu Sep 20, 2024
1cdbfa2
Merge branch 'DIA-3802-git-action-tests-pipeline' of github.com:Sourc…
Nevazhnovu Sep 20, 2024
682e7ef
Manual rerun by sh
Nevazhnovu Sep 20, 2024
f0afa78
Add sleep
Nevazhnovu Sep 20, 2024
04ad7d4
Disable altTester
Nevazhnovu Sep 23, 2024
b947da8
Add tests
Nevazhnovu Sep 23, 2024
3e51fb3
Up ios simulator version
Nevazhnovu Sep 23, 2024
15edaa0
Bump Xcode version
Nevazhnovu Sep 23, 2024
7716234
Revert ios simulator version
Nevazhnovu Sep 23, 2024
ec19cf5
Move dotnet logs
Nevazhnovu Sep 23, 2024
76e46bf
Parallel jobs
Nevazhnovu Sep 23, 2024
94cac6a
Add `need` and change artifact names
Nevazhnovu Sep 24, 2024
5afa980
Add altUnity for android
Nevazhnovu Sep 24, 2024
ebec06f
Disable ios
Nevazhnovu Sep 24, 2024
e77a40b
Fix
Nevazhnovu Sep 24, 2024
120ac9b
Add `always()` to store dotnet logs
Nevazhnovu Sep 24, 2024
ad5c27b
Add dotnet logs for android
Nevazhnovu Sep 24, 2024
b708521
Increase timeout
Nevazhnovu Sep 24, 2024
caa337d
Icrease rerun attempts
Nevazhnovu Sep 24, 2024
ba074f2
Create separate `sh` files for platforms
Nevazhnovu Sep 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
UI-TESTS/BUILDS/iOS/*/** filter=lfs diff=lfs merge=lfs -text
.app filter=lfs diff=lfs merge=lfs -text
UnityFramework filter=lfs diff=lfs merge=lfs -text
UI-TESTS/BUILDS/iOS/ConsentMessagePlugin.app/*/** filter=lfs diff=lfs merge=lfs -text
UI-TESTS/BUILDS/iOS/ConsentMessagePlugin.app filter=lfs diff=lfs merge=lfs -text
205 changes: 205 additions & 0 deletions .github/workflows/Test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,205 @@
name: UI tests
on: [pull_request]

jobs:
AndroidUITests:
needs: IOSUITests
if: always()
runs-on: ubuntu-latest
name: AndroidUITests
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Enable KVM
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
- name: set up JDK 17
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 17
- name: Gradle cache
uses: gradle/actions/setup-gradle@v3
- name: AVD cache
uses: actions/cache@v4
id: avd-cache
with:
path: |
~/.android/avd/*
~/.android/adb*
key: avd-34
- name: create AVD and generate snapshot for caching
if: steps.avd-cache.outputs.cache-hit != 'true'
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 34
target: google_apis
force-avd-creation: true
disk-size: 6000M
heap-size: 3048M
ram-size: 3048M
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: false
arch: x86_64
script: echo "Generated AVD snapshot for caching."
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0'
- name: Setup dotnet-test-rerun
run: |
dotnet tool install --global dotnet-test-rerun
- name: Install and run Appium Server
run: |
npm i --location=global appium
appium driver install uiautomator2
CurWorkDir=$(pwd)
pushd "$CurWorkDir"
mkdir logs
cd logs
echo "appium" > appiumLog.txt
popd
appium &>logs/appiumLog.txt &
- name: Create log files for logcat
run: |
cd logs
echo "logcat" > logcat.txt
echo "logcat" > logcatPID.txt
- name: Install and run AltTester Server
run: |
CurWorkDir=$(pwd)
pushd "$CurWorkDir"
cd logs
echo "alttester" > altTesterLog.txt
echo "alttester" > runAltTesterLog.txt
popd
wget https://alttester.com/app/uploads/AltTester/desktop/AltTesterDesktopLinuxBatchmode.zip
unzip AltTesterDesktopLinuxBatchmode.zip
cd AltTesterDesktopLinux
chmod +x AltTesterDesktop.x86_64
./AltTesterDesktop.x86_64 -batchmode -nographics -port 13000 -license ${{ secrets.ALTTESTERLICENSEKEY }} -termsAndConditionsAccepted -logfile ~/work/unity-sdk/unity-sdk/logs/altTesterLog.txt &>~/work/unity-sdk/unity-sdk/logs/runAltTesterLog.txt &
- name: Start emulator and run tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 34
target: google_apis
force-avd-creation: false
disk-size: 6000M
heap-size: 3048M
ram-size: 3048M
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: true
arch: x86_64
script: |
adb logcat > ~/work/unity-sdk/unity-sdk/logs/logcat.txt & echo $! > ~/work/unity-sdk/unity-sdk/logs/logcatPID.txt
cd ~/work/unity-sdk/unity-sdk && chmod -R 777 UI-TESTS
test-rerun ~/work/unity-sdk/unity-sdk/UI-TESTS -s ~/work/unity-sdk/unity-sdk/UI-TESTS/android.runsettings --filter Name=ClickAcceptAllButtonTest --rerunMaxAttempts 5
test-rerun ~/work/unity-sdk/unity-sdk/UI-TESTS -s ~/work/unity-sdk/unity-sdk/UI-TESTS/android.runsettings --filter Name=ClickRejectAllButtonTest --rerunMaxAttempts 5
test-rerun ~/work/unity-sdk/unity-sdk/UI-TESTS -s ~/work/unity-sdk/unity-sdk/UI-TESTS/android.runsettings --filter Name=OpenPmLayersTest --rerunMaxAttempts 5
test-rerun ~/work/unity-sdk/unity-sdk/UI-TESTS -s ~/work/unity-sdk/unity-sdk/UI-TESTS/android.runsettings --filter Name=SaveAndExitGDPRTest --rerunMaxAttempts 5
test-rerun ~/work/unity-sdk/unity-sdk/UI-TESTS -s ~/work/unity-sdk/unity-sdk/UI-TESTS/android.runsettings --filter Name=SaveAndExitCCPATest --rerunMaxAttempts 5
# :test-rerun ~/work/unity-sdk/unity-sdk/UI-TESTS -s ~/work/unity-sdk/unity-sdk/UI-TESTS/android.runsettings --filter Name=SaveAndExitUSNATTest --rerunMaxAttempts 5
test-rerun ~/work/unity-sdk/unity-sdk/UI-TESTS -s ~/work/unity-sdk/unity-sdk/UI-TESTS/android.runsettings --filter Name=ClearAllButtonTest --rerunMaxAttempts 5
test-rerun ~/work/unity-sdk/unity-sdk/UI-TESTS -s ~/work/unity-sdk/unity-sdk/UI-TESTS/android.runsettings --filter Name=AuthIdTest --rerunMaxAttempts 5
# :test-rerun ~/work/unity-sdk/unity-sdk/UI-TESTS -s ~/work/unity-sdk/unity-sdk/UI-TESTS/android.runsettings --filter Name=AcceptRejectAllUsnatInPMTest --rerunMaxAttempts 5
test-rerun ~/work/unity-sdk/unity-sdk/UI-TESTS -s ~/work/unity-sdk/unity-sdk/UI-TESTS/android.runsettings --filter Name=ProgramaticRejectAllGDPRTest --rerunMaxAttempts 5
test-rerun ~/work/unity-sdk/unity-sdk/UI-TESTS -s ~/work/unity-sdk/unity-sdk/UI-TESTS/android.runsettings --filter Name=ProgramaticRejectAllCCPATest --rerunMaxAttempts 5
test-rerun ~/work/unity-sdk/unity-sdk/UI-TESTS -s ~/work/unity-sdk/unity-sdk/UI-TESTS/android.runsettings --filter Name=ProgramaticRejectAllUSNATTest --rerunMaxAttempts 5
test-rerun ~/work/unity-sdk/unity-sdk/UI-TESTS -s ~/work/unity-sdk/unity-sdk/UI-TESTS/android.runsettings --filter Name=ProgramaticCustomConsentGDPRTest --rerunMaxAttempts 5
test-rerun ~/work/unity-sdk/unity-sdk/UI-TESTS -s ~/work/unity-sdk/unity-sdk/UI-TESTS/android.runsettings --filter Name=MessageLanguageTest --rerunMaxAttempts 5
lsof -P | cat ~/work/unity-sdk/unity-sdk/logs/logcatPID.txt | xargs kill
- name: Move dotnet logs
if: always()
run: |
cd ~/work/unity-sdk/unity-sdk/UI-TESTS
find . -name '*.trx' -exec mv {} ~/work/unity-sdk/unity-sdk/logs \;
- name: Archive logs
if: always()
uses: actions/upload-artifact@v4
with:
name: androidLogs
path: logs/
compression-level: 0
IOSUITests:
runs-on: macos-13
name: IOSUITests
steps:
- name: Checkout
uses: actions/checkout@v4
with:
lfs: 'true'
- name: Checkout LFS objects
run: git lfs pull
- name: Setup XCode
run: sudo xcode-select -s '/Applications/Xcode_14.1.app/Contents/Developer'
- name: Boot simulator
run: |
xcrun simctl boot $(xcrun simctl list devices | grep -m 1 'iPhone 14' |grep -E -o -i '([0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12})')
sleep 30
open -a simulator
sleep 60
xcrun simctl list devices
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0'
- name: Setup dotnet-test-rerun
run: |
dotnet tool install --global dotnet-test-rerun
- name: Install and run Appium Server
run: |
npm i --location=global appium
appium driver install xcuitest
CurWorkDir=$(pwd)
pushd "$CurWorkDir"
mkdir logs
cd logs
echo "appium" > appiumLog.txt
popd
appium &>logs/appiumLog.txt &
- name: Install and run AltTester Server
run: |
CurWorkDir=$(pwd)
pushd "$CurWorkDir"
cd logs
echo "alttester" > altTesterLog.txt
echo "alttester" > runAltTesterLog.txt
popd
wget https://alttester.com/app/uploads/AltTester/desktop/AltTesterDesktopPackageMac__v2.1.2.zip
unzip AltTesterDesktopPackageMac__v2.1.2.zip
cd AltTesterDesktopPackageMac__v2.1.2
hdiutil attach AltTesterDesktop__v2.1.2.dmg
cp -R /Volumes/AltTesterDesktop/AltTesterDesktop.app ~
cd ~ && AltTesterDesktop.app/Contents/MacOS/AltTesterDesktop -batchmode -nographics -port 13000 -license ${{ secrets.ALTTESTERLICENSEKEY }} -termsAndConditionsAccepted -logfile ~/work/unity-sdk/unity-sdk/logs/altTesterLog.txt &>~/work/unity-sdk/unity-sdk/logs/runAltTesterLog.txt &
- name: Run tests
run: |
cd ~/work/unity-sdk/unity-sdk && chmod -R 777 UI-TESTS
cd UI-TESTS
test-rerun ~/work/unity-sdk/unity-sdk/UI-TESTS -s ~/work/unity-sdk/unity-sdk/UI-TESTS/ios.runsettings --filter Name=ClickAcceptAllButtonTest --rerunMaxAttempts 5
test-rerun ~/work/unity-sdk/unity-sdk/UI-TESTS -s ~/work/unity-sdk/unity-sdk/UI-TESTS/ios.runsettings --filter Name=ClickRejectAllButtonTest --rerunMaxAttempts 5
test-rerun ~/work/unity-sdk/unity-sdk/UI-TESTS -s ~/work/unity-sdk/unity-sdk/UI-TESTS/ios.runsettings --filter Name=OpenPmLayersTest --rerunMaxAttempts 5
test-rerun ~/work/unity-sdk/unity-sdk/UI-TESTS -s ~/work/unity-sdk/unity-sdk/UI-TESTS/ios.runsettings --filter Name=SaveAndExitGDPRTest --rerunMaxAttempts 5
test-rerun ~/work/unity-sdk/unity-sdk/UI-TESTS -s ~/work/unity-sdk/unity-sdk/UI-TESTS/ios.runsettings --filter Name=SaveAndExitCCPATest --rerunMaxAttempts 5
# :test-rerun ~/work/unity-sdk/unity-sdk/UI-TESTS -s ~/work/unity-sdk/unity-sdk/UI-TESTS/ios.runsettings --filter Name=SaveAndExitUSNATTest --rerunMaxAttempts 5
test-rerun ~/work/unity-sdk/unity-sdk/UI-TESTS -s ~/work/unity-sdk/unity-sdk/UI-TESTS/ios.runsettings --filter Name=ClearAllButtonTest --rerunMaxAttempts 5
test-rerun ~/work/unity-sdk/unity-sdk/UI-TESTS -s ~/work/unity-sdk/unity-sdk/UI-TESTS/ios.runsettings --filter Name=AuthIdTest --rerunMaxAttempts 5
# :test-rerun ~/work/unity-sdk/unity-sdk/UI-TESTS -s ~/work/unity-sdk/unity-sdk/UI-TESTS/ios.runsettings --filter Name=AcceptRejectAllUsnatInPMTest --rerunMaxAttempts 5
test-rerun ~/work/unity-sdk/unity-sdk/UI-TESTS -s ~/work/unity-sdk/unity-sdk/UI-TESTS/ios.runsettings --filter Name=ProgramaticRejectAllGDPRTest --rerunMaxAttempts 5
test-rerun ~/work/unity-sdk/unity-sdk/UI-TESTS -s ~/work/unity-sdk/unity-sdk/UI-TESTS/ios.runsettings --filter Name=ProgramaticRejectAllCCPATest --rerunMaxAttempts 5
test-rerun ~/work/unity-sdk/unity-sdk/UI-TESTS -s ~/work/unity-sdk/unity-sdk/UI-TESTS/ios.runsettings --filter Name=ProgramaticRejectAllUSNATTest --rerunMaxAttempts 5
test-rerun ~/work/unity-sdk/unity-sdk/UI-TESTS -s ~/work/unity-sdk/unity-sdk/UI-TESTS/ios.runsettings --filter Name=ProgramaticCustomConsentGDPRTest --rerunMaxAttempts 5
test-rerun ~/work/unity-sdk/unity-sdk/UI-TESTS -s ~/work/unity-sdk/unity-sdk/UI-TESTS/ios.runsettings --filter Name=MessageLanguageTest --rerunMaxAttempts 5
- name: Move dotnet logs
if: always()
run: |
cd ~/work/unity-sdk/unity-sdk/UI-TESTS
find . -name '*.trx' -exec mv {} ~/work/unity-sdk/unity-sdk/logs \;
- name: Archive logs
if: always()
uses: actions/upload-artifact@v4
with:
name: iosLogs
path: logs/
compression-level: 0
20 changes: 20 additions & 0 deletions .github/workflows/activation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Acquire activation file

on:
workflow_dispatch:

jobs:
activation:
name: Request manual activation file 🔑
runs-on: macos-latest
steps:
# Request manual activation file
- name: Unity - Request Activation File
id: requestActivationFile
uses: game-ci/[email protected]
- name: Upload activation file
uses: actions/upload-artifact@v3
with:
name: ${{ steps.requestActivationFile.outputs.filePath }}
path: ${{ steps.requestActivationFile.outputs.filePath }}
retention-days: 3
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
.gradle/

# Builds
*.apk
*DoNotShip*

# Autogenerated VS/MD/Consulo solution and project files
ExportedObj/
Expand Down Expand Up @@ -60,8 +60,8 @@ Thumbs.db.meta
#UI-TESTS related
/UI-TESTS/bin/Debug/
/UI-TESTS/obj/Debug/
/UI-TESTS/BUILDS/Android/
/UI-TESTS/BUILDS/iOS/
/UI-TESTS/BUILDS/IOS/*
!/UI-TESTS/BUILDS/IOS/ConsentMessagePlugin.app
/UI-TESTS/obj/project.nuget.cache
/UI-TESTS/obj/
!/UI-TESTS/UI-TESTS.csproj
Binary file added UI-TESTS/BUILDS/Android/ConsentMessagePlugin.apk
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions UI-TESTS/BUILDS/iOS/ConsentMessagePlugin.app/Assets.car
Git LFS file not shown
3 changes: 3 additions & 0 deletions UI-TESTS/BUILDS/iOS/ConsentMessagePlugin.app/Barcode.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Git LFS file not shown
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
3 changes: 3 additions & 0 deletions UI-TESTS/BUILDS/iOS/ConsentMessagePlugin.app/Data/boot.config
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
3 changes: 3 additions & 0 deletions UI-TESTS/BUILDS/iOS/ConsentMessagePlugin.app/Data/level0
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Loading
Loading