Skip to content

Commit

Permalink
add Lighthouse-npx runner for UI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hunkom committed Jan 12, 2024
1 parent 32dd72a commit 795d804
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions galloper/api/ui_planner.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ def post(self, project_id: int):
runner = f"getcarrier/observer-lighthouse:{CURRENT_RELEASE}"
elif args["runner"] == "Lighthouse-Nodejs":
runner = f"getcarrier/observer-lighthouse-nodejs:{CURRENT_RELEASE}"
elif args["runner"] == "Lighthouse-npx":
runner = f"getcarrier/observer-lighthouse-npx:{CURRENT_RELEASE}"
else:
runner = f"getcarrier/observer-browsertime:{CURRENT_RELEASE}"
job_type = "observer"
Expand Down
1 change: 1 addition & 0 deletions galloper/templates/planner/frontend.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ <h6 class="heading-small text-muted mb-4">Test Details</h6>
<option value="Observer">Observer</option>
<option value="Lighthouse">Lighthouse</option>
<option value="Lighthouse-Nodejs">Lighthouse-Nodejs</option>
<option value="Lighthouse-npx">Lighthouse-npx</option>
<option value="Sitespeed">Sitespeed (browsertime)</option>
</select>
</div>
Expand Down

0 comments on commit 795d804

Please sign in to comment.