add a french (encrypted) test
ClosedPublic

Authored by adamwill on Sep 12 2015, 1:53 AM.

Details

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.

Diff Detail

Repository
rOPENQATESTS os-autoinst-distri-fedora
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
adamwill retitled this revision from to add a french (encrypted) test.Sep 12 2015, 1:53 AM
adamwill updated this object.
adamwill edited the test plan for this revision. (Show Details)
adamwill added reviewers: jskladan, garretraziel.

Sorry I had to touch *all* the needles here, but ENV-INSTLANG-en_US just wasn't really useful - if we use locale names (like en_US) we need some kind of mapping from the locale name to the string you have to type into the anaconda search box ('english'), and that just seemed messy, it's much cleaner to use that string as the base for the tag name too. So since I had to touch them all anyway, turning INSTLANG into LANGUAGE seemed clearer and more likely to be what we 'really want' For The Future.

garretraziel accepted this revision.Sep 14 2015, 10:24 AM

Works with Beta TC5.

This revision is now accepted and ready to land.Sep 14 2015, 10:24 AM
This revision was automatically updated to reflect the committed changes.