forked from mirrors/gecko-dev
Bug 1890059 - Add a tp7 desktop list for recordings. r=perftest-reviewers,sparky
This patch introduces an ongoing tp7 desktop site list for pageload testing. The following sites are added: `docomo`, `openai`, `samsung`, `tiktok`, `weather`. This is merely a preliminary set of samples which we may not even keep. This is more so preliminary work before focusing on tp7 mobile. Differential Revision: https://phabricator.services.mozilla.com/D206825
This commit is contained in:
parent
16afe30bae
commit
e9e4f382f4
2 changed files with 56 additions and 0 deletions
|
|
@ -20,6 +20,11 @@ next_site = None
|
|||
|
||||
RECORDING_LIST = Path(Path(__file__).parent, "pageload_sites.json")
|
||||
|
||||
# Uncomment this to record tp7 desktop sites in CI or locally.
|
||||
# This is still a WIP (Bug 1831310) and meant to be used by the
|
||||
# perftest team.
|
||||
# RECORDING_LIST = Path(Path(__file__).parent, "tp7_desktop_sites.json")
|
||||
|
||||
SCM_1_LOGIN_SITES = ("facebook", "netflix")
|
||||
|
||||
|
||||
|
|
|
|||
51
testing/performance/tp7_desktop_sites.json
Normal file
51
testing/performance/tp7_desktop_sites.json
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
{
|
||||
"desktop": [
|
||||
{
|
||||
"login": false,
|
||||
"name": "weather",
|
||||
"test_url": "https://weather.com/en-CA/weather/today/l/43.67%2C-79.42",
|
||||
"secondary_url": "https://weather.com/en-CA/weather/monthly/l/43.67%2C-79.42",
|
||||
"dismiss_cookie_prompt": [
|
||||
[
|
||||
"click.byXpathAndWait",
|
||||
"/html/body/div[1]/main/div[2]/main/div[10]/section/section/button/svg"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"login": false,
|
||||
"name": "samsung",
|
||||
"test_url": "https://www.samsung.com/us",
|
||||
"secondary_url": "https://www.samsung.com/us/mobile",
|
||||
"dismiss_cookie_prompt": [
|
||||
["click.byXpathAndWait", "/html/body/div[1]/header/div[2]/div/button"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"login": false,
|
||||
"_comment": "Bug 1890563, setup logins for openai and tiktok",
|
||||
"name": "openai",
|
||||
"test_url": "https://openai.com/",
|
||||
"secondary_url": "https://openai.com/blog"
|
||||
},
|
||||
{
|
||||
"login": false,
|
||||
"name": "docomo",
|
||||
"test_url": "https://www.docomo.ne.jp/",
|
||||
"secondary_url": "https://www.docomo.ne.jp/iphone/?icid=CRP_menu_to_CRP_IPH"
|
||||
},
|
||||
{
|
||||
"login": false,
|
||||
"name": "tiktok",
|
||||
"_comment": "Bug 1890563, setup logins for openai and tiktok",
|
||||
"test_url": "https://www.tiktok.com/en",
|
||||
"secondary_url": "https://www.tiktok.com/explore",
|
||||
"dismiss_cookie_prompt": [
|
||||
[
|
||||
"click.byXpathAndWait",
|
||||
"/html/body/div[5]/div[3]/div/div/div/div[1]/div/div/div[3]/div/div[2]/div/div/div"
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in a new issue