Skip to content

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

with:
with:
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.

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 requested a review from kinyoklion January 3, 2024 20:37
@yusinto yusinto merged commit e7b9d29 into main Jan 3, 2024
@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.

3 participants