ruby-mobile-appium-template 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/ruby_appium.rb +30 -31
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d94362babb8b06c6fbc979a2214bf8ff299531b6f9720ce7bf1f1c192db7d87
|
4
|
+
data.tar.gz: c6b84ede61361825ab61e9e3810f3e465f601b0ad5e3e7be839b46110c6ca94c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c2df95310169ee95b40479c3f9acc829f7126ec207eb3792416393c4e3ed3cdd1e8e4d150bf5d3c58783a3603068a4250ad2ab7468f04322b789fe3f3101eaf
|
7
|
+
data.tar.gz: 235e3de849709d0d752f3b73fba66308202eaaaf113ceedd7b6b2d98beeb5a1890ea8646bc611facd41c655dd52a2bf681f703abbc4029ffea053754acfd4890
|
data/lib/ruby_appium.rb
CHANGED
@@ -5,7 +5,7 @@ require "fileutils"
|
|
5
5
|
class RubyAppium < Thor::Group
|
6
6
|
include Thor::Actions
|
7
7
|
|
8
|
-
VERSION = "1.1.
|
8
|
+
VERSION = "1.1.1"
|
9
9
|
|
10
10
|
argument :dir_name
|
11
11
|
|
@@ -16,8 +16,6 @@ class RubyAppium < Thor::Group
|
|
16
16
|
|
17
17
|
def create_new_cucumber_directory
|
18
18
|
self.destination_root = File.expand_path(dir_name)
|
19
|
-
puts destination_root
|
20
|
-
puts self.destination_root
|
21
19
|
make_empty_directory
|
22
20
|
FileUtils.cd(destination_root)
|
23
21
|
gemfile_rakefile_cukeyml
|
@@ -61,48 +59,48 @@ class RubyAppium < Thor::Group
|
|
61
59
|
end
|
62
60
|
|
63
61
|
def create_files
|
64
|
-
inside "
|
65
|
-
template "
|
66
|
-
template "
|
62
|
+
inside "config/ios" do
|
63
|
+
template "config/ios/appium.txt", "appium.txt"
|
64
|
+
template "config/ios/appium_farm.txt", "appium_farm.txt"
|
67
65
|
end
|
68
66
|
|
69
|
-
inside "
|
70
|
-
template "
|
71
|
-
template "
|
67
|
+
inside "config/android" do
|
68
|
+
template "config/android/appium.txt", "appium.txt"
|
69
|
+
template "config/android/appium_farm.txt", "appium_farm.txt"
|
72
70
|
end
|
73
71
|
|
74
|
-
inside "
|
75
|
-
template "
|
76
|
-
template "
|
77
|
-
template "
|
78
|
-
template "
|
72
|
+
inside "features/support" do
|
73
|
+
template "features/support/env.rb", "env.rb"
|
74
|
+
template "features/support/hooks.rb", "hooks.rb"
|
75
|
+
template "eatures/support/utils.rb", "utils.rb"
|
76
|
+
template "features/support/appium_custom.rb", "appium_custom.rb"
|
79
77
|
end
|
80
78
|
|
81
|
-
inside "
|
82
|
-
template "
|
79
|
+
inside "features/login/features" do
|
80
|
+
template "eatures/login/features/login.feature", "login.feature"
|
83
81
|
end
|
84
82
|
|
85
|
-
inside "
|
86
|
-
template "
|
83
|
+
inside "features/login/data" do
|
84
|
+
template "features/login/data/login.yaml","data/login.yaml"
|
87
85
|
end
|
88
86
|
|
89
|
-
inside "
|
90
|
-
template "
|
91
|
-
template "
|
92
|
-
template "
|
93
|
-
template "
|
87
|
+
inside "features/login/elements" do
|
88
|
+
template "features/login/elements/screen_mappings_home.yaml","screen_mappings_home.yaml"
|
89
|
+
template "features/login/elements/screen_mappings_login.yaml","screen_mappings_login.yaml"
|
90
|
+
template "features/login/elements/screen_mappings_organizadorhome.yaml","screen_mappings_organizadorhome.yaml"
|
91
|
+
template "features/login/elements/screen_mappings_token.yaml","screen_mappings_token.yaml"
|
94
92
|
end
|
95
93
|
|
96
|
-
inside "
|
97
|
-
template "
|
98
|
-
template "
|
99
|
-
template "
|
100
|
-
template "
|
101
|
-
template "
|
94
|
+
inside "features/login/pageobjects" do
|
95
|
+
template "features/login/pageobjects/home.rb","home.rb"
|
96
|
+
template "features/login/pageobjects/login.rb","login.rb"
|
97
|
+
template "features/login/pageobjects/loginPages.rb","loginPages.rb"
|
98
|
+
template "features/login/pageobjects/organizadorHome.rb","organizadorHome.rb"
|
99
|
+
template "features/login/pageobjects/token.rb","token.rb"
|
102
100
|
end
|
103
101
|
|
104
|
-
inside "
|
105
|
-
template "
|
102
|
+
inside "features/login/steps" do
|
103
|
+
template "features/login/steps/login_steps.rb","login_steps.rb"
|
106
104
|
end
|
107
105
|
end
|
108
106
|
|
@@ -111,6 +109,7 @@ class RubyAppium < Thor::Group
|
|
111
109
|
template "Gemfile"
|
112
110
|
template "Rakefile"
|
113
111
|
template "cucumber.yml"
|
112
|
+
template "appium.txt", "config/ios/appium.txt"
|
114
113
|
end
|
115
114
|
end
|
116
115
|
|