Skip to content

Commit d90446d

Browse files
Fix common/helper iOS test
1 parent 5042465 commit d90446d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ios_tests/lib/ios/specs/common/helper.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def uibutton_text
126126

127127
t 'find_ele_by_attr_include' do
128128
el_text = find_ele_by_attr_include('UIAStaticText', :name, 'button').text
129-
el_text.must_equal ''
129+
el_text.must_equal uibutton_text
130130

131131
el_name = find_ele_by_attr_include('UIAStaticText', :name, 'button').name
132132
el_name.must_equal uibutton_text
@@ -143,7 +143,7 @@ def uibutton_text
143143

144144
t 'last_ele' do
145145
el = last_ele('UIAStaticText')
146-
el.text.must_equal ''
146+
el.text.must_equal 'Transitions, Shows UIViewAnimationTransitions'
147147
el.name.must_equal 'Transitions, Shows UIViewAnimationTransitions'
148148
end
149149

0 commit comments

Comments
 (0)