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

Wierd behavior #7647

Closed
boskiv opened this issue Jun 10, 2020 · 3 comments
Closed

Wierd behavior #7647

boskiv opened this issue Jun 10, 2020 · 3 comments

Comments

@boskiv
Copy link

boskiv commented Jun 10, 2020

Current behavior:

Some cypress cache wrong behavior?

  • Click on spec launching an old file
  • I have a file in the examples directory, then remove all and create a new project in same root directory.
  • Then create a folder login and file login.spec.js.
  • Terminate cypress open and run it again
  • Click on login.spec.js but load file that does not exists anymore.

I tried to cypress cache clear and cypress install after. But it still the same
What I'm doing wrong?

Screen Shot 2020-06-09 at 11 45 28 PM

Desired behavior:

Should be fixed

Test code to reproduce

Versions

Cypress: 4.8.0
OSX: 10.15.5
Webstorm: 2020.1.2

@jennifer-shehane
Copy link
Member

@boskiv Do you happen to use Service Workers? There are some issues with cache when testing an app using Service Workers. #702

I haven't really been able to reproduce this solely from the instructions given.

@cypress-bot cypress-bot bot added the stage: awaiting response Potential fix was proposed; awaiting response label Jun 10, 2020
@boskiv
Copy link
Author

boskiv commented Jun 10, 2020

No, I'm not. It's just a one test.

@boskiv
Copy link
Author

boskiv commented Jun 10, 2020

You were right. There is a service worker

GET /some-service-worker.js 200 63.764 ms - -

@boskiv boskiv closed this as completed Jun 10, 2020
@jennifer-shehane jennifer-shehane removed the stage: awaiting response Potential fix was proposed; awaiting response label Jul 2, 2020
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

2 participants