1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-24 23:03:08 +00:00
os-autoinst-distri-fedora/needles/anaconda_part_list_box_swap.json

18 lines
312 B
JSON
Raw Normal View History

re-do most anaconda screenshots for 96dpi Summary: Most of the anaconda screenshots were taken with older netinst images, at 96.09dpi. Workstation lives use 96dpi exactly. This led to some needles failing on the Workstation live as fonts render slightly differently at 96 and 96.09dpi. LONG STORY SHORT, we got a change in GTK+ which means traditional install images now use 96dpi exactly too; so we should be consistent between lives and trad images now, but we need to retake all the screenshots taken at 96.09dpi. That's what this is. I also cleaned up a couple of other things. The anaconda_error needle was effectively a duplicate of anaconda_report_btn. Neither is actually used atm, but I kept report_btn in case we use it in future. anaconda_main_hub_installdest_selected isn't needed any more, since my tweaks to the matching in anaconda_main_hub_nonlive; it will now match the case this needle was created for initially. anaconda_software_select_box is no longer used by any test. The software selection tests were changed to use key sequences and dropped their use of this needle, but the needle wasn't removed. anaconda_select_install_lang_english_filtered_english_selected_ as_default was never really necessary, the situation it's meant for can be handled by simply adding the anaconda_select_install_ lang_english_filtered tag to the anaconda_select_install_lang_ english_selected needle (as this commit does). That achieves the needed effect and doesn't break the case where the UI is in Czech. Most of the match area changes are just because the layout changed a bit since the screenshot was taken. I did reduce some over-precision in some needles, notably the multi-disk needles - there is no reason we need to match on the disk descriptions and sizes when we're just selecting the appropriate disks. We aren't testing anaconda's description of the disks (which may change unexpectedly), only that it *works* with the disk types used in the test. After this commit a little under half of the tests pass with the 23 Branched 20150717 nightly. Most of the ones that fail fail because of the anaconda tty2 bug (there's no console on tty2) or the selinux bug (#1243168) that prevents console login post-install with SELinux enabled. There are a few other fails too, but none of them seems to be caused by a needle mismatch, so I'll investigate and fix them separately. Test Plan: Run the full test suite on a current nightly, see that some tests actually pass now! Reviewers: jskladan, garretraziel Reviewed By: garretraziel Subscribers: tflink Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D456
2015-07-20 16:10:37 +00:00
{
"area": [
{
"height": 24,
"type": "match",
"width": 91,
"xpos": 472,
"ypos": 528
}
],
"properties": [],
"tags": [
"anaconda_part_list_box_swap",
"ENV-DISTRI-fedora",
"ENV-FLAVOR-server"
]
add a french (encrypted) test Summary: this handles Non-English European Language Install. Basically it's a bunch of new screenshots for existing tag names, plus a bit of configurability in _boot_to_anaconda and tweaking some existing needles to do non-text matches. The weird 'half-the- icon' needles are for cases where there may or may not be a warning triangle but we want to click it either way (saves duplicating the needle). This also sets up a convention for tagging what languages a needle is appropriate for. If it's specifically appropriate for one or more languages, a tag ENV-LANGUAGE-(LANGUAGE) should be applied for each language, where (LANGUAGE) is the install language in upper-case ('LANGUAGE' variable, which should also be the string that will be typed into the language selection screen). If the needle ought to be used for *all* languages - i.e. it's not a text match, or any text in the match is known not to be translated - the tag ENV-INSTLANG-ALL should be applied. To back this, main.pm now unregisters all needles that are not tagged with either ENV-LANGUAGE-ALL or the tag for the language actually being used (if the LANGUAGE var is not set, we assume english). The point of this is to check the install is actually translated; if we allow all needles to match, the test would pass even if no translations appeared at all. Test Plan: Run all tests and make sure you get the expected results. You can schedule a run against 23 Beta TC1 to see the French test fails 'correctly' when translations are missing. Reviewers: jskladan, garretraziel Reviewed By: garretraziel Subscribers: tflink Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D577
2015-09-15 01:08:58 +00:00
}