Project:
View Revisions: Issue #53197 | [ All Revisions ] [ Back to Issue ] | ||
Summary | 0053197: Remove "cypress/unsafe-to-chain-command" and fix warnings in ci related with eslint-plugin-cypress | ||
Revision | 2023-08-10 12:39 by ablasco | ||
Description | In last npm update in core2, eslint-plugin-cypress updates from 2.11.2 to 2.14.0 breaking ci with warnings related with "cypress/unsafe-to-chain-command". Warning: "It is unsafe to chain further commands that rely on the subject after this command. It is best to split the chain, chaining again from `cy.` in a next command line cypress/unsafe-to-chain-command" A new exception rule was created to solve ci in eslintrc.json in cypress directory because this rule could not be extended in template to POS2. This cypress tests should be reviewed to avoid this warnings and remove the exception rule in (openbravo/modules/org.openbravo.pos2/web-jspack/org.openbravo.pos2/src-test/cypress/.eslintrc.json ) |
||
Revision | 2023-08-10 12:19 by ablasco | ||
Description | In last npm update in core2, eslint-plugin-cypress updates from 2.11.2 to 2.14.0 breaking ci with warnings related with "cypress/unsafe-to-chain-command". Warning: "It is unsafe to chain further commands that rely on the subject after this command. It is best to split the chain, chaining again from `cy.` in a next command line cypress/unsafe-to-chain-command" A new exception rule was created to solve ci in eslintrc.json in cypress directory because this rule could not be extended in template to POS2. This cypress tests should be reviewed to avoid this warnings and remove the exception rule. |
Copyright © 2000 - 2009 MantisBT Group |