mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-12-22 02:13:08 +00:00
Use type_very_safely through gnome-text-editor tests
This will make them slower, but lately type_safely is just not reliable, particularly in the new_file test, it's constantly typoing. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
b71046eac0
commit
ba6a2c508a
@ -16,7 +16,7 @@ sub run {
|
||||
# Invoke the Find dialogue
|
||||
send_key "ctrl-f";
|
||||
# Type string
|
||||
type_safely "sweetest";
|
||||
type_very_safely "sweetest";
|
||||
# Confirm
|
||||
send_key "ret";
|
||||
sleep 2;
|
||||
@ -35,7 +35,7 @@ sub run {
|
||||
send_key "ctrl-h";
|
||||
sleep 1;
|
||||
# Type string.
|
||||
type_safely "Gale";
|
||||
type_very_safely "Gale";
|
||||
# Click to get onto the replace line.
|
||||
assert_and_click("gte_replace_line");
|
||||
# Delete, what is typed there
|
||||
@ -43,7 +43,7 @@ sub run {
|
||||
sleep 1;
|
||||
send_key("delete");
|
||||
# Type replacement string. We purposefully produce a typo.
|
||||
type_safely "Wiend";
|
||||
type_very_safely "Wiend";
|
||||
# Click to find the string
|
||||
assert_and_click "gte_find_next_occurence";
|
||||
# and replace it.
|
||||
|
@ -16,9 +16,9 @@ sub run {
|
||||
assert_screen "gte_new_document_opened";
|
||||
|
||||
# Now let us produce some text
|
||||
type_safely "# My shopping list.\n\n";
|
||||
type_safely "* **Milk**\n* *Apples*\n* `Bananas`\n* Bread\n* Butter\n* Cheese\n\n";
|
||||
type_safely "Happy shopping.";
|
||||
type_very_safely "# My shopping list.\n\n";
|
||||
type_very_safely "* **Milk**\n* *Apples*\n* `Bananas`\n* Bread\n* Butter\n* Cheese\n\n";
|
||||
type_very_safely "Happy shopping.";
|
||||
|
||||
# Switch on Markdown Highlighting.
|
||||
assert_and_click("gte_settings_button");
|
||||
|
Loading…
Reference in New Issue
Block a user