Skip to content

Commit

Permalink
[skip ci] Publish 7.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rotemmiz committed Jun 10, 2018
1 parent bd80816 commit 25f828c
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 25 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Change Log

## [7.4.1](https://github.com/wix/detox/tree/7.4.1) (2018-06-10)
[Full Changelog](https://github.com/wix/detox/compare/7.4.0...7.4.1)

**Fixed Bugs**

- error in clearDeviceRegistryLockFile\(\) when running detox test [\#771](https://github.com/wix/detox/issues/771)
- Android: force matchers to ignore layouts with GONE visibility [\#761](https://github.com/wix/detox/issues/761)

**Merged Pull Requests**

- Android: Force emulator launch to use `-gpu host` instead of `-gpu auto` on macOS [\#782](https://github.com/wix/detox/pull/782) ([rotemmiz](https://github.com/rotemmiz))
- Ensure device.registry.state.lock path exists before clearing it [\#781](https://github.com/wix/detox/pull/781) ([rotemmiz](https://github.com/rotemmiz))
- Match only visible views [\#780](https://github.com/wix/detox/pull/780) ([rotemmiz](https://github.com/rotemmiz))
- Android: force matchers to ignore layouts with GONE visibility [\#775](https://github.com/wix/detox/pull/775) ([rotemmiz](https://github.com/rotemmiz))

## [7.4.0](https://github.com/wix/detox/tree/7.4.0) (2018-06-03)
[Full Changelog](https://github.com/wix/detox/compare/7.3.7...7.4.0)

Expand Down
2 changes: 1 addition & 1 deletion detox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"version": "7.4.0",
"version": "7.4.1",
"bin": {
"detox": "local-cli/detox.js"
},
Expand Down
2 changes: 1 addition & 1 deletion detox/src/utils/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const exec = require('child-process-promise').exec;
const appdatapath = require('./appdatapath');

const DETOX_LIBRARY_ROOT_PATH = path.join(appdatapath.appDataPath(), 'Detox');
const DEVICE_LOCK_FILE_PATH = path.join(DETOX_LIBRARY_ROOT_PATH, 'device.registry.state.lock');
const DEVICE_LOCK_FILE_PATH = path.join(DETOX_LIBRARY_ROOT_PATH, '#781k');

function getAndroidSDKPath() {
let sdkPath = process.env.ANDROID_SDK_ROOT || process.env.ANDROID_HOME;
Expand Down
22 changes: 2 additions & 20 deletions docs/Troubleshooting.RunningTests.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,33 +32,15 @@ See [here](https://github.com/wix/detox/blob/master/docs/Troubleshooting.Synchro

**Issue:** Running tests immediately throws the following error:

```
```js
beforeEach(async () => {
^
SyntaxError: Unexpected token (
at Object.exports.runInThisContext (vm.js:76:16)
at Module._compile (module.js:545:28)
at loader (/Users/builduser/buildAgent/work/34eee2d16ef6c34b/node_modules/babel-register/lib/node.js:144:5)
at Object.require.extensions.(anonymous function) [as .js] (/Users/builduser/buildAgent/work/34eee2d16ef6c34b/node_modules/babel-register/lib/node.js:154:7)
at Module.load (module.js:490:32)
at tryModuleLoad (module.js:449:12)
at Function.Module._load (module.js:441:3)
at Module.require (module.js:500:17)
at require (internal/module.js:20:19)
at /Users/builduser/buildAgent/work/34eee2d16ef6c34b/node_modules/mocha/lib/mocha.js:230:27
at Array.forEach (native)
at Mocha.loadFiles (/Users/builduser/buildAgent/work/34eee2d16ef6c34b/node_modules/mocha/lib/mocha.js:227:14)
at Mocha.run (/Users/builduser/buildAgent/work/34eee2d16ef6c34b/node_modules/mocha/lib/mocha.js:495:10)
at Object.<anonymous> (/Users/builduser/buildAgent/work/34eee2d16ef6c34b/node_modules/mocha/bin/_mocha:460:18)
at Module._compile (module.js:573:32)
at Object.Module._extensions..js (module.js:582:10)
at Module.load (module.js:490:32)
at tryModuleLoad (module.js:449:12)
at Function.Module._load (module.js:441:3)
at Module.runMain (module.js:607:10)
at run (bootstrap_node.js:382:7)
at startup (bootstrap_node.js:137:9)
at bootstrap_node.js:497:3
...
child_process.js:531
throw err;
```
Expand Down
4 changes: 2 additions & 2 deletions examples/demo-react-native/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "example",
"version": "7.4.0",
"version": "7.4.1",
"private": true,
"scripts": {
"start": "react-native start"
Expand All @@ -10,7 +10,7 @@
"react-native": "0.51.1"
},
"devDependencies": {
"detox": "^7.4.0",
"detox": "^7.4.1",
"mocha": "^4.0.1"
},
"detox": {
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
]
}
},
"version": "7.4.0",
"version": "7.4.1",
"npmClient": "npm"
}

0 comments on commit 25f828c

Please sign in to comment.