Sha256: a0fe1f7e3f4785e982e82bedcfc6cdb7ba32cfb76330912465bc83dc8aeece63
Contents?: true
Size: 698 Bytes
Versions: 8
Compression:
Stored size: 698 Bytes
Contents
# frozen_string_literal: true require_relative '../generator' class AutomationGenerator < Generator def generate_abstract_page template('abstract_page.tt', "#{name}/page_objects/abstract/abstract_page.rb") end def generate_abstract_component return if mobile_platform? return if visual_selected? template('abstract_component.tt', "#{name}/page_objects/abstract/abstract_component.rb") end def generate_appium_settings return unless mobile_platform? template('appium_caps.tt', "#{name}/config/capabilities.yml") end def generate_visual_options return unless visual_selected? template('visual_options.tt', "#{name}/config/options.yml") end end
Version data entries
8 entries across 8 versions & 1 rubygems