harmonyos2-nightmare-example噩梦示例项目设置
和声2噩梦示例设置步骤如下:
-
克隆项目:
bash
git clone git@github.com:imunew/nightmare-example.git
cd nightmare-example
-
安装依赖:
bash
npm install
-
从 config.js.dist 创建 config.js:
bash
cp test/config.js.dist test/config.js
vi test/config.js
在 test/config.js 中编辑,设置登录的 username 和 password 为 rakuten.co.jp。
-
运行测试:
bash
npm run e2e-test:example
测试结果:
nightmare-example@1.0.0 e2e-test:example
这些步骤完成后,即可运行 e2e-test:example
测试。
4.63KB
文件大小:
评论区