Skip to content

Commit

Permalink
test(react-native): update end2end test project (#2250)
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanZhengYP committed Apr 15, 2021
1 parent 81f5ccd commit f0ef766
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions tests/react-native/End2End/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
Open Developer Tool -> simulator. In the simulator.app, open Hardware -> Device -> Manage Devices... -> Simulators ->
click "+" at the button of left side bar. In the pop-up, "Device Type" drop-down, choose "iPhone X", click "Create".
Make sure iPhone X is available in the last step.
- make sure pod is installed. If not:
```
brew install cocoapods
```

## Steps to Setup

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

## Steps to Re-run the Tests
Expand Down
6 changes: 3 additions & 3 deletions tests/react-native/End2End/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"test": "jest"
},
"dependencies": {
"@aws-sdk/client-cognito-identity": "1.0.0-ci.0",
"@aws-sdk/client-s3": "1.0.0-ci.0",
"@aws-sdk/credential-provider-cognito-identity": "1.0.0-ci.0",
"@aws-sdk/client-cognito-identity": "ci",
"@aws-sdk/client-s3": "ci",
"@aws-sdk/credential-provider-cognito-identity": "ci",
"detox": "^17.0.2",
"jest-junit": "^11.0.1",
"react": "16.8.6",
Expand Down

0 comments on commit f0ef766

Please sign in to comment.