Commit 5551aa8a authored by Martin Santangelo's avatar Martin Santangelo

(fix) detox framework not found

1 merge request!411WIP: Install detox and login e2e test
......@@ -68,9 +68,18 @@ jobs:
- restore_cache:
key: node-v1-{{ checksum "package.json" }}-{{ arch }}
- run:
name: Install detox
command:
|
HOMEBREW_NO_AUTO_UPDATE=1 brew tap wix/brew
HOMEBREW_NO_AUTO_UPDATE=1 brew install --HEAD applesimutils
npm install -g detox-cli
npm install -g detox
# not using a workspace here as Node and Yarn versions
# differ between our macOS executor image and the Docker containers above
- run: yarn install
- run: yarn install --frozen-lockfile
- save_cache:
key: yarn-v1-{{ checksum "yarn.lock" }}-{{ arch }}
......@@ -108,14 +117,6 @@ jobs:
- ios/Pods
# Run e2e
- run:
name: Load dependencies
command:
|
brew update
brew tap wix/brew
brew install applesimutils
yarn global add detox-cli
- run: detox build -c ios.sim.release
- run: detox test -c ios.sim.release --cleanup
......
Please register or to comment