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

When useCDN option is set to true, dark mode does not work #374

Closed
WasiqB opened this issue Sep 11, 2024 · 0 comments · Fixed by #383
Closed

When useCDN option is set to true, dark mode does not work #374

WasiqB opened this issue Sep 11, 2024 · 0 comments · Fixed by #383
Assignees
Labels
Milestone

Comments

@WasiqB
Copy link
Owner

WasiqB commented Sep 11, 2024

Environment (please complete the following information)

  • multiple-cucumber-html-reporter: 3.7.0
  • Node.js version: 18.20.4
  • NPM version: 10.8.2
  • Platform name and version: Mac OS 14
  • Cucumber version: NA

Config of multiple-cucumber-html-reporter

Config has useCDN property set to true

Describe the bug

When you try to toggle the report to dark mode, nothing happens.
Following Error is thrown in the console window in Chrome DevTools:

Uncaught ReferenceError: applyDarkMode is not defined

To Reproduce

  • Set useCDN property to true in the report options.
  • Generate the report
  • Click on dark mode toggle

Expected behaviour

Site theme should change to dark mode.

Log

Uncaught ReferenceError: applyDarkMode is not defined

Additional context

NA

@WasiqB WasiqB added the bug label Sep 11, 2024
@WasiqB WasiqB self-assigned this Sep 11, 2024
@WasiqB WasiqB added this to the v3.8.0 milestone Sep 11, 2024
@WasiqB WasiqB linked a pull request Oct 1, 2024 that will close this issue
@WasiqB WasiqB closed this as completed Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant