gpt4 book ai didi

javascript - 为什么 Nightwatch 将每个 .js 文件作为子进程运行? (也许我改变了一些配置)

转载 作者:行者123 更新时间:2023-11-28 05:46:53 24 4
gpt4 key购买 nike

最近,当我运行 Nightwtch.js 时,我的控制台作为子进程运行,每个文件夹或子文件夹的每个文件 .js 作为子进程运行。多个 chrome 实例也与它们一起打开。甚至带有 require js 库的模块文件夹..我想我忘记了一些配置。

我只想用一个 chrome 运行主 Nightwatch js 文件..

我的控制台打印开始..

nightwatch bot.js -c config_chrome.json

已启动子进程:tests/extra/assertions/customAssertion启动子进程:tests/extra/commands/customCommand

tests/extra/assertions/customAssertion finished.

tests/extra/commands/customCommand finished.

已启动子进程:tests/extra/commands/customCommandConstructor启动子进程:tests/extra/commands/other/otherCommand

tests/extra/commands/customCommandConstructor finished.

启动了子进程:tests/extra/globals

tests/extra/globals finished.

已启动子进程:tests/extra/otherPageobjects/otherPage

tests/extra/otherPageobjects/otherPage finished.

已启动子进程:tests/extra/pageobjects/SimplePageFn

tests/extra/pageobjects/SimplePageFn finished.

已启动子进程:tests/extra/pageobjects/invalidPageObj

tests/extra/commands/other/otherCommand finished.

已启动子进程:tests/extra/pageobjects/simplePageObj

tests/extra/pageobjects/invalidPageObj finished.

最佳答案

我忘记发送 --test 到控制台...:)

关于javascript - 为什么 Nightwatch 将每个 .js 文件作为子进程运行? (也许我改变了一些配置),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38443931/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com