Comments (9)
Hey, support for cypress 10.x.x is currently in progress on BrowserStack and will be released soon.
from browserstack-cypress-cli.
Hey, support for cypress 10.x.x is currently in progress on BrowserStack and will be released soon.
Hi, any guesstimate when this would happen, weeks, months?
from browserstack-cypress-cli.
hey @pranavj1001, any estimates on when BrowserStack will get support to cypress latest?
from browserstack-cypress-cli.
BrowserStack now supports Cypress 10. Please update the browserstack-cypress-cli
to start running your tests using Cypress 10 on BrowserStack. Here's the link for the docs page.
from browserstack-cypress-cli.
Does this mean cypress.config.ts
is supported as well? With my first try I got a TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for .\cypress.config.ts
from browserstack-cypress-cli.
I am also having this same error. Browserstack json below:
"run_settings": {
"cypress_config_file": "./cypress/cypress.config.ts",
"project_name": "project-name",
"build_name": "build-name",
"exclude": [],
"parallels": "2",
"npm_dependencies": {},
"package_config_options": {},
"headless": true,
"cypress_version": "10"
}
I am using Cypress v10.3.0 and my Cypress tests run fine.
from browserstack-cypress-cli.
I was able to get my tests running, but it was not fun. I needed to compile the ts
files to js
. I used tsc --outDir ./dist/cypress --resolveJsonModule
.
Further more it was important to add cypress, as an npm_dependencies,
"run_settings": {
...
"npm_dependencies": {
"cypress": "10.3.0"
},
...
},
because my cypress.config.ts
includes an
import {defineConfig} from 'cypress';
After this I needed to copy some files here and there. I don't think it's practical at the moment.
from browserstack-cypress-cli.
Same thing without TypeScript.
If cypress.config.js contains
const { defineConfig } = require("cypress");
You have to give cypress
in npm_dependencies
.
If not CLI returns
Require stack:
- ./cypress.config.js
- /root/node_modules/@packages/server/lib/plugins/child/run_require_async_child.js
- /root/node_modules/@packages/server/lib/plugins/child/require_async_child.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
at Function.Module._load (internal/modules/cjs/loader.js:746:27)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:101:18)
at Object.<anonymous> (./cypress.config.js:1:26)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:101:18)
at loadFile (/root/node_modules/@packages/server/lib/plugins/child/run_require_async_child.js:89:14)
at EventEmitter.<anonymous> (/root/node_modules/@packages/server/lib/plugins/child/run_require_async_child.js:116:38)
at EventEmitter.emit (events.js:400:28)
at process.<anonymous> (/root/node_modules/@packages/server/lib/plugins/util.js:33:22)
at process.emit (events.js:400:28)```
from browserstack-cypress-cli.
will there be typescript support for cypress 10.x in the near feature?
from browserstack-cypress-cli.
Related Issues (20)
- Firefox not running on latest for windows 10 HOT 3
- Cypress no longer supports cypress.json HOT 5
- 1.18.0 contains breaking changes HOT 5
- 1.18.0 version - support for running tagged scenarios supported in Cypress 10
- 1.18.0 - Cypress config file not accepting cypress.config.ts HOT 2
- Cypress 10 config file imports not working HOT 1
- Cannot find module 'cypress', Cypress v10, cypress.config.js HOT 3
- Recursion creating tests.zip when home_directory is defined
- Error and warning when using `init` command HOT 3
- `got` security vulnerability
- Peer dependency missing for mocha reporters but cannot install Mocha
- Dependancy is getting installed as a devDependancy? HOT 4
- Use alternative for request package HOT 4
- add support for Cypress component testing
- Message stating: "Sorry, you have been blocked" on any version after 1.23.1 HOT 1
- When a run is started then all files in the project are removed HOT 4
- Local testing fails when testObservability added to e2e.js
- npm ERR! 503 on browserstack side HOT 4
- geoLocation feature states it doesn't work with browserstack local , when browserstack local is not being used.
- browserstack local is set to null but local testing through BrowserStack is not connected HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from browserstack-cypress-cli.