Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[New POS] Coremajoralways2021-02-25 11:442021-03-03 08:50
ReporterlorenzofidalgoView Statuspublic 
Assigned Toalostale 
PriorityhighResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Regression levelAutomated tests
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0045950: Cross Origin errors are thrown visiting the NewPOS

DescriptionThe following error is shown after vising more than once the NewPOS login page:
"Blocked a frame with origin "" [^] from accessing a cross-origin frame."
It has been reproduced in CI and much more easily with Cypress automated tests in local against NewPOS livebuilds. Check the attached videos since they are pretty informative to narrow the error down.
( [^] )
( [^] )
( [^] )
This seems to be related with Service Workers because the browser unblocks the sitauation after service workers are cleaned. Besides, after checking when the issue started to happen (around 15th February), a merge containing Service Workers changes was introduced in core2. So it seems to be related (but not sure 100%).

To be able to unblock Cypress tests and continue the executions, chromeWebSecurity has been disabled. To track this issue, it is required to backout the following changeset: [^]
Steps To Reproduce0-With the Cypress automated tests repo ready in your local machine, set "cypress.env.json" file with the following to be able to launch your tests against the livebuilds remote machine:
    "baseUrl":"", [^]
    "terminalUrl": "/web/pos/?terminal=VBS-2"
1-Launch .../integration/FrontendFlows/MainWorkflows.spec.js suite against
"" [^]
DEFECT: Realise when the second test executes the cy.visit command, it fails launching a Cross Origin error.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
alostale (developer)
2021-03-03 08:50

Downgraded priority as it has been workarounded [1]

[1] [^]

- Issue History
Date Modified Username Field Change
2021-02-25 11:44 lorenzofidalgo New Issue
2021-02-25 11:44 lorenzofidalgo Assigned To => Retail
2021-02-25 11:44 lorenzofidalgo Regression level => Automated tests
2021-02-25 11:44 lorenzofidalgo Triggers an Emergency Pack => No
2021-02-26 13:52 lorenzofidalgo Description Updated View Revisions
2021-02-28 18:30 guilleaer Assigned To Retail => alostale
2021-03-03 08:50 alostale Note Added: 0126481
2021-03-03 08:50 alostale Priority immediate => high

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker