mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-12 09:54:21 +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:
parent
06d89172b0
commit
6cb0634edc
@ -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 |
15
needles/browser/fas_home-20210813.json
Normal file
15
needles/browser/fas_home-20210813.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"type": "match",
|
||||
"width": 487,
|
||||
"ypos": 483,
|
||||
"height": 19,
|
||||
"xpos": 42
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"browser_fas_home"
|
||||
]
|
||||
}
|
BIN
needles/browser/fas_home-20210813.png
Normal file
BIN
needles/browser/fas_home-20210813.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 146 KiB |
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user