User proxy UI integration test failures for snapshot

Description

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/

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

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

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.

Done

Details

Assignee

Reporter

Priority

Development Team

Prokopovych

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created April 24, 2019 at 3:01 PM
Updated April 29, 2019 at 8:39 PM
Resolved April 29, 2019 at 8:39 PM
TestRail: Cases
TestRail: Runs

Flag notifications