User proxy UI integration test failures for snapshot
Description
Environment
Potential Workaround
Checklist
hideTestRail: Results
Activity
Zak Burke April 29, 2019 at 8:39 PM
The internals of ui-plugin-find-user were 100% refactored so it is now completely independent of ui-users. The test failures resolved when those changes were merged.
John Malconian April 24, 2019 at 8:22 PM
Yeah, I ran those unit tests in CI manually with mixed results. Sometimes they passed and other times they would fail.
Zak Burke April 24, 2019 at 8:13 PM
@John Coburn and I have been discussing/working on this one. It appears to be related to PR #810 but the exact details are unclear, though there appears to be some kind of bad interaction between ui-users and the ui-plugin-find-users that wraps ui-users under the covers.
We hope to resolve this by finalizing his excellent work refactoring ui-plugin-find-user into a stand-alone module but we're struggling with unit tests. For both of us, they pass locally but fail in CI.
The user proxy tests seem to be consistently failing for folio-snapshot:
1) User proxies ("new-proxy") Login > Find user two users > Add proxy to user 1 > Delete sponsor in user 2 > Logout should add a proxy for user 1: Error: Unable to find element by selector: #OverlayContainer #list-plugin-find-user div[role="row"][aria-rowindex="2"] a at fn (:9:15) at javascript (:34:21) at :49:3 at EventEmitter.electron.ipcRenderer.on (node_modules/electron/dist/resources/electron.asar/renderer/init.js:63:28) 2) User proxies ("new-proxy") Login > Find user two users > Add proxy to user 1 > Delete sponsor in user 2 > Logout should delete a sponsor of user 2 (): Error: .wait() for #pane-userdetails button[icon="times"] timed out after 30000msec at newDone (node_modules/nightmare/lib/actions.js:545:9) at Timeout._onTimeout (node_modules/nightmare/lib/actions.js:578:5)
Full test report: https://jenkins-aws.indexdata.com/job/Automation/job/folio-snapshot-core/10/UI_20Regression_20Test_20Report/