{"id":17746776,"url":"https://github.com/andrekovac/detoxplayground","last_synced_at":"2025-10-04T10:28:38.034Z","repository":{"id":76129053,"uuid":"450429526","full_name":"andrekovac/DetoxPlayground","owner":"andrekovac","description":null,"archived":false,"fork":false,"pushed_at":"2022-01-22T19:40:32.000Z","size":180,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-08-08T02:44:11.371Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andrekovac.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-21T09:27:30.000Z","updated_at":"2023-08-08T02:44:11.372Z","dependencies_parsed_at":"2023-07-03T06:45:15.874Z","dependency_job_id":null,"html_url":"https://github.com/andrekovac/DetoxPlayground","commit_stats":null,"previous_names":[],"tags_count":4,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrekovac%2FDetoxPlayground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrekovac%2FDetoxPlayground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrekovac%2FDetoxPlayground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrekovac%2FDetoxPlayground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrekovac","download_url":"https://codeload.github.com/andrekovac/DetoxPlayground/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246586036,"owners_count":20801028,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-26T08:41:56.455Z","updated_at":"2025-10-04T10:28:37.937Z","avatar_url":"https://github.com/andrekovac.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Detox Playground\n\nSmall React Native App to learn about [Detox](https://github.com/wix/Detox) end-to-end tests running on the iOS Simulator.\n\n## Table of contents\n\n- [Detox Playground](#detox-playground)\n  - [Table of contents](#table-of-contents)\n  - [Run end-to-end tests](#run-end-to-end-tests)\n    - [Setup](#setup)\n    - [Run test](#run-test)\n    - [Notes](#notes)\n\n## Run end-to-end tests\n\n### Setup\n\n1. Clone this repository\n2. Run `git checkout input-e2e-tests-start -b my-detox-tests` by replacing `my-detox-tests` with a branchname of your choice. This will create a new local branch at the git tag `input-e2e-tests-start`.\n3. Run `yarn` to install the project dependencies.\n4. If you haven't yet installed the extra tools for Detox end-2-end tests (as described in the preparation exercise) do it now. Alternatively follow the official [guide to set up an iOS development \u0026 testing environment](https://wix.github.io/Detox/docs/introduction/ios-dev-env).\n5. Run `cd ios \u0026\u0026 pod install` to install the Cocoapods dependencies (`cocoapods` has to be installed globally on your machine).\n6. Run `yarn start` to start the development server.\n7. In a separate terminal window: Run `yarn ios` to confirm that the app starts in an iOS Simulator.\n\n### Run test\n\n1. Make sure an iOS Simulator is already running (if you ran `yarn ios` before this should be the case).\n2. Run this command to build the App in release mode. This only has to be done once:\n\n    ```\n    yarn test:e2e:ios:release:build\n    ```\n\n3. Run all existing end-2-end tests via this command:\n\n    ```\n    yarn test:e2e:ios:release\n    ```\n\nYou should see the tests running in the console and something happening in the iOS Simulator.\n\nA successful test run should print the following to the console:\n\n\u003cimg width=\"600\" alt=\"image\" src=\"https://user-images.githubusercontent.com/1945462/150637369-a0fe69f5-679a-4cb6-b79e-6a0452f90681.png\"\u003e\n\n\n### Notes\n\nAny branch after **tag** `input-e2e-tests-start` has Detox installed for **iOS** (not **Android**).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrekovac%2Fdetoxplayground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrekovac%2Fdetoxplayground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrekovac%2Fdetoxplayground/lists"}