wiki.techinc.nl/tests/selenium/pageobjects
Timo Tijhof 46586a243c selenium: Replace ES5 one-var assignments with const/let per line
The one-var rule only applies to 'var' where it matters that we
don't let the engine implicitly hoist variables leading to
confusing code that may be unsafe to refactor in a straight-forward
manner.

This doesn't apply to ES6 const and let. While I updated the
rule in 1955a8aa5 to allow ES6, I did not enforce it. Fixed now.
When assigning a value, each assignment should be its own
statement (disallow awkward comma separated assignments).
When not assigning a value, and the lines are next to each other,
they should be in one statement. This makes sense for this small
directory and might make sense to propose for the wikimedia preset
at some point.

Note that the rule I added was not required to make the build
pass. The changes I made are allowed by default by the wikimedia
preset for es6+. The rule I added disallows the previous way.

Change-Id: I26cda095a8a4589084e36273038877f2dd1fc50b
2019-10-01 02:18:19 +00:00
..
createaccount.page.js selenium: Remove deprecated legacy methods 2019-09-29 02:31:51 +00:00
delete.page.js selenium: Remove deprecated legacy methods 2019-09-29 02:31:51 +00:00
edit.page.js Selenium: Hide VE welcome and beta dialogs 2019-09-30 21:57:23 +02:00
history.page.js selenium: Replace ES5 one-var assignments with const/let per line 2019-10-01 02:18:19 +00:00
preferences.page.js selenium: Upgrade from webdriver v4 to v5 2019-09-29 02:59:44 +01:00
recentchanges.page.js selenium: Upgrade from webdriver v4 to v5 2019-09-29 02:59:44 +01:00
restore.page.js selenium: Upgrade from webdriver v4 to v5 2019-09-29 02:59:44 +01:00
undo.page.js selenium: Upgrade from webdriver v4 to v5 2019-09-29 02:59:44 +01:00
watchable.page.js selenium: Upgrade from webdriver v4 to v5 2019-09-29 02:59:44 +01:00
watchlist.page.js selenium: Upgrade from webdriver v4 to v5 2019-09-29 02:59:44 +01:00