提交 14c86895 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

ava run concurrency so we have to use test.serial if want to check child process pids.

上级 f6b62f86
......@@ -18,7 +18,7 @@ import {
* if 2 tests run parallel in the same process,
* there will have race conditions for the conflict of `getBrowserPids()`
*/
test('WebDriver process create & quit test', async t => {
test.serial('WebDriver process create & quit test', async t => {
const b = new PuppetWebBrowser()
t.truthy(b, 'should instanciate a browser')
......@@ -43,7 +43,7 @@ test('WebDriver process create & quit test', async t => {
})
test('WebDriver smoke testing', async t => {
test.serial('WebDriver smoke testing', async t => {
const wb = new PuppetWebBrowser()
t.truthy(wb, 'Browser instnace')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册