Skip to content

Commit f0ef766

Browse files
authored
test(react-native): update end2end test project (#2250)
1 parent 81f5ccd commit f0ef766

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

tests/react-native/End2End/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
Open Developer Tool -> simulator. In the simulator.app, open Hardware -> Device -> Manage Devices... -> Simulators ->
1818
click "+" at the button of left side bar. In the pop-up, "Device Type" drop-down, choose "iPhone X", click "Create".
1919
Make sure iPhone X is available in the last step.
20+
- make sure pod is installed. If not:
21+
```
22+
brew install cocoapods
23+
```
2024

2125
## Steps to Setup
2226

@@ -40,6 +44,7 @@
4044
- change directory to RN test root: `cd tests/react-native/End2End`
4145
- make sure you have configured the SDK with the the credentials from the testing account that contains
4246
`SdkReleaseV3IntegTestResourcesStack`
47+
- set the the AWS region `export AWS_REGION=[region]`
4348
- `node launch-app.js --local-publish`
4449

4550
## Steps to Re-run the Tests

tests/react-native/End2End/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
"test": "jest"
88
},
99
"dependencies": {
10-
"@aws-sdk/client-cognito-identity": "1.0.0-ci.0",
11-
"@aws-sdk/client-s3": "1.0.0-ci.0",
12-
"@aws-sdk/credential-provider-cognito-identity": "1.0.0-ci.0",
10+
"@aws-sdk/client-cognito-identity": "ci",
11+
"@aws-sdk/client-s3": "ci",
12+
"@aws-sdk/credential-provider-cognito-identity": "ci",
1313
"detox": "^17.0.2",
1414
"jest-junit": "^11.0.1",
1515
"react": "16.8.6",

0 commit comments

Comments
 (0)