Skip to content

Cypress UI no longer displays spec files to run #23486

@NUlmerTS

Description

@NUlmerTS

Current behavior

From version 10.5.0 onwards, the specs section no longer displays any specs in the file.
image

However, when reviewing the project settings spec patterns, nine files can be found
image

It should be noted that when the tests are run in headless mode, they continue to work as expected.

The current workaround is to downgrade to 10.4.0.

Desired behavior

After opening the cypress to use the UI format. Then selecting a browser types the spec files should display.

image

Test code to reproduce

const { defineConfig } = require('cypress')

module.exports = defineConfig({
projectId: 'f2y8fb',
chromeWebSecurity: false,
responseTimeout: 60000,
blockHosts: '.parsely.com',
pageLoadTimeout: 90000,
e2e: {
setupNodeEvents(on, config) {
require("cypress-grep/src/plugin")(config);
},
baseUrl: 'https://www.teachstarter.com/',
//baseUrl: 'https://staging-prexit.teachstarter.com/',
specPattern: 'cypress/e2e/teachStarterWeb/**/
.{js,jsx,ts,tsx,spec}',
},

Cypress Version

10.5.0

Node version

v14.17.5

Operating System

Windows 11:22000.856

Debug Logs

No logs displayed

Other

No response

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions