nw-vue-cli-example icon indicating copy to clipboard operation
nw-vue-cli-example copied to clipboard

Setting up E2E testing

Open haohaodehao opened this issue 5 years ago • 3 comments

when I run e2e test task and i get this message 捕获2 it look like my chrome version is not in 71 -- 75. that should use nw.exe . but it use my desktop chrome software. my desktop chrome version is 77.0.3865.120.

then i uninstall my desktop chrome and run e2e test task. and i get this message 捕获 that say cannot find chrome binary.

so why has this error?

haohaodehao avatar Oct 15 '19 02:10 haohaodehao

Read the README

TheJaredWilcurt avatar Oct 15 '19 03:10 TheJaredWilcurt

I have not been able to get E2E testing set up for this repo. It will require using the NW.js Chrome Driver:

  • http://docs.nwjs.io/en/latest/For%20Users/Advanced/Test%20with%20ChromeDriver/

  • https://github.com/cypress-io/cypress/issues/4662

TheJaredWilcurt avatar Oct 15 '19 12:10 TheJaredWilcurt

O, thanks. i think i should try python selenium. use nwJs official way.

haohaodehao avatar Oct 16 '19 02:10 haohaodehao