lib/generators/automation/templates/abstract_page.tt in ruby_raider-0.7.4 vs lib/generators/automation/templates/abstract_page.tt in ruby_raider-0.7.5
- old
+ new
@@ -1,4 +1,8 @@
+<%- if automation == 'cross_platform' -%>
+require_relative '../../helpers/appium_helper'
+<% end -%>
+
class AbstractPage
<% if automation == 'cross_platform' -%>
include AppiumHelper
<% end -%>
<%= ERB.new(File.read(File.expand_path('./partials/initialize_selector.tt', __dir__))).result(binding) -%>