Handle 'non-ASCII in password' warning for Russian installs
ClosedPublic

Authored by adamwill on Jan 17 2017, 2:35 AM.

Details

Summary

Since 26.17, anaconda shows a warning when the user password
contains non-ASCII characters, and requires a second Done click
to confirm. This change should handle that.

On the 'catch cases where password typing went wrong and re-try'
bit: to keep that, but not re-type the password *every single
time* on the Russian install test, we'd have to make the needle
match the text of the warning. This is problematic because then
that needle will be able to break without us easily noticing;
that's why I wanted to keep the 'warning bar' needle text-free.
Unfortunately, that means we have to skip the protection for
switched-layout installs.

Note the protection was actually not working for any non-English
install anyhow, because the needle had LANGUAGE-english as a
tag. We never noticed that. Failed password typing is pretty
rare now, so we can live without the protection - it's just nice
to have it for the English install tests because there's so many
of them.

Test Plan

Run the Russian install with a recent Rawhide image,
check it clicks 'Done' twice. Note, it will still fail, because
of RHBZ #1413813.

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 Handle 'non-ASCII in password' warning for Russian installs.Jan 17 2017, 2:35 AM
adamwill updated this object.
adamwill edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Jan 17 2017, 11:35 AM
This revision was automatically updated to reflect the committed changes.