dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
selenium: Upgrade from webdriver v4 to v5
[lhc/web/wiklou.git]
/
tests
/
selenium
/
pageobjects
/
watchable.page.js
diff --git
a/tests/selenium/pageobjects/watchable.page.js
b/tests/selenium/pageobjects/watchable.page.js
index
896b2f4
..
bcbc68f
100644
(file)
--- a/
tests/selenium/pageobjects/watchable.page.js
+++ b/
tests/selenium/pageobjects/watchable.page.js
@@
-2,7
+2,7
@@
const Page = require( 'wdio-mediawiki/Page' );
class WatchablePage extends Page {
class WatchablePage extends Page {
- get confirmWatch() { return
browser.element
( '#mw-content-text button[type="submit"]' ); }
+ get confirmWatch() { return
$
( '#mw-content-text button[type="submit"]' ); }
watch( title ) {
super.openTitle( title, { action: 'watch' } );
watch( title ) {
super.openTitle( title, { action: 'watch' } );