Page MenuHomePhabricator

Selenium test "CheckUser.With CheckUser user group.Verify checkuser can make checks:.Should be able to run 'Get ...' check" is flaky
Closed, ResolvedPublic

Description

On patch set https://gerrit.wikimedia.org/r/c/mediawiki/extensions/AbuseFilter/+/1177366 the following flaky test failure is shown
https://integration.wikimedia.org/ci/job/wmf-quibble-selenium-php81/33045/console

00:32:09 [0-0] Error in "CheckUser.With CheckUser user group.Verify checkuser can make checks:.Should be able to run 'Get users' check"
00:32:09 Node is either not clickable or not an HTMLElement
00:32:09 Error: Node is either not clickable or not an HTMLElement
00:32:09     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
00:32:10 [0-0] RETRYING in chrome - /tests/selenium/specs/checkuser.js
00:32:10 [0-0] RUNNING in chrome - /tests/selenium/specs/checkuser.js
00:32:20 [0-0] Error in "CheckUser.With CheckUser user group.Verify checkuser can make checks:.Should be able to run 'Get actions' check"
00:32:20 Node is either not clickable or not an HTMLElement
00:32:20 Error: Node is either not clickable or not an HTMLElement
00:32:20     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
00:32:23 [0-0] FAILED in chrome - /tests/selenium/specs/checkuser.js (1 retries)
...
00:32:23 [Chrome 120.0.0.0 linux #0-0] Running: Chrome (v120.0.0.0) on linux
00:32:23 [Chrome 120.0.0.0 linux #0-0] Session ID: e06d0559-f4e3-43f6-abe1-17a482e3eb37
00:32:23 [Chrome 120.0.0.0 linux #0-0]
00:32:23 [Chrome 120.0.0.0 linux #0-0] » /tests/selenium/specs/checkuser.js
00:32:23 [Chrome 120.0.0.0 linux #0-0] CheckUser
00:32:23 [Chrome 120.0.0.0 linux #0-0]     Without CheckUser user group
00:32:23 [Chrome 120.0.0.0 linux #0-0]        ✓ Should display permission error to logged-out user
00:32:23 [Chrome 120.0.0.0 linux #0-0]
00:32:23 [Chrome 120.0.0.0 linux #0-0]     With CheckUser user group
00:32:23 [Chrome 120.0.0.0 linux #0-0]         Verify checkuser can make checks:
00:32:23 [Chrome 120.0.0.0 linux #0-0]            ✓ Should show target input
00:32:23 [Chrome 120.0.0.0 linux #0-0]            ✓ Should show checkuser radios
00:32:23 [Chrome 120.0.0.0 linux #0-0]            ✓ Should show duration selector
00:32:23 [Chrome 120.0.0.0 linux #0-0]            ✓ Should show check reason input
00:32:23 [Chrome 120.0.0.0 linux #0-0]            ✓ Should show submit button
00:32:23 [Chrome 120.0.0.0 linux #0-0]            ✓ Should show CIDR form before check is run
00:32:23 [Chrome 120.0.0.0 linux #0-0]            ✓ Should be able to run 'Get IPs' check
00:32:23 [Chrome 120.0.0.0 linux #0-0]            ✓ Should be able to run 'Get actions' check
00:32:23 [Chrome 120.0.0.0 linux #0-0]            ✖ Should be able to run 'Get users' check
00:32:23 [Chrome 120.0.0.0 linux #0-0]
00:32:23 [Chrome 120.0.0.0 linux #0-0] 9 passing (22.1s)
00:32:23 [Chrome 120.0.0.0 linux #0-0] 1 failing
00:32:23 [Chrome 120.0.0.0 linux #0-0]
00:32:23 [Chrome 120.0.0.0 linux #0-0] 1) Verify checkuser can make checks: Should be able to run 'Get users' check
00:32:23 [Chrome 120.0.0.0 linux #0-0] Node is either not clickable or not an HTMLElement
00:32:23 [Chrome 120.0.0.0 linux #0-0] Node is either not clickable or not an HTMLElement
00:32:23 [Chrome 120.0.0.0 linux #0-0] Error: Node is either not clickable or not an HTMLElement
00:32:23 [Chrome 120.0.0.0 linux #0-0]     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
00:32:23 ------------------------------------------------------------------
00:32:23 [Chrome 120.0.0.0 linux #0-0] Running: Chrome (v120.0.0.0) on linux
00:32:23 [Chrome 120.0.0.0 linux #0-0] Session ID: 68b945ff-bf65-4a18-afe0-7f31f0f9acf0
00:32:23 [Chrome 120.0.0.0 linux #0-0]
00:32:23 [Chrome 120.0.0.0 linux #0-0] » /tests/selenium/specs/checkuser.js
00:32:23 [Chrome 120.0.0.0 linux #0-0] CheckUser
00:32:23 [Chrome 120.0.0.0 linux #0-0]     Without CheckUser user group
00:32:23 [Chrome 120.0.0.0 linux #0-0]        ✓ Should display permission error to logged-out user
00:32:23 [Chrome 120.0.0.0 linux #0-0]
00:32:23 [Chrome 120.0.0.0 linux #0-0]     With CheckUser user group
00:32:23 [Chrome 120.0.0.0 linux #0-0]         Verify checkuser can make checks:
00:32:23 [Chrome 120.0.0.0 linux #0-0]            ✓ Should show target input
00:32:23 [Chrome 120.0.0.0 linux #0-0]            ✓ Should show checkuser radios
00:32:23 [Chrome 120.0.0.0 linux #0-0]            ✓ Should show duration selector
00:32:23 [Chrome 120.0.0.0 linux #0-0]            ✓ Should show check reason input
00:32:23 [Chrome 120.0.0.0 linux #0-0]            ✓ Should show submit button
00:32:23 [Chrome 120.0.0.0 linux #0-0]            ✓ Should show CIDR form before check is run
00:32:23 [Chrome 120.0.0.0 linux #0-0]            ✓ Should be able to run 'Get IPs' check
00:32:23 [Chrome 120.0.0.0 linux #0-0]            ✖ Should be able to run 'Get actions' check
00:32:23 [Chrome 120.0.0.0 linux #0-0]            ✓ Should be able to run 'Get users' check
00:32:23 [Chrome 120.0.0.0 linux #0-0]
00:32:23 [Chrome 120.0.0.0 linux #0-0] 9 passing (11.9s)
00:32:23 [Chrome 120.0.0.0 linux #0-0] 1 failing
00:32:23 [Chrome 120.0.0.0 linux #0-0]
00:32:23 [Chrome 120.0.0.0 linux #0-0] 1) Verify checkuser can make checks: Should be able to run 'Get actions' check
00:32:23 [Chrome 120.0.0.0 linux #0-0] Node is either not clickable or not an HTMLElement
00:32:23 [Chrome 120.0.0.0 linux #0-0] Node is either not clickable or not an HTMLElement
00:32:23 [Chrome 120.0.0.0 linux #0-0] Error: Node is either not clickable or not an HTMLElement
00:32:23 [Chrome 120.0.0.0 linux #0-0]     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change #1179740 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/extensions/CheckUser@master] Replace selenium tests for CheckUser, Investigate and Log with PHPUnit

https://gerrit.wikimedia.org/r/1179740

Change #1179740 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] Replace selenium tests for CheckUser, Investigate and Log with PHPUnit

https://gerrit.wikimedia.org/r/1179740