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

Not working in e2e.ts? #9

Open
JasonLandbridge opened this issue Dec 8, 2022 · 1 comment
Open

Not working in e2e.ts? #9

JasonLandbridge opened this issue Dec 8, 2022 · 1 comment

Comments

@JasonLandbridge
Copy link

Hi there,

I am trying to install this but so far I see no difference in the Cypress UI. I have the following:

// e2e.ts
require('@alexmagnus/cypress-full-dark-mode');
// cypress.config.ts
import { defineConfig } from 'cypress';

export default defineConfig({
	component: {
		viewportHeight: 1080,
		viewportWidth: 960,
		devServer: {
			framework: 'nuxt',
			bundler: 'webpack',
		},
		specPattern: 'src/tests/components/**/*.spec.cy.ts',
	},

	e2e: {
		viewportWidth: 1920,
		viewportHeight: 1080,
		baseUrl: 'http://localhost:3030',
	},
});
 "devDependencies": {
    "@alexmagnus/cypress-full-dark-mode": "^1.4.1",
    "cypress": "^12.0.1",
    "cypress-vue-unit-test": "^3.5.1",
    "cypress-wait-until": "^1.7.2",
   }

Any ideas in what I'm doing wrong? Could it be the Typescript config?

@cdsoftw
Copy link

cdsoftw commented Jan 16, 2024

Confirming that this extension doesn't work on Cypress v13.6.1 - I just installed Dark Reader on the Cypress Chrome browser instead, which isn't ideal, but at least mitigates the always-enabled "Sear your retinas" setting that Cypress ships with.

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