Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buttons don't appear #93

Closed
dialex opened this issue Aug 22, 2019 · 3 comments
Closed

Buttons don't appear #93

dialex opened this issue Aug 22, 2019 · 3 comments

Comments

@dialex
Copy link

dialex commented Aug 22, 2019

I tried following the README but I think I have an issue with multiple tasks.
Actually, I'm using your other plugin select-tests, so my plugins/index.js looks like this:

const selectTestsWithGrep = require("cypress-select-tests/grep")
const task = require("cypress-skip-and-only-ui/task")

module.exports = async (on, config) => {
  on("task", task) //this compiles and runs, but I don't have the skip buttons on UI
  on("file:preprocessor", selectTestsWithGrep(config))

  (...)
  return config
}

Do you know what I'm doing wrong?

@dialex
Copy link
Author

dialex commented Aug 22, 2019

Ok, I think I know what the problem was: you need to run at least one time the full suite, and then the buttons appear. I assumed the buttons were always there -- like I could start Cypress, run all, stop all, then select, then rerun.

In reality you need to start Cypress, run all, wait for it to finish, then select, then rerun. This was reported on #74

@dialex dialex closed this as completed Aug 22, 2019
@dialex dialex changed the title Multiple tasks Buttons don't appear Aug 22, 2019
@haskelcurry
Copy link

The buttons don't appear for me even if I run the full suite...

@pablorsk
Copy link

pablorsk commented Apr 2, 2020

@mtuzinskiy downgrade to cypress ~4.0.0. (#172 (comment))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants