Page MenuHomePhabricator

selenium-daily-beta(commons)-MediaWiki jobs fail with `Error: Edit link not visible`
Closed, ResolvedPublicBUG REPORT

Description

After 1186490 was merged (on 2025-09-16), two daily selenium jobs started failing (on 2025-09-16) with error message Error: Edit link not visible:

Relevant output.

1+ npm run-script selenium-daily
2
3> selenium-daily
4> WDIO_TARGET=beta npm run selenium-test -- --suite daily --mochaOpts.grep @daily
5
6
7> selenium-test
8> if [ "$CI" = true ]; then node tests/selenium/docs/Stack/webdriverio.js; fi && wdio ./tests/selenium/wdio.conf.js --suite daily --mochaOpts.grep @daily
9
102025-09-18T01:22:51.222Z INFO webdriver: Initiate new session using the WebDriver protocol
112025-09-18T01:22:52.226Z INFO chromedriver: Starting ChromeDriver 140.0.7339.80 (670b6f192f4668d2ac2c06bd77ec3e4eeda7d648-refs/branch-heads/7339_41@{#3}) on port 35439
122025-09-18T01:22:52.226Z INFO chromedriver: Remote connections are allowed by an allowlist (0.0.0.0).
132025-09-18T01:22:52.227Z INFO chromedriver: Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
142025-09-18T01:22:52.231Z INFO chromedriver: ChromeDriver was started successfully on port 35439.
152025-09-18T01:22:52.335Z INFO @wdio/utils: Started Chromedriver v140.0.7339.80 with params --port=35439 --binary=/usr/bin/chromedriver --allowed-origins=* --allowed-ips=0.0.0.0 in 975ms on port 35439
162025-09-18T01:22:52.384Z INFO webdriver: [POST] http://localhost:35439/session
172025-09-18T01:22:55.691Z INFO webdriver: COMMAND navigateTo("https://commons.wikimedia.beta.wmcloud.org/w/index.php?title=Main_Page")
182025-09-18T01:22:55.692Z INFO webdriver: [POST] http://localhost:35439/session/2cf8cb20f97801cc594a0cad3de1056e/url
192025-09-18T01:22:55.692Z INFO webdriver: DATA {
20 url: 'https://commons.wikimedia.beta.wmcloud.org/w/index.php?title=Main_Page'
21}
222025-09-18T01:22:57.926Z INFO webdriver: RESULT null
232025-09-18T01:22:57.933Z INFO webdriver: COMMAND findElement("css selector", "a[title="Edit section: Getting started"]")
242025-09-18T01:22:57.935Z INFO webdriver: [POST] http://localhost:35439/session/2cf8cb20f97801cc594a0cad3de1056e/element
252025-09-18T01:22:57.935Z INFO webdriver: DATA {
26 using: 'css selector',
27 value: 'a[title="Edit section: Getting started"]'
28}
292025-09-18T01:22:58.151Z INFO webdriver: RESULT {
30 error: 'no such element',
31 message: 'no such element: Unable to locate element: {"method":"css selector","selector":"a[title="Edit section: Getting started"]"}\n' +
32 ' (Session info: chrome=140.0.7339.80)',
33 stacktrace: '#0 0x5618a610a0ee <unknown>\n' +
34 '#1 0x5618a5b72ff1 <unknown>\n' +
35 '#2 0x5618a5bbdcbf <unknown>\n' +
36 '#3 0x5618a5bbde91 <unknown>\n' +
37 '#4 0x5618a5c02d74 <unknown>\n' +
38 '#5 0x5618a5be16cd <unknown>\n' +
39 '#6 0x5618a5c00b24 <unknown>\n' +
40 '#7 0x5618a5be1473 <unknown>\n' +
41 '#8 0x5618a5bb2009 <unknown>\n' +
42 '#9 0x5618a5bb2b71 <unknown>\n' +
43 '#10 0x5618a60d54fa <unknown>\n' +
44 '#11 0x5618a60d87c1 <unknown>\n' +
45 '#12 0x5618a60d8258 <unknown>\n' +
46 '#13 0x5618a60d8c65 <unknown>\n' +
47 '#14 0x5618a60bf0dc <unknown>\n' +
48 '#15 0x5618a60d8fd1 <unknown>\n' +
49 '#16 0x5618a60a825a <unknown>\n' +
50 '#17 0x5618a60f74b5 <unknown>\n' +
51 '#18 0x5618a60f76ae <unknown>\n' +
52 '#19 0x5618a6108c25 <unknown>\n' +
53 '#20 0x7ff7733781f5 <unknown>\n'
54}
552025-09-18T01:22:58.172Z INFO webdriver: COMMAND findElement("css selector", "a[title="Edit section: Getting started"]")
562025-09-18T01:22:58.173Z INFO webdriver: [POST] http://localhost:35439/session/2cf8cb20f97801cc594a0cad3de1056e/element
572025-09-18T01:22:58.173Z INFO webdriver: DATA {
58 using: 'css selector',
59 value: 'a[title="Edit section: Getting started"]'
60}
612025-09-18T01:22:58.208Z INFO webdriver: RESULT {
62 error: 'no such element',
63 message: 'no such element: Unable to locate element: {"method":"css selector","selector":"a[title="Edit section: Getting started"]"}\n' +
64 ' (Session info: chrome=140.0.7339.80)',
65 stacktrace: '#0 0x5618a610a0ee <unknown>\n' +
66 '#1 0x5618a5b72ff1 <unknown>\n' +
67 '#2 0x5618a5bbdcbf <unknown>\n' +
68 '#3 0x5618a5bbde91 <unknown>\n' +
69 '#4 0x5618a5c02d74 <unknown>\n' +
70 '#5 0x5618a5be16cd <unknown>\n' +
71 '#6 0x5618a5c00b24 <unknown>\n' +
72 '#7 0x5618a5be1473 <unknown>\n' +
73 '#8 0x5618a5bb2009 <unknown>\n' +
74 '#9 0x5618a5bb2b71 <unknown>\n' +
75 '#10 0x5618a60d54fa <unknown>\n' +
76 '#11 0x5618a60d87c1 <unknown>\n' +
77 '#12 0x5618a60d8258 <unknown>\n' +
78 '#13 0x5618a60d8c65 <unknown>\n' +
79 '#14 0x5618a60bf0dc <unknown>\n' +
80 '#15 0x5618a60d8fd1 <unknown>\n' +
81 '#16 0x5618a60a825a <unknown>\n' +
82 '#17 0x5618a60f74b5 <unknown>\n' +
83 '#18 0x5618a60f76ae <unknown>\n' +
84 '#19 0x5618a6108c25 <unknown>\n' +
85 '#20 0x7ff7733781f5 <unknown>\n'
86}
87file:///src/tests/selenium/docs/Stack/webdriverio.js:34
88 throw new Error( 'Edit link not visible' );
89 ^
90
91Error: Edit link not visible
92 at file:///src/tests/selenium/docs/Stack/webdriverio.js:34:8
93 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Event Timeline

zeljkofilipin changed the subtype of this task from "Task" to "Bug Report".
zeljkofilipin changed the task status from Open to In Progress.Sep 24 2025, 1:45 PM
zeljkofilipin claimed this task.
zeljkofilipin triaged this task as High priority.
zeljkofilipin moved this task from Backlog 🪒 to Deep work 🌊 on the User-zeljkofilipin board.
zeljkofilipin edited projects, added: Test Platform (dek kvar 14); removed: Test Platform.
zeljkofilipin moved this task from Backlog to In Progress on the Test Platform (dek kvar 14) board.

Change #1191029 had a related patch set uploaded (by Zfilipin; author: Zfilipin):

[mediawiki/core@master] WIP selenium: Don't run webdriverio.js from selenium-daily

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

Change #1191029 merged by jenkins-bot:

[mediawiki/core@master] selenium: Don't run webdriverio.js from selenium-daily

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