Commit Graph
80 Commits
Author SHA1 Message Date
Rotem M 253e9630ae Stopped verify-artifacts tests, brought color back to logs 🌈 2018-11-13 23:07:23 +02:00
Rotem Mizrachi-Meidan 8b29ce8d3e Go back to running Detox e2e suite with Mocha (#1012)
Go back to running Detox e2e suite with Mocha
2018-11-06 22:25:01 +02:00
Shalom Yerushalmy 2fba0bae4b Fix publish website (#989) 2018-10-19 18:02:57 +03:00
Rotem M b5c46d0c27 [skip ci] Publish 9.0.1 2018-09-01 00:44:07 +03:00
Rotem Mizrachi-Meidan 458e017228 Setup a script for Android demo projects in CI (#914)
* Setup a script for Android demo projects in CI + bumped native dependencies
2018-08-31 01:20:29 +03:00
Rotem Mizrachi-Meidan f51cbf23d5 RN 0.56.0 Android Support (#910)
* make android green again

* Upgrade to Espresso 3.0.2
Updated native Android dependencies

* Bump test app to RN56
2018-08-30 16:19:41 +03:00
Daniel Schmidt a6b6ba9e3b Make doc generation more robust (#783)
* refactor documentation generation

* implement retry functionality
2018-07-29 10:53:16 +03:00
Yaroslav Serhieiev 78575f0756 [WIP] Provide queryable console logs in Detox (#835)
* deps: switched from npmlog to bunyan, bunyan-debug-stream
* feat: detox writes plain text and json logs to artifacts folder if recording logs is enabled
* fix: missing parts of logging messages in Jest log
* npm: merging detox-server and detox-common into detox package
* ci: force exit e2e test if failed on beforeAll
* ci: added Android artifacts integrity check on Jenkins
* cli: added no-color flag
* cli: adding deprecated warning for the old log level names
* docs: updated detox server mentions
2018-07-25 14:08:31 +03:00
Shalom Yerushalmy 1109f52d1d Add region to s3 upload (#847) 2018-07-19 15:39:04 +03:00
Yaroslav Serhieiev e0f4614fb9 Screenshots and video recordings of tests (#734) 2018-06-20 10:39:18 +03:00
Doron Pearl 94348fc480 Support parallel test execution (#609)
This PR brings DeviceRegistry, an entity which synchronizes device distribution across processes, enabling parallel test execution on any supported test runner.
2018-05-29 00:40:51 +03:00
Rotem M 78284b88f6 fixed change_react_native_version script (was returning errors from npm api) 2018-05-18 00:40:55 +03:00
Shalom Yerushalmy 2153afaa58 Fix logger and add run_f for all ci steps (#729) 2018-05-13 14:34:16 +03:00
Shalom Yerushalmy ee04e1a5bc Migrate from Travis CI to Jenkins (#701)
* Add mock and test files to jest ignore

* Remove comments from android e2e

* Add android workaround to e2e tests

* Add permissions to execute prevuild.sh

* Tweak for Detox android test emulator

* Fix line for command

* Comment boot device

* Comment all emulator boot

* Return to detox emulator

* No window emulator

* Add travis logger

* Remove unit.ios.sh from ci.ios.sh, handle this in Jenkins steps

* Skip flaky test

* Revert "Skip flaky test"

This reverts commit ff021ea43a0c4fe0ba6f4a08bd80bfca463b5ff0.

* Remove lerna bootstrap from demo project script

* Add node debug to demo project

* Revert "Add node debug to demo project"

This reverts commit c683c05ac23e7d341cec2c8d04b1c3bc9cf57476.

* Bumped react native example to 0.51.1

* Add change react-native version from env var

* Comment one example project

* Uncomment react-native build

* Add headless to jenkins branch

* Add headless to ci android script

* Add version lerna bootstrap to android

* Add lerna bootstrap to all verticals

* Add auto to gpu

* Running with window option and gpu auto

* Revert "Running with window option and gpu auto"

This reverts commit 2cf5b62cc6d2fe07563bd42f0e085b8f9786a8d2.

* Back to gpu host

* Back to original ci sh script

* Remove prebuild script

* Add unit iOS to ci.ios.sh script

* Add if jenkins ci run e2e android

* Remove one of the bootstrap from demo projects script
2018-05-01 11:34:38 +03:00
Rotem M e4933c8c48 disable Android E2E in CI 2018-03-28 23:57:30 +03:00
Rotem M ac6deb2136 [skip ci] Publish 7.3.0 2018-03-26 21:43:00 +03:00
Rotem M 7bc474209f Closes #595, Only publish website on builds from master 2018-03-15 01:43:00 +02:00
Rotem M 73393c3add yea... 2018-03-14 19:52:31 +02:00
Rotem M c9f3185e9a Cleanup the dev bootstrap process, no need for our hack anymore 2018-03-14 19:50:07 +02:00
Leo Natan faaac8a421 Add Support for ShakeDevice Action (#559)
* Add support for ShakeDevice action.

This works by sending a Darwin notification that the simulator sends when simulating shake.
Native implementation needed for #551

* Complete comment in code

* Add the test project to Xcode as well

* Add shake action

* Add shake test to suite

* Link to Earl Grey PR in comment

* WAT

* Fix compilation error and remove “it.only” from shake test

* Restore to spaces

* Change shake to support devices as well as simulators.

* reformatting :(

* fixed unit tests

* merged shake tests inside device tests
2018-03-10 20:49:09 +02:00
Rotem Mizrachi-Meidan 2ce10e4a71 RN Update script updates react version implicitly (#610)
* Travis Driven Development

* Updated rn-cli.config to support old RN versions
2018-03-07 13:45:17 +02:00
Rotem Mizrachi-Meidan 2ff67bfe96 Better support for multiple RN version in test project + updated example projects (#591)
Better support for multiple RN version in test project + updated example projects
2018-03-04 14:42:23 +02:00
Daniel Schmidt 441ecdc6bb use travis branch to determine master (#580) 2018-02-23 00:35:41 -06:00
Rotem Mizrachi-Meidan 0ec09f542b Update ci.android.sh 2018-02-06 23:19:12 +02:00
Daniel Schmidt f3b7694340 Only publish the website on master 2018-02-06 20:10:29 +01:00
Rotem M 15e870525a [skip ci] Publish 7.0.1 2018-01-29 14:51:59 +02:00
Rotem M 112d8eeee8 manually updated example projects to run 7.0.0 2018-01-26 19:19:04 +02:00
Rotem M 5b3101082c manually updated example projects to run 7.0.0 2018-01-26 16:13:24 +02:00
Serhii Trofimets f8c9b6fd2b export platform specific objects through proxy (#374)
* export platform specific objects throw proxy

* Fixed spread errors. Fixed existing tests. Moved out deviceConfig generation and related refactor.

* exportWrapper tests, Detox test fixed.

* platform tests

* minor refactor

* trying to make it work

* fixed default params

* comments cleaned

* improved proxying of the 'by' and 'device' objects

* Detox default params extension fixed, tests for exportWrapper added

* - Added support for custom specs with cli tool
- Updated e2e tests for demo-react-native

* exportWrapper tests, mock fixed.

* fixed broken command
2018-01-26 09:38:00 +02:00
Rotem M 7d5c8cefeb Updated patch file to support new changes 2018-01-24 10:36:24 +02:00
Rotem M a5725b8e44 Fixed dependencies 2018-01-23 14:54:11 +02:00
Rotem Mizrachi-Meidan 2cf0ee8fc8 [BREAKING] Upgrade to gradle 4.1 and android gradle plugin 3 (#468)
* Upgrade gradle and android gradle plugin, this is a breaking change, and it requires Android users to update to gradle 4.1

* Updated documentation
2017-12-24 10:32:21 +02:00
Rotem M 66ef641e7c updated demo projects to use detox 6.0.0 2017-11-28 01:11:44 +02:00
Rotem M 4ba7a75eb2 travis_logger 2017-11-25 23:18:26 +02:00
Rotem M c3b086d584 Better logging across build - hopefully 2017-11-23 17:26:46 +02:00
Rotem Mizrachi-Meidan 81ba64bb4d Detox CLI: Jest integration fixes (#423)
* added runner-config

* cmd:
- no runner option

json config:
- runner config should be passed with relative path from root

* exec permissions

* fixed tests

* updated build matrix

* Updated docs
2017-11-23 17:18:54 +02:00
Daniel Schmidt fc6a1a2b27 Android Invocation: Exchange com.fasterxml.jackson with org.json parser (#415)
* exchange fasterxml.jackson with org.json implementation

This allows us to eliminate this often painful dependency

Closes #351

* removed org.json from runtime dependencies

* add gradlew test to CI
2017-11-22 20:12:47 +02:00
Leo Natan af41517698 Support new labels 2017-11-21 21:17:35 +02:00
Leo Natan 66533e1623 [skip ci] Publish 5.10.0 2017-11-15 16:21:15 +02:00
Leo Natan a48744c310 Implement change log generation on publishing
Closes #409
2017-11-15 16:13:01 +02:00
Rotem Mizrachi-Meidan b70b5f58a1 Move Detox.framework compilation to postinstall (#373)
* Move Detox.framework compilation to postinstall rather than driver prepare to attemp to fix #356 (Timeouts while running detox.init()).

* fixed postinstall issues

* only build iOS source package on mac
2017-11-01 20:47:53 +02:00
Rotem Mizrachi-Meidan 30eeefd0be Create a build matrix to support multiple version of React Native and OSs (#345)
* Multiple versions of React Native (latest and the version used internally at Wix)
* Multiple versions of Xcode (currently 8.3.3 and 9, 8.3.3 will be dropped soon)
2017-10-18 14:46:59 +03:00
Rotem Mizrachi-Meidan d882d0e741 Swift support (#277)
* Swift Support

* Compiling Detox.framework on the user's machine, to better support swift.

* fixed build script

* Update APIRef.DetoxCLI.md
2017-09-17 11:33:32 +03:00
Daniel Schmidt 51660115bf add generation to ci pipeline 2017-08-09 07:50:52 +02:00
Daniel Schmidt ca9a7d5882 move code generation to own directory 2017-08-09 07:50:52 +02:00
Daniel Schmidt b06771de90 add export statement to output 2017-08-09 07:50:52 +02:00
Daniel Schmidt a0eb0bb442 refactor generation into own module for better testability 2017-08-09 07:50:52 +02:00
Daniel Schmidt ac4a9b1fa7 enable js type checks for objective-c types 2017-08-09 07:50:52 +02:00
Daniel Schmidt 9016146d45 include comments in output js 2017-08-09 07:50:52 +02:00
Daniel Schmidt 7c16794a4c take static methods into account 2017-08-09 07:50:52 +02:00