lib/appium_lib/ios/xcuitest/helper.rb in appium_lib-11.0.0 vs lib/appium_lib/ios/xcuitest/helper.rb in appium_lib-11.1.0
- old
+ new
@@ -72,10 +72,10 @@
return unless class_names.is_a? Array
c_names = class_names.map { |class_name| %(type == "#{class_name}") }.join(' || ')
predicate = if value
- %((#{c_names}) && (name contains[c] "#{value}" || label contains[c] "#{value}" || value contains[c] "#{value}")) # rubocop:disable Metrics/LineLength
+ %((#{c_names}) && (name contains[c] "#{value}" || label contains[c] "#{value}" || value contains[c] "#{value}")) # rubocop:disable Layout/LineLength
else
c_names
end
elements = @driver.find_elements :predicate, predicate