Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Smoke tests] Improve software versions locking approach #1065

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 0 additions & 1 deletion test/smoke/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ out/
keybindings.*.json
test_data/
test-results.xml
config.json
*SmokeTests.xml
resources/latestRNApp/**
resources/latestExpoApp/**
Expand Down
11 changes: 11 additions & 0 deletions test/smoke/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"ANDROID_EMULATOR": "Nexus_5X_API_28",
"ANDROID_VERSION": "9",
"IOS_SIMULATOR": "iPhone 5s",
"IOS_VERSION": "12.4",
"CODE_VERSION": "1.36.1",
"EXPO_XDL_VERSION": "54.1.4",
"RN_VERSION": "0.60.4",
"PURE_RN_VERSION": "0.59.8",
"PURE_EXPO_VERSION": "34.0.2"
}
5 changes: 4 additions & 1 deletion test/smoke/docs/run-locally.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,10 @@ Tests requires several environment variables to be set up before starting:
|`IOS_SIMULATOR`|`iPhone 5s`|(**Only for iOS tests**) Name of the simulated device|
|`IOS_VERSION`|12.2|(**Only for iOS tests**) Version of iOS on the simulated device|
|`CODE_VERSION`|`*`, `1.34.1`, `insiders`|Version of VS Code to download and run while running tests|
|`EXPO_XDL_VERSION`|`54.1.4`, `skip`|Version of @expo/xdl package to install to the extension directory. If set to "skip" then package installation will be skipped|
|`EXPO_XDL_VERSION` (optional)|`54.1.4`, `skip`|Version of @expo/xdl package to install to the extension directory. If set to "skip" then package installation will be skipped|
|`RN_VERSION` (optional)|`0.60.0`, `skip`|Version of React Native application to debug while running tests. If set to "skip" then the latest version will be installed|
dhanvikapila marked this conversation as resolved.
Show resolved Hide resolved
|`PURE_RN_VERSION` (optional)|`0.59.8`, `skip`|Version of React Native while running tests on pure RN app with Expo. If set to "skip" then the latest version will be installed|
|`PURE_EXPO_VERSION` (optional)|`34.0.2`, `skip`|Version of Expo while running tests on pure RN app with Expo. If set to "skip" then the latest version will be installed|

To create environment variable you can use this commands:
* **Windows** (Powershell):
Expand Down