a11y tests: Clean up the placeholder-text test

This was relying on setting has-focus for initial focus.
This commit is contained in:
Matthias Clasen 2019-03-16 22:31:03 -04:00
parent fc2b412c0c
commit 898728fb2d

View File

@ -6,36 +6,20 @@
<property name="type">popup</property>
<child>
<object class="GtkBox" id="box1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkEntry" id="entry1">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="invisible_char">●</property>
<property name="invisible_char_set">True</property>
<property name="placeholder_text">Subject or Addresses contain</property>
</object>
</child>
<child>
<object class="GtkEntry" id="entry2">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="invisible_char">●</property>
<property name="text" translatable="yes">Some text</property>
<property name="invisible_char_set">True</property>
<property name="placeholder_text">Message contains</property>
</object>
</child>
<child>
<object class="GtkEntry" id="entry3">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="has_focus">True</property>
<property name="is_focus">True</property>
<property name="invisible_char">●</property>
<property name="invisible_char_set">True</property>
<property name="placeholder_text">Body contains</property>
</object>
</child>