Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0053197
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSminorhave not tried2023-08-10 12:192023-08-22 09:53
ReporterablascoView Statuspublic 
Assigned Toandre_montenegro 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0053197: Remove "cypress/unsafe-to-chain-command" and fix warnings in ci related with eslint-plugin-cypress

DescriptionIn 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 )
Steps To Reproduce*
- Execute

./modules/org.openbravo.client.kernel/jslint/jslint

Warning messages appears related with cypress chaining.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0052961 closedablasco Update all npm libraries to their latest version 
causes defect 0053241 closedandre_montenegro Follow up and update to "eslint-plugin-cypress" version which fixes "unsave-to-chain-command" error 

-  Notes
(0153681)
hgbot (developer)
2023-08-18 15:15

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2021 [^]
(0153763)
hgbot (developer)
2023-08-22 09:52

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2021 [^]

- Issue History
Date Modified Username Field Change
2023-08-10 12:19 ablasco New Issue
2023-08-10 12:19 ablasco Assigned To => Triage Platform Base
2023-08-10 12:19 ablasco Triggers an Emergency Pack => No
2023-08-10 12:19 ablasco Relationship added related to 0052961
2023-08-10 12:39 ablasco Description Updated View Revisions
2023-08-18 08:38 andre_montenegro Assigned To Triage Platform Base => andre_montenegro
2023-08-18 15:15 hgbot Note Added: 0153681
2023-08-18 15:16 andre_montenegro Status new => scheduled
2023-08-18 15:17 andre_montenegro Relationship added causes 0053241
2023-08-22 09:52 hgbot Note Added: 0153763
2023-08-22 09:53 andre_montenegro Status scheduled => resolved
2023-08-22 09:53 andre_montenegro Resolution open => fixed
2023-08-22 09:53 andre_montenegro Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker