René's URL Explorer Experiment


Title: Local testing fails when testObservability added to e2e.js · Issue #657 · browserstack/browserstack-cypress-cli · GitHub

Open Graph Title: Local testing fails when testObservability added to e2e.js · Issue #657 · browserstack/browserstack-cypress-cli

X Title: Local testing fails when testObservability added to e2e.js · Issue #657 · browserstack/browserstack-cypress-cli

Description: I noticed that when I try my Cypress tests on my local machine they will always fail when the following line is present in cypress/support/e2e.js: require('browserstack-cypress-cli/bin/testObservability/cypress'); The error I get (for ev...

Open Graph Description: I noticed that when I try my Cypress tests on my local machine they will always fail when the following line is present in cypress/support/e2e.js: require('browserstack-cypress-cli/bin/testObservab...

X Description: I noticed that when I try my Cypress tests on my local machine they will always fail when the following line is present in cypress/support/e2e.js: require('browserstack-cypress-cli/bin/testObse...

Opengraph URL: https://github.com/browserstack/browserstack-cypress-cli/issues/657

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Local testing fails when testObservability added to e2e.js","articleBody":"I noticed that when I try my Cypress tests on my local machine they will always fail when the following line is present in cypress/support/e2e.js:\r\n`require('browserstack-cypress-cli/bin/testObservability/cypress');`\r\n\r\nThe error I get (for every scenario):\r\n```\r\nTypeError: Cannot read properties of undefined (reading 'get')\r\n      at runPrivilegedCommand (http://localhost:55177/__cypress/runner/cypress_runner.js:173408:27)\r\n      at $Cy.task (http://localhost:55177/__cypress/runner/cypress_runner.js:151114:107)\r\n      at $Cy.now (http://localhost:55177/__cypress/runner/cypress_runner.js:160956:90)\r\n      at ../driver/node_modules/eventemitter2/lib/eventemitter2.js.EventEmitter.emit (http://localhost:55177/__cypress/runner/cypress_runner.js:96092:22)\r\n      at parent.\u003ccomputed> [as emit] (http://localhost:55177/__cypress/runner/cypress_runner.js:164812:31)\r\n      at $Cypress.action (http://localhost:55177/__cypress/runner/cypress_runner.js:157297:21)\r\n      at LogManager.trigger (http://localhost:55177/__cypress/runner/cypress_runner.js:165684:22)\r\n      at LogManager.triggerLog (http://localhost:55177/__cypress/runner/cypress_runner.js:165689:17)\r\n      at $Cypress.log (http://localhost:55177/__cypress/runner/cypress_runner.js:165736:12)\r\n      at commandRunningFailed (http://localhost:55177/__cypress/runner/cypress_runner.js:159448:18)\r\n      at onError (http://localhost:55177/__cypress/runner/cypress_runner.js:159854:7)\r\n      at tryCatcher (http://localhost:55177/__cypress/runner/cypress_runner.js:18744:23)\r\n      at Promise._settlePromiseFromHandler (http://localhost:55177/__cypress/runner/cypress_runner.js:16679:31)\r\n      at Promise._settlePromise (http://localhost:55177/__cypress/runner/cypress_runner.js:16736:18)\r\n      at Promise._settlePromise0 (http://localhost:55177/__cypress/runner/cypress_runner.js:16781:10)\r\n      at Promise._settlePromises (http://localhost:55177/__cypress/runner/cypress_runner.js:16857:18)\r\n      at _drainQueueStep (http://localhost:55177/__cypress/runner/cypress_runner.js:13451:12)\r\n      at _drainQueue (http://localhost:55177/__cypress/runner/cypress_runner.js:13444:9)\r\n      at ../../node_modules/bluebird/js/release/async.js.Async._drainQueues (http://localhost:55177/__cypress/runner/cypress_runner.js:13460:5)\r\n      at Async.drainQueues (http://localhost:55177/__cypress/runner/cypress_runner.js:13330:14)\r\n```\r\n\r\nOnce I remove the line from e2e.js, my tests run fine on my local machine. It doesn't seem to have an impact on my Browserstack integration either, maybe because in my config I've set \"testObservability\": false\r\n\r\nCypress version: 12.17.2\r\nBrowserstack-cypress-cli version: 1.24.4\r\nRun on latest windows version.","author":{"url":"https://github.com/jdvegmond","@type":"Person","name":"jdvegmond"},"datePublished":"2023-07-21T12:30:26Z","url":"https://github.com/browserstack/browserstack-cypress-cli/issues/657"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:32215408-16cd-a54b-8d25-c2ce5e3461ba
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCC14:1F1B5:D500AC:12950E3:6B043E2E
html-safe-nonce86a6870dea36660a4181ea7f805f7221ccf07b0e761c3f36e8429bdb55db4891
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzE0OjFGMUI1OkQ1MDBBQzoxMjk1MEUzOjZCMDQzRTJFIiwidmlzaXRvcl9pZCI6Ijg2OTUyNzkwMTc2MDEwMjM1MzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf81589e7d206190818f05db445e8ef75de45babf94b1664c7da6bf93cad78934
hovercard-subject-tagissue:1815727795
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/browserstack/browserstack-cypress-cli/657/issue_layout
twitter:imagehttps://opengraph.githubassets.com/da98ca24f297eef6b9bd8b4de7feabcaacb2b25f7feb7b8e09554d7869ac8c79/browserstack/browserstack-cypress-cli/issues/657
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/da98ca24f297eef6b9bd8b4de7feabcaacb2b25f7feb7b8e09554d7869ac8c79/browserstack/browserstack-cypress-cli/issues/657
og:image:altI noticed that when I try my Cypress tests on my local machine they will always fail when the following line is present in cypress/support/e2e.js: require('browserstack-cypress-cli/bin/testObservab...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejdvegmond
hostnamegithub.com
expected-hostnamegithub.com
None9185ccfefd80c1ff2d9ddcdb0cd2becf46b5a1efbbf30741a895e4bb8de25e64
turbo-cache-controlno-preview
go-importgithub.com/browserstack/browserstack-cypress-cli git https://github.com/browserstack/browserstack-cypress-cli.git
octolytics-dimension-user_id1119453
octolytics-dimension-user_loginbrowserstack
octolytics-dimension-repository_id242935045
octolytics-dimension-repository_nwobrowserstack/browserstack-cypress-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id242935045
octolytics-dimension-repository_network_root_nwobrowserstack/browserstack-cypress-cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release06dc448a76fe4751ac1db26524aefa3aa3e889a8
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/browserstack/browserstack-cypress-cli/issues/657#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbrowserstack%2Fbrowserstack-cypress-cli%2Fissues%2F657
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbrowserstack%2Fbrowserstack-cypress-cli%2Fissues%2F657
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=browserstack%2Fbrowserstack-cypress-cli
Reloadhttps://github.com/browserstack/browserstack-cypress-cli/issues/657
Reloadhttps://github.com/browserstack/browserstack-cypress-cli/issues/657
Reloadhttps://github.com/browserstack/browserstack-cypress-cli/issues/657
browserstackhttps://github.com/browserstack
browserstack-cypress-clihttps://github.com/browserstack/browserstack-cypress-cli
Codehttps://github.com/browserstack/browserstack-cypress-cli
Issues28 (28)https://github.com/browserstack/browserstack-cypress-cli/issues
Pull requests47 (47)https://github.com/browserstack/browserstack-cypress-cli/pulls
Actionshttps://github.com/browserstack/browserstack-cypress-cli/actions
Projectshttps://github.com/browserstack/browserstack-cypress-cli/projects
Security and quality1 (1)https://github.com/browserstack/browserstack-cypress-cli/security
Insightshttps://github.com/browserstack/browserstack-cypress-cli/insights
https://github.com/browserstack/browserstack-cypress-cli
New issuehttps://github.com/login?return_to=https://github.com/browserstack/browserstack-cypress-cli/issues/657
New issuehttps://github.com/login?return_to=https://github.com/browserstack/browserstack-cypress-cli/issues/657
Local testing fails when testObservability added to e2e.jshttps://github.com/browserstack/browserstack-cypress-cli/issues/657#top
https://github.com/jdvegmond
jdvegmondhttps://github.com/jdvegmond
on Jul 21, 2023https://github.com/browserstack/browserstack-cypress-cli/issues/657#issue-1815727795
Sign up for freehttps://github.com/signup?return_to=https://github.com/browserstack/browserstack-cypress-cli/issues/657
Sign in to commenthttps://github.com/login?return_to=https://github.com/browserstack/browserstack-cypress-cli/issues/657
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.