mirror of https://github.com/commaai/openpilot.git
ci: add body to ui report (#33429)
add body
old-commit-hash: fefb0330d6
This commit is contained in:
parent
333c666a80
commit
9cd2bcbb39
|
@ -98,6 +98,10 @@ jobs:
|
|||
<td><img src="https://raw.githubusercontent.com/commaai/ci-artifacts/openpilot/pr-${{ github.event.number }}/onroad_alert_full.png"></td>
|
||||
<td><img src="https://raw.githubusercontent.com/commaai/ci-artifacts/openpilot/pr-${{ github.event.number }}/driver_camera.png"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img src="https://raw.githubusercontent.com/commaai/ci-artifacts/openpilot/pr-${{ github.event.number }}/body.png"></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
comment_tag: run_id_screenshots
|
||||
pr_number: ${{ github.event.number }}
|
||||
|
|
|
@ -80,6 +80,13 @@ def setup_onroad_wide_sidebar(click, pm: PubMaster):
|
|||
setup_onroad_wide(click, pm)
|
||||
click(500, 500)
|
||||
|
||||
def setup_body(click, pm: PubMaster):
|
||||
DATA['carParams'].carParams.carName = "BODY"
|
||||
DATA['carParams'].carParams.notCar = True
|
||||
DATA['carState'].carState.charging = True
|
||||
DATA['carState'].carState.fuelGauge = 50.0
|
||||
setup_onroad(click, pm)
|
||||
|
||||
def setup_driver_camera(click, pm: PubMaster):
|
||||
setup_settings_device(click, pm)
|
||||
click(1950, 435)
|
||||
|
@ -140,6 +147,7 @@ CASES = {
|
|||
"onroad_wide": setup_onroad_wide,
|
||||
"onroad_wide_sidebar": setup_onroad_wide_sidebar,
|
||||
"driver_camera": setup_driver_camera,
|
||||
"body": setup_body,
|
||||
"offroad_alert": setup_offorad_alert,
|
||||
"update_available": setup_update_available
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue