Comments (3)
i went ahead and made a pr #135 with the suggestions above, feel free to do close/merge/whatever!
from cypress-example-kitchensink.
@cblgh Thanks for the suggestion! This isn't the first time we have gotten it.
This repo serves 2 purposes which makes this change a little bit more work.
- It's a great repo to fork and get running yourself to play around with (as you have done).
- It serves as the scaffolding for the
example
project that Cypress seeds in every new project.
The suggestion you made works great for #1, but requires some changes to accommodate #2.
For #2, we do not include a cypress.json
file in new projects. We also replace all of the urls with https://example.cypress.io
so that they don't require any server to be running, so just including the baseUrl in the cypress.json
file is not a solution.
We do already have a script written that transforms the localhost
url to example.cypress.io
url, so it is likely possible that we could also update the script to handle the url's missing the localhost
url (since it's included in the cypress.json
).
The cypress
repo is open source, so if you could update the conversion script to handle this, we'd be glad to merge the changes in - otherwise, this is a low priority issue on our side that we likely will not have time to spend on.
from cypress-example-kitchensink.
alright, in that case i'll go ahead and close it :)
from cypress-example-kitchensink.
Related Issues (20)
- Sync of GitLab mirror copy HOT 4
- Test Issue HOT 2
- example tests fail current recommended mocha lint HOT 4
- Azure DevOps CI stopped on April 3, 2023 HOT 3
- Parallel workflow fails HOT 2
- Several advanced examples fail cypress/unsafe-to-chain-command lint rule HOT 11
- Azure Pipelines example uses non-recommended code HOT 2
- GitHub Topics update HOT 4
- Outdated Heroku CI example HOT 4
- package.json `engines` lists Node.js 14 in end-of-life status HOT 5
- Installation deprecations caused by netlify-plugin-cypress HOT 2
- CircleCI checksum failure installing GoogleChrome in Windows with Chocolatey HOT 3
- CircleCI runs Windows tests under unsupported Node.js 14 - renovate fails HOT 5
- CircleCI wrong Node.js used for `linux-build` (v16.16.0) and `mac-build` (v18.16.0) HOT 1
- element selector: ":last" vs ":last-child" HOT 4
- IDE Shows false errors regards codebase under Ventura MacOS HOT 3
- Missing API commands HOT 3
- CircleCI fails to install the ChromeDriver HOT 1
- Update HTML examples to conform to scaffolded tests HOT 10
- `cy.end()` test is inactive HOT 1
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 cypress-example-kitchensink.