mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-23 22:13:34 +00:00
screenshots: Fix some bounding box reference elements
* $actions is now $after * Use #ca-view to support Vector 2022 Change-Id: I458dff192fa5bca78e0d1cd99a38478bdf4865e3
This commit is contained in:
parent
7616f5124f
commit
d582c75a6f
|
@ -10,7 +10,7 @@ module.exports = {
|
|||
done(
|
||||
seleniumUtils.getBoundingRect( [
|
||||
ve.init.target.toolbar.$element[ 0 ],
|
||||
$( '#p-namespaces' )[ 0 ]
|
||||
$( '#ca-view' )[ 0 ]
|
||||
] )
|
||||
);
|
||||
} );
|
||||
|
@ -19,7 +19,7 @@ module.exports = {
|
|||
var done = arguments[ arguments.length - 1 ];
|
||||
done(
|
||||
seleniumUtils.getBoundingRect( [
|
||||
ve.init.target.toolbar.$actions[ 0 ]
|
||||
ve.init.target.toolbar.$after[ 0 ]
|
||||
] )
|
||||
);
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue