Open
Description
from what I can tell based on the documentation and code it looks like only the e2e tests are being executed. I would like to use BrowserStack when running Cypress Component tests (see: https://docs.cypress.io/guides/component-testing/overview) which locally I can run using npx cypress run --component
and by having a cypress.config.js
file that looks like:
// cypress.config.js
const { defineConfig } = require('cypress');
const webpackConfig = require('./webpack.config.cjs');
module.exports = defineConfig({
component: {
devServer: {
framework: 'react',
bundler: 'webpack',
webpackConfig
},
viewportWidth: 800
}
});
NOTE: e2e test configuration could also exist in the above config file under a
e2e
key
I would like to be able to use the browserstack-cypress-cli
tool to run component tests using a command-line option that indicates that component tests should be run and not e2e tests (it would be nice if there were several options available such as e2e
as a default, component
and both
)
Metadata
Metadata
Assignees
Labels
No labels