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

Nightwatch Test Failures When Configuring Redis with Drainpipe #757

Open
rene-ipiales-lullabot opened this issue Dec 16, 2024 · 0 comments

Comments

@rene-ipiales-lullabot
Copy link

When configuring Redis with Drainpipe, Nightwatch tests fail due to conflicts in the cache configuration. This issue occurs because the default cache prefix is not explicitly set for each browser, leading to potential cache overlap and test instability.

Proposed Solution:

  • To resolve this issue, add the following configuration to the respective browser-specific settings files:
  • For Chrome /scaffold/nightwatch/chrome.settings.php
    $settings['cache_prefix']['default'] = 'chrome-redis';

  • For Firefox /scaffold/nightwatch/firefox.settings.php
    $settings['cache_prefix']['default'] = 'firefox-redis';

Outcome:

This ensures each browser has a distinct cache prefix, preventing conflicts and stabilizing Nightwatch tests.

Additional Context:

Issue observed in the Drainpipe setup during Redis configuration.
Nightwatch test failures occur consistently without the proposed fix.

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

1 participant