From b6e080760804939ede6d574262aa8a0a13ba9f16 Mon Sep 17 00:00:00 2001 From: kirillzyusko Date: Wed, 4 Sep 2024 15:46:33 +0200 Subject: [PATCH] e2e: migrate to specific host, don't use nvm --- tests/e2e/TestSpec.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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