Title: add support for Cypress component testing · Issue #620 · browserstack/browserstack-cypress-cli · GitHub
Open Graph Title: add support for Cypress component testing · Issue #620 · browserstack/browserstack-cypress-cli
X Title: add support for Cypress component testing · Issue #620 · browserstack/browserstack-cypress-cli
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/ov...
Open Graph 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://doc...
X 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://doc...
Opengraph URL: https://github.com/browserstack/browserstack-cypress-cli/issues/620
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"add support for Cypress component testing","articleBody":"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:\r\n```javascript\r\n// cypress.config.js\r\nconst { defineConfig } = require('cypress');\r\nconst webpackConfig = require('./webpack.config.cjs');\r\n\r\nmodule.exports = defineConfig({\r\n component: {\r\n devServer: {\r\n framework: 'react',\r\n bundler: 'webpack',\r\n webpackConfig\r\n },\r\n viewportWidth: 800\r\n }\r\n});\r\n```\r\n> NOTE: e2e test configuration could also exist in the above config file under a `e2e` key\r\n\r\nI 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`)","author":{"url":"https://github.com/bicarbon8","@type":"Person","name":"bicarbon8"},"datePublished":"2023-07-03T12:41:24Z","url":"https://github.com/browserstack/browserstack-cypress-cli/issues/620"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0a4bdc6a-eff4-9445-3fb9-94d40bb043df |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9918:1296C1:5094EB:6D753F:6B043E30 |
| html-safe-nonce | a8cc0c11c20f4b345b7fc0c5fd5cb2a6fa92bddcddb965da51249a5857d4d928 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTE4OjEyOTZDMTo1MDk0RUI6NkQ3NTNGOjZCMDQzRTMwIiwidmlzaXRvcl9pZCI6IjEzMTQyOTcwNzcxMTkwNzM4NDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 98c76e478fd393ecd420bcba343d9115dbbf741dc60adb28014be1501998a6c3 |
| hovercard-subject-tag | issue:1786105237 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/browserstack/browserstack-cypress-cli/620/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e117271ca3d1489187b5d7b09673ed25eac9acde21961bd093a627577e27bd9b/browserstack/browserstack-cypress-cli/issues/620 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e117271ca3d1489187b5d7b09673ed25eac9acde21961bd093a627577e27bd9b/browserstack/browserstack-cypress-cli/issues/620 |
| og:image:alt | 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://doc... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bicarbon8 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9185ccfefd80c1ff2d9ddcdb0cd2becf46b5a1efbbf30741a895e4bb8de25e64 |
| turbo-cache-control | no-preview |
| go-import | github.com/browserstack/browserstack-cypress-cli git https://github.com/browserstack/browserstack-cypress-cli.git |
| octolytics-dimension-user_id | 1119453 |
| octolytics-dimension-user_login | browserstack |
| octolytics-dimension-repository_id | 242935045 |
| octolytics-dimension-repository_nwo | browserstack/browserstack-cypress-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 242935045 |
| octolytics-dimension-repository_network_root_nwo | browserstack/browserstack-cypress-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 06dc448a76fe4751ac1db26524aefa3aa3e889a8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width