{"id":15659322,"url":"https://github.com/danecando/jsm-detox","last_synced_at":"2025-07-11T05:33:42.202Z","repository":{"id":82419792,"uuid":"363625923","full_name":"danecando/JSM-Detox","owner":"danecando","description":"Demo app for JSMarathon presentation: React Native E2E Testing with Detox","archived":false,"fork":false,"pushed_at":"2021-05-19T17:07:09.000Z","size":1085,"stargazers_count":22,"open_issues_count":0,"forks_count":13,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-09T03:06:24.609Z","etag":null,"topics":["detox","e2e-tests","jsmarathon","pizza","react-native"],"latest_commit_sha":null,"homepage":"https://www.youtube.com/watch?v=Vm085szsz_M","language":"JavaScript","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/danecando.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":"2021-05-02T10:41:23.000Z","updated_at":"2024-05-16T03:01:36.000Z","dependencies_parsed_at":"2023-06-15T15:00:37.332Z","dependency_job_id":null,"html_url":"https://github.com/danecando/JSM-Detox","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danecando%2FJSM-Detox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danecando%2FJSM-Detox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danecando%2FJSM-Detox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danecando%2FJSM-Detox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danecando","download_url":"https://codeload.github.com/danecando/JSM-Detox/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242762725,"owners_count":20181265,"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":["detox","e2e-tests","jsmarathon","pizza","react-native"],"created_at":"2024-10-03T13:16:13.112Z","updated_at":"2025-03-09T22:31:45.526Z","avatar_url":"https://github.com/danecando.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Native E2E Testing with Detox\n\nLearn how to setup your local or CI environment to run E2E tests on iOS \u0026 Android emulators with Detox. Write E2E tests for a demo application covering best practices and gotchas along the way.\n\n[This document](https://www.notion.so/danecando/React-Native-E2E-Testing-with-Detox-210239315470489095d0b4e51cfc5768) contains links to documentation and resources related to each part of the walk through during this presentation.\n\n## Table of contents\n\n- [Setup](#setup)\n- [Running](#running)\n- [Branches](#branches)\n- [App Overview](#app-overview)\n- [E2E Test Cases](#e2e-test-cases)\n- [Resources](#resources)\n\n## Setup\n\n```bash\ngit clone https://github.com/danecando/JSM-Detox-Testing.git\ncd JSMarathon\nyarn\n```\n\n### Install pods for iOS development\n\n```bash\ncd ios \u0026\u0026 pod install \u0026\u0026 cd ..\n```\n\n## Running\n\n### Android\n\n```\nyarn android\n```\n\n### iOS\n\n```\nyarn ios\n```\n\n## Branches\n\n- `main` - Base demo app without detox or e2e tests\n- `setup` - Demo app with detox setup and configured for iOS + Android with initial working test\n- `tests` - Demo app with working e2e tests\n\n## App Overview\n\nWe love pizza at This Dot! The demo is an app for our fictional pizza restaurant.\n\nThere are two tabs: **Menu and Orders**\n\nThe menu tab is a list of the available pizzas to order. You can also build your own pizza using the first button at the top of the screen.\n\n![Menu Screen](./screenshots/menu-screen.png)\n\n### Build your own\n\nOn this screen you can add and remove toppings from your pizza, select the size, see the total price, and submit your order.\n\n![Build Screen](./screenshots/build-screen.png)\n\n### Menu item options\n\nAfter selecting an item from the menu list you will be taken to a screen that lets you pick the size and see the final price before submitting your order.\n\n![Options Screen](./screenshots/options-screen.png)\n\n### Orders\n\nOrders comes with one previously delivered order populated by default. Any pizzas you create or order will be added to your order screen.\n\n![Orders Screen](./screenshots/orders-screen.png)\n\n## E2E Test Cases\n\nWe want to write e2e tests to cover these user flows\n\n- [ ] User can navigate to orders to see previous orders\n- [ ] User can pick an item from the menu, select a size and options, and place an order\n- [ ] User can create their own pizza and order it\n\n## Resources\n\n- [https://github.com/wix/Detox](https://github.com/wix/Detox)\n- [https://medium.com/wix-engineering/detox-writing-stable-test-suites-372c9d537184](https://medium.com/wix-engineering/detox-writing-stable-test-suites-372c9d537184)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanecando%2Fjsm-detox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanecando%2Fjsm-detox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanecando%2Fjsm-detox/lists"}