diff --git a/tests/e2e/TestSpec.yml b/tests/e2e/TestSpec.yml index 277a4d1ef43b..563a7eb4ce0e 100644 --- a/tests/e2e/TestSpec.yml +++ b/tests/e2e/TestSpec.yml @@ -1,16 +1,15 @@ version: 0.1 +android_test_host: amazon_linux_2 + phases: install: commands: - # Install correct version of node - - export NVM_DIR=$HOME/.nvm - export FLASHLIGHT_BINARY_PATH=$DEVICEFARM_TEST_PACKAGE_PATH/zip/bin - - . $NVM_DIR/nvm.sh # Note: Node v16 is the latest supported version of node for AWS Device Farm # using v20 will not work! - - nvm install 16 - - nvm use --delete-prefix 16 + - devicefarm-cli use node 16 + - node -v # Reverse ports using AWS magic - PORT=4723