Skip to content

Commit

Permalink
Removed duplicate postscript calls
Browse files Browse the repository at this point in the history
  • Loading branch information
7h3Rabbit committed Dec 28, 2024
1 parent 0af6e1e commit cbf9800
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 12 deletions.
2 changes: 0 additions & 2 deletions tests/a11y_statement.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,6 @@ def check_item(item, root_item, org_url_start, global_translation, local_transla
if get_config('tests.sitespeed.xvfb'):
sitespeed_arg += ' --xvfb'

sitespeed_arg += ' --postScript chrome-cookies.cjs --postScript chrome-versions.cjs'

(_, filename) = get_result(
item['url'],
get_config('tests.sitespeed.docker.use'),
Expand Down
2 changes: 0 additions & 2 deletions tests/lint_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,6 @@ def get_data_for_url(url):
if get_config('tests.sitespeed.xvfb'):
sitespeed_arg += ' --xvfb'

sitespeed_arg += ' --postScript chrome-cookies.cjs --postScript chrome-versions.cjs'

(_, filename) = get_result(
url,
get_config('tests.sitespeed.docker.use'),
Expand Down
2 changes: 0 additions & 2 deletions tests/page_not_found.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ def get_http_content_with_status(url):
if get_config('tests.sitespeed.xvfb'):
sitespeed_arg += ' --xvfb'

sitespeed_arg += ' --postScript chrome-cookies.cjs --postScript chrome-versions.cjs'

(_, filename) = get_result(
url,
get_config('tests.sitespeed.docker.use'),
Expand Down
2 changes: 0 additions & 2 deletions tests/software.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,6 @@ def get_rating_from_sitespeed(url, local_translation, global_translation):
if get_config('tests.sitespeed.xvfb'):
sitespeed_arg += ' --xvfb'

sitespeed_arg += ' --postScript chrome-cookies.cjs --postScript chrome-versions.cjs'

(result_folder_name, filename) = get_result(
url,
get_config('tests.sitespeed.docker.use'),
Expand Down
2 changes: 0 additions & 2 deletions tests/tracking_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -770,8 +770,6 @@ def get_rating_from_sitespeed(url, local_translation, global_translation):
if get_config('tests.sitespeed.xvfb'):
sitespeed_arg += ' --xvfb'

sitespeed_arg += ' --postScript chrome-cookies.cjs --postScript chrome-versions.cjs'

(result_folder_name, filename) = get_result(
url,
get_config('tests.sitespeed.docker.use'),
Expand Down
2 changes: 0 additions & 2 deletions tests/w3c_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,6 @@ def get_data_for_url(url):
if get_config('tests.sitespeed.xvfb'):
sitespeed_arg += ' --xvfb'

sitespeed_arg += ' --postScript chrome-cookies.cjs --postScript chrome-versions.cjs'

(_, filename) = get_result(
url,
get_config('tests.sitespeed.docker.use'),
Expand Down

0 comments on commit cbf9800

Please sign in to comment.