mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-12-22 02:13:08 +00:00
Fix the Silverblue failure on new_file test.
This commit is contained in:
parent
49dac8d872
commit
4c03c0d814
@ -0,0 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"height": 23,
|
||||
"ypos": 121,
|
||||
"width": 98,
|
||||
"xpos": 856,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"gte_display_line_numbers"
|
||||
]
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 45 KiB |
15
needles/gnome/apps/gnome-text-editor/gte_file_saved.json
Normal file
15
needles/gnome/apps/gnome-text-editor/gte_file_saved.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 478,
|
||||
"ypos": 35,
|
||||
"width": 70,
|
||||
"height": 23,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"gte_file_saved"
|
||||
]
|
||||
}
|
BIN
needles/gnome/apps/gnome-text-editor/gte_file_saved.png
Normal file
BIN
needles/gnome/apps/gnome-text-editor/gte_file_saved.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 19 KiB |
@ -23,6 +23,7 @@ sub run {
|
||||
# Switch on Markdown Highlighting.
|
||||
assert_and_click("gte_settings_button");
|
||||
assert_and_click "gte_select_highlighting";
|
||||
wait_still_screen(2);
|
||||
type_very_safely "markdown";
|
||||
send_key "ret";
|
||||
assert_and_click("gte_window_dismiss");
|
||||
@ -36,9 +37,17 @@ sub run {
|
||||
wait_still_screen(3);
|
||||
type_very_safely "list.md";
|
||||
send_key("ret");
|
||||
assert_screen("gte_file_saved");
|
||||
# Check that the file has been created
|
||||
$self->root_console(tty => 3);
|
||||
assert_script_run "ls /home/test/list.md";
|
||||
# The test started to fail on Silverblue
|
||||
# because the target directory changed.
|
||||
if (get_var("SUBVARIANT") eq "Silverblue") {
|
||||
assert_script_run("ls /home/test/Documents/list.md");
|
||||
}
|
||||
else {
|
||||
assert_script_run("ls /home/test/list.md");
|
||||
}
|
||||
desktop_vt();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user