nightwatch
nightwatch copied to clipboard
Update Nightwatch setup in `create-vue` to latest standards.
The setup done for Nightwatch when creating a new Vue project using the create-vue tool is outdated. For example, there are a lot of dependencies which we no longer need (chromedriver
, @types/nightwatch
, etc.).
So, we should update the same to use the latest standards (refer to the create-nightwatch
tool to see how a new project is scaffolded now), and verify that the Nightwatch tests work for all different ways of generating a Vue project (by choosing different selections each time).
Related: https://github.com/vuejs/create-vue/pull/404#issuecomment-1850339240
Hey, I would like to work on this issue, but as I am new to open source I am getting some issues while setting up the local env
Hi @thedeeppp, to work on this issue you don't need to setup the Nightwatch project, but the create-vue project and do the changes there.
If you try to setup a new project using the create-vue
tool, you'll see a question "Add an End-to-End Testing Solution?" and where Nightwatch is also an option. So, if you select Nightwatch there, it will setup Nightwatch as well in the Vue project. So, we want to make changes to that Nightwatch setup to ensure that it follows the latest project standards and works with every combination of generating a Vue project.
To see how the Nightwatch project should look like according to the latest standards, you can try to setup a new Nightwatch project using npm init nightwtach@latest project-name
command.
Hey, I am interested to work on this issue
Hey sure, you can start investigating on this issue and let us know how you plan to solve it, we'll assign the issue to you once you seem to be close to a potential solution. Let us know if you need any help.
sure, thanks
The setup done for Nightwatch when creating a new Vue project using the create-vue tool is outdated. For example, there are a lot of dependencies which we no longer need (
chromedriver
,@types/nightwatch
, etc.).So, we should update the same to use the latest standards (refer to the
create-nightwatch
tool to see how a new project is scaffolded now), and verify that the Nightwatch tests work for all different ways of generating a Vue project (by choosing different selections each time).Related: vuejs/create-vue#404 (comment)
Hey @garg3133 , I have found that in nightwatch.conf-noplugins.js
and nightwatch.conf.js
file have server path chromedriver
it can be replaced by ' '
Do u mean that change?? (So, If is'it should I change it by raising a PR ?)
So is it? and i have not found that @types/nightwatch
hey @garg3133 , sir i have investigated the issue , plz guide me
Its the standard nigntwatch project dependicies:
Its when project created using create-vue and Add an End-to-End Testing Solution?" : Nightwatch
Its when no testing environment selected (Add an End-to-End Testing Solution?" : N0) but project is created using create-vue
According to above extra dependicies are:
"chromedriver": "^121.0.0", "geckodriver": "^4.3.1",
plz guide me how do i remove the extra dependecies ?
hey assign these issue to me and I will resolve these