Constraint page issues CSS selector
The 2 selector approach is flawed as the .ambox element matches a hidden element in the old treatment which is not clickable. I suspect this change will fix the failing browser test on the beta cluster. Integration tests will continue to test the new selector in the mean time. Change-Id: I44a873b2e89069c4a47a428c528592159520568c
This commit is contained in:
parent
b73f5c7520
commit
cb2634a78b
|
@ -179,9 +179,9 @@ class ArticlePage
|
|||
|
||||
# issues
|
||||
# We use 2 selectors here - the first relates to the old treatment (A) and
|
||||
# the 2nd relates to the new treatment (.ambox)
|
||||
# the 2nd relates to the new treatment (.issues-group-B .ambox)
|
||||
# see https://phabricator.wikimedia.org/T206647
|
||||
a(:issues_stamp, css: '.mw-mf-cleanup, .ambox')
|
||||
a(:issues_stamp, css: '.mw-mf-cleanup, .issues-group-B .ambox')
|
||||
|
||||
# page info (action=info)
|
||||
td(:edit_count, css: '#mw-pageinfo-edits td', index: 1)
|
||||
|
|
Loading…
Reference in New Issue