
Here is a test that asserts the amount of requests that should be sent for a specific forecast days setting.
Problem:
The assertion happens way too soon on Firefox. Which means that the calls are not given a proper grace period before being counted. There is a 1 second wait added in the screenshot above which is a temporary fix.
await page.waitForTimeout(1000)
Would be good to have something more robust like a network polling method similar to waitForIdleNetwork in
air-quality-ui\system_tests\utils\helper_methods.ts