Bug 1784176 - Add a feature for manual logins for recording sites. r=perftest-reviewers,AlexandruIonescu
This patch adds the ability to run manual logins for our websites since it can be simpler, and quicker in some cases. At the same time, a bug with the options handling is fixed. Differential Revision: https://phabricator.services.mozilla.com/D164590
This commit is contained in:
@@ -14,6 +14,6 @@ def add_option(env, name, value, overwrite=False):
|
||||
env.set_arg("browsertime-extra-options", options)
|
||||
|
||||
|
||||
def add_options(env, options):
|
||||
for name, value in options:
|
||||
add_option(env, name, value)
|
||||
def add_options(env, options, overwrite=False):
|
||||
for i, (name, value) in enumerate(options):
|
||||
add_option(env, name, value, overwrite=overwrite and i == 0)
|
||||
|
||||
@@ -435,6 +435,7 @@ class BrowsertimeRunner(NodeRunner):
|
||||
if name == "browsertime.login" and value:
|
||||
is_login_site = True
|
||||
|
||||
self.info(f"Adding extra browsertime argument: --{name} {value}")
|
||||
args += ["--" + name, value]
|
||||
|
||||
if self.get_arg("android"):
|
||||
|
||||
Reference in New Issue
Block a user