Skip to content

Not working in e2e.ts? #9

@JasonLandbridge

Description

@JasonLandbridge

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions