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:
Ed Sanders 2023-07-03 14:12:08 +01:00
parent 7616f5124f
commit d582c75a6f

View file

@ -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 ]
] )
);
},