Class: SystemTester::ClickOn

Inherits:
Action show all
Defined in:
app/models/system_tester/click_on.rb

Constant Summary

Constants inherited from Step

Step::INDENT

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Action

bg_css, #icon

Methods inherited from Step

#bg_css, bg_css, #commented_title, #friendly_type, leafs, #module, parent_type, #parent_type, parent_types, #text_css, text_css

Class Method Details

.argsObject



11
12
13
14
15
16
17
18
19
# File 'app/models/system_tester/click_on.rb', line 11

def self.args
  [
    {
      name: 'arg_one',
      label: 'Element',
      type: 'text'
    }
  ]
end

.friendly_typeObject



7
8
9
# File 'app/models/system_tester/click_on.rb', line 7

def self.friendly_type
  "Click"
end

Instance Method Details

#to_sObject



3
4
5
# File 'app/models/system_tester/click_on.rb', line 3

def to_s
  "#{super}#{INDENT}click_on \"#{arg_one}\"\n\n"
end