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

fix: Add Detox e2e tests. #340

Merged
merged 10 commits into from
Jan 3, 2024
Merged

fix: Add Detox e2e tests. #340

merged 10 commits into from
Jan 3, 2024

Conversation

yusinto
Copy link
Contributor

@yusinto yusinto commented Dec 29, 2023

This adds e2e tests for ios using Detox. Please try running it following the example/README.

Additionally I also included some fixes for release-please to publish sdk-client and rn.

detox-ios.mov

npm_version: 9.5.0
- id: release-common
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a bug in the existing config. This step id should say release-sdk-server, but it says release-common instead. I think it's an artifact of copy pasting. The other packages suffer from the same bug and I've fixed them all too.

release-please-config.json Outdated Show resolved Hide resolved
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding bump-minor-pre-major now that the packages have been published as 0.1.x.

2. On a terminal:

```shell
yarn && yarn start
Copy link
Member

@kinyoklion kinyoklion Jan 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made a comment, but I need to understand where I actually start this. My assumption was e2e.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be run at the example level. I will update this and also include the extra step to run the xcode build for ios to generate the necessary ios folder and install cocoapods.

@yusinto yusinto merged commit e7b9d29 into main Jan 3, 2024
16 checks passed
@yusinto yusinto deleted the yus/add-detox-e2e branch January 3, 2024 20:40
@github-actions github-actions bot mentioned this pull request Jan 3, 2024
yusinto pushed a commit that referenced this pull request Jan 3, 2024
🤖 I have created a release *beep* *boop*
---


<details><summary>react-native-client-sdk: 0.1.4</summary>

##
[0.1.4](react-native-client-sdk-v0.1.3...react-native-client-sdk-v0.1.4)
(2024-01-03)


### Bug Fixes

* Add Detox e2e tests.
([#340](#340))
([e7b9d29](e7b9d29))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants