Comments (11)
Hi @MikeMcC399 👋, thanks for logging this issue. I took a cursory look at the reported errors and the rule appears to be correct so we should do #2
and update the examples.
from cypress-example-kitchensink.
Hi @mschile
Thank you very much for qualifying this issue!
I can't provide a solution for this issue, so I would be happy for the core team to make the changes in the examples.
from cypress-example-kitchensink.
@MikeMcC399 I'd be fine with an update to the example recipes to reflect our new conventions. We just never revisited this.
This issue is still open because as I said previously I don't have the skills for this and nobody else has picked it up.
from cypress-example-kitchensink.
- I have proposed a fix for a related issue in #662. For the waiting issue I propose to ignore the rule.
from cypress-example-kitchensink.
unsafe-to-chain
is currently disabled in this repo pending update of the examples to conform to linting rules.
The latest new release from Aug 8, 2023 [email protected] causes additional 8 problems to be flagged if the rule is enabled:
✖ 59 problems (59 errors, 0 warnings)
instead of the previous
✖ 51 problems (51 errors, 0 warnings)
It would be good for the examples to be updated so that they can be used as a reference for what is correct. Perhaps this fix could be scheduled some time soon?
- See also cypress-io/eslint-plugin-cypress#140
from cypress-example-kitchensink.
Updating to [email protected] (current latest
) causes now 59 "unsafe to chain" errors when checking with
"rules": {
"cypress/unsafe-to-chain-command": "error"
}
The rule is currently disabled and waiting for the examples to be corrected so they conform to the chaining rules as described in the https://docs.cypress.io/api/table-of-contents documentation.
cypress-example-kitchensink/.eslintrc
Lines 17 to 18 in a3327d9
from cypress-example-kitchensink.
Unfortunately I'm unable to provide a PR to resolve this issue, which remains unaddressed.
Steps to reproduce
Comment out
cypress-example-kitchensink/.eslintrc
Line 18 in b49f532
and then execute
npm run lint
shows
✖ 57 problems (57 errors, 0 warnings)
from cypress-example-kitchensink.
+1
from cypress-example-kitchensink.
@MikeMcC399 I'd be fine with an update to the example recipes to reflect our new conventions. We just never revisited this.
from cypress-example-kitchensink.
from cypress-example-kitchensink.
🎉 This issue has been resolved in version 2.0.3 🎉
The release is available on:
Your semantic-release bot 📦🚀
from cypress-example-kitchensink.
Related Issues (20)
- Parallel workflow fails HOT 2
- 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
- GHA recording workflows fail in fork on push event
- GHA admin workflows fail in fork on pull_request event
- cy.end() test from earlier versions fails against example.cypress.io/commands/misc HOT 2
- CircleCI: macOS Intel support deprecation brownout failure HOT 2
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.