Skip to main content

Test Report

Overview​

This document contains information parsed from the testing workflows for the latest merged pull requests to the main branch.

Frontend Test Results​

ToolVersion
Nodev18.16.0
Reactv18.2.0
FileTestsPassingFailedDuration (s)
App.test.js11023.048
Total11023.048
FileTestPassedDuration (s)
App.test.jsRenders tutraffic app.✓0.090

Raspberry Pi Test Results​

ToolVersion
Python3.10.11
Pytest7.2.2
FileTestsPassingFailedDuration (s)
test_ImageMethods.py330
test_streetParking.py770
Total101002.35
FileTestPassed
test_ImageMethods.pytest_takePics✓
test_crop✓
test_avgImgs✓
test_streetParking.pytest_convertCords✓
test_detAvgLen✓
test_checkSpot✓
test_makeSpacesRight✓
test_makeSpacesLeft✓
test_determineSpaces✓
test_sortList✓

Integration Test Result​

ToolVersion
Cypress12.11.0
Nodev18.16.0
BrowserChrome 112 (headless)
FileTestsPassingFailedDuration (s)
add_favorite_parking.spec.cy.js11015
find_parking_nearest.spec.cy.js1108
find_parking_nearest_with_filters.spec.cy.js54146
show_parking_notification.spec.cy.js44025
total1110195
FileTestPassedDuration (s)
add_favorite_parking.spec.cy.jsLogs in to the test user, adds a favorite parking spot, then views it.✓10.873
find_parking_nearest.spec.cy.jsSearches Google Maps for a parking lot.✓3.934
find_parking_nearest_with_filters.spec.cy.jsLogs in to the user, sets lot type to street, then finds only street parking✓11.100
Logs in to the user, sets lot type to lot, then finds only parking lots..✓6.153
Logs in to the user, sets price to free, then finds free parking.✓5.999
Logs in to the user, sets filters to free parking lots, then finds a free parking lot.✓6.741
Logs in to the user, sets filters to free street parking, and finds free street parking.✖6.375
show_parking_notification.spec.cy.jsIs supported by the test browser.✓1.241
Asks for permission.✓2.742
Shows notifications when granted permission.✓9.719
Does not show notifications when denied permission.✓8.044

Failing Tests​

FileTestDuration (s)Note
find_parking_nearest_with_filters.spec.cy.jsLogs in to the user, sets filters to free street parking, and finds free street parking.6.375The assertion for this test is flaky. One of 3 results occurs during repeated automated trials: 1. Free street parking does not appear. 2. Free street parking appears within the timeout period. 3. Free street parking appears after the timeout period.