Skip to content

test(react-native): update end2end test project #2250

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

Merged
merged 1 commit into from
Apr 15, 2021
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
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