1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 10:23:09 +00:00

fix desktop_browser: FAS is deprecated, use accounts.fedoraproject.org

This also requires a new needle for accounts.fedoraproject.org, as the webpage
is completely different now. The old needle for browser_fas_home is obsolete via
this change and can be removed
This commit is contained in:
Dan Čermák 2021-08-13 22:17:58 +02:00
parent 06d89172b0
commit 6cb0634edc
No known key found for this signature in database
GPG Key ID: 8F8C178E966641D3
5 changed files with 17 additions and 17 deletions

View File

@ -1,15 +0,0 @@
{
"area": [
{
"width": 295,
"ypos": 266,
"height": 13,
"xpos": 206,
"type": "match"
}
],
"properties": [],
"tags": [
"browser_fas_home"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"type": "match",
"width": 487,
"ypos": 483,
"height": 19,
"xpos": 42
}
],
"properties": [],
"tags": [
"browser_fas_home"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 KiB

View File

@ -41,8 +41,8 @@ sub run {
wait_still_screen(stilltime=>5, similarity_level=>45);
sleep 3;
# check FAS, typing slowly to avoid errors
type_very_safely "https://admin.fedoraproject.org/accounts/\n";
assert_screen "browser_fas_home";
type_very_safely "https://accounts.fedoraproject.org/\n";
assert_screen 'browser_fas_home';
_open_new_tab;
wait_still_screen(stilltime=>2, similarity_level=>45);
sleep 2;