brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.09k stars 2.23k forks source link

add network audit test for search.brave.com #38682

Open diracdeltas opened 1 month ago

diracdeltas commented 1 month ago

Description

we should make the network audit test navigate to search.brave.com (or do a search query via NTP widget/omnibox) and make sure no unexpected requests are happening in that process. the search query should be guaranteed to trigger a search ad in order to test that case

Steps to reproduce

n/a

Actual result

n/a

Expected result

n/a

Reproduces how often

Easily reproduced

Brave version (brave://version info)

n/a

Channel information

Reproducibility

Miscellaneous information

No response

diracdeltas commented 1 month ago

@vadimstruts (or whoever is taking this) you will probably need to work with the search team to make sure whatever query we use for the test will be guaranteed to trigger an ad