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

4000+ tests eats up disk space *nom* #4160

Open
joshua-redmond opened this issue Mar 28, 2024 · 2 comments
Open

4000+ tests eats up disk space *nom* #4160

joshua-redmond opened this issue Mar 28, 2024 · 2 comments

Comments

@joshua-redmond
Copy link

Description of the bug/issue

Hi! Here's something I've noticed:

Every time a test starts up, Chrome creates two folders under /tmp/:

  • /tmp/.com.google.Chrome.PyT0E2 (empty)
  • /tmp/.org.chromium.Chromium.OBIvvs (aprox 9 megabytes)

Though both folders are left behind when the test shuts down, which eventually eats up all my disk space when running 4000+ tests (4000 * 9mb = 36GB).

This doesn't happen on Nightwatch v1.7.11, (I've just been upgrading).

Steps to reproduce

  1. Run: npm init nightwatch (from https://nightwatchjs.org/guide/quickstarts/create-and-run-a-nightwatch-test.html)
  2. Open your /tmp/ folder.
  3. Run a single test: npx nightwatch ./nightwatch/examples/basic/ecosia.js
    • Also happens with multiple tests: npx nightwatch ./nightwatch/examples
  4. Watch your /tmp/ folder as Chrome creates folders and leaves them behind.

Sample test

No response

Command to run

No response

Verbose Output

No response

Nightwatch Configuration

No response

Nightwatch.js Version

3.5.0

Node Version

20.5.1

Browser

Chrome 123.0.6312.86 (Official Build) (64-bit)

Operating System

Ubuntu 20.04.6 LTS

Additional Information

No response

@AbhisekOmkar
Copy link

their is no folder is getting created like /tmp/

@joshua-redmond
Copy link
Author

@AbhisekOmkar are you running Ubuntu like me?

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