ruby-mobile-appium-template 1.1.2 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ruby_appium.rb +21 -22
- data/templates/.gitignore +256 -0
- data/templates/config/android/appium.txt +18 -0
- data/templates/config/android/appium_farm.txt +21 -0
- data/templates/config/ios/appium.txt +18 -0
- data/templates/config/ios/appium_farm.txt +17 -0
- metadata +6 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 11e628effaeb78d8485906e49f874e73d59817255f2190e92e65d3ff33451fd8
|
4
|
+
data.tar.gz: f3918613938670bd4109b7a85ca1e53d506921dc03a27e5ff32dbc00fa419c52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6fc3d27de6b3d8e175559f451cd351b94b4052930a93426e036bd1ddcea211a3a1926a81a447935c63d0553655c34528b3441cd3ed7bf2e322589d5e57c04b69
|
7
|
+
data.tar.gz: 2fc6836a1ab53f67363b5df9201a1e43c471963ca0503633bd60a436c56c746dc0bcb219beb20bcc5571d7fa63cc139603ad789b447153e69bf7ce4c2f6bc00d
|
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.5"
|
9
9
|
|
10
10
|
argument :dir_name
|
11
11
|
|
@@ -60,47 +60,47 @@ class RubyAppium < Thor::Group
|
|
60
60
|
|
61
61
|
def create_files
|
62
62
|
inside "config/ios" do
|
63
|
-
template "
|
64
|
-
template "
|
63
|
+
template "appium.txt"
|
64
|
+
template "appium_farm.txt"
|
65
65
|
end
|
66
66
|
|
67
67
|
inside "config/android" do
|
68
|
-
template "
|
69
|
-
template "
|
68
|
+
template "appium.txt"
|
69
|
+
template "appium_farm.txt"
|
70
70
|
end
|
71
71
|
|
72
72
|
inside "features/support" do
|
73
|
-
template "
|
74
|
-
template "
|
75
|
-
template "
|
76
|
-
template "
|
73
|
+
template "env.rb"
|
74
|
+
template "hooks.rb"
|
75
|
+
template "utils.rb"
|
76
|
+
template "appium_custom.rb"
|
77
77
|
end
|
78
78
|
|
79
79
|
inside "features/login/features" do
|
80
|
-
template "
|
80
|
+
template "login.feature"
|
81
81
|
end
|
82
82
|
|
83
83
|
inside "features/login/data" do
|
84
|
-
template "
|
84
|
+
template "login.yaml"
|
85
85
|
end
|
86
86
|
|
87
87
|
inside "features/login/elements" do
|
88
|
-
template "
|
89
|
-
template "
|
90
|
-
template "
|
91
|
-
template "
|
88
|
+
template "screen_mappings_home.yaml"
|
89
|
+
template "screen_mappings_login.yaml"
|
90
|
+
template "screen_mappings_organizadorhome.yaml"
|
91
|
+
template "screen_mappings_token.yaml"
|
92
92
|
end
|
93
93
|
|
94
94
|
inside "features/login/pageobjects" do
|
95
|
-
template "
|
96
|
-
template "
|
97
|
-
template "
|
98
|
-
template "
|
99
|
-
template "
|
95
|
+
template "home.rb"
|
96
|
+
template "login.rb"
|
97
|
+
template "loginPages.rb"
|
98
|
+
template "organizadorHome.rb"
|
99
|
+
template "token.rb"
|
100
100
|
end
|
101
101
|
|
102
102
|
inside "features/login/steps" do
|
103
|
-
template "
|
103
|
+
template "login_steps.rb"
|
104
104
|
end
|
105
105
|
end
|
106
106
|
|
@@ -109,7 +109,6 @@ class RubyAppium < Thor::Group
|
|
109
109
|
template "Gemfile"
|
110
110
|
template "Rakefile"
|
111
111
|
template "cucumber.yml"
|
112
|
-
template "appium.txt"
|
113
112
|
end
|
114
113
|
end
|
115
114
|
|
@@ -0,0 +1,256 @@
|
|
1
|
+
##############################JAZZIGNORE#################################
|
2
|
+
.jazzignore
|
3
|
+
|
4
|
+
##############################IDE ECLIPSE################################
|
5
|
+
.metadata
|
6
|
+
tmp/
|
7
|
+
*.tmp
|
8
|
+
*.bak
|
9
|
+
*.swp
|
10
|
+
*~.nib
|
11
|
+
local.properties
|
12
|
+
.settings/
|
13
|
+
.loadpath
|
14
|
+
.recommenders
|
15
|
+
|
16
|
+
# External tool builders
|
17
|
+
.externalToolBuilders/
|
18
|
+
|
19
|
+
# Locally stored "Eclipse launch configurations"
|
20
|
+
*.launch
|
21
|
+
|
22
|
+
# PyDev specific (Python IDE for Eclipse)
|
23
|
+
*.pydevproject
|
24
|
+
|
25
|
+
# CDT-specific (C/C++ Development Tooling)
|
26
|
+
.cproject
|
27
|
+
|
28
|
+
# CDT- autotools
|
29
|
+
.autotools
|
30
|
+
|
31
|
+
# Java annotation processor (APT)
|
32
|
+
.factorypath
|
33
|
+
|
34
|
+
# PDT-specific (PHP Development Tools)
|
35
|
+
.buildpath
|
36
|
+
|
37
|
+
# sbteclipse plugin
|
38
|
+
.target
|
39
|
+
|
40
|
+
# Tern plugin
|
41
|
+
.tern-project
|
42
|
+
|
43
|
+
# TeXlipse plugin
|
44
|
+
.texlipse
|
45
|
+
|
46
|
+
# STS (Spring Tool Suite)
|
47
|
+
.springBeans
|
48
|
+
|
49
|
+
# Code Recommenders
|
50
|
+
.recommenders/
|
51
|
+
|
52
|
+
# Scala IDE specific (Scala & Java development for Eclipse)
|
53
|
+
.cache-main
|
54
|
+
.scala_dependencies
|
55
|
+
.worksheet
|
56
|
+
|
57
|
+
|
58
|
+
##############################IDE JETBRAINS################################
|
59
|
+
|
60
|
+
# User-specific stuff:
|
61
|
+
.idea/**/workspace.xml
|
62
|
+
.idea/**/tasks.xml
|
63
|
+
.idea/dictionaries
|
64
|
+
|
65
|
+
# Sensitive or high-churn files:
|
66
|
+
.idea/**/dataSources/
|
67
|
+
.idea/**/dataSources.ids
|
68
|
+
.idea/**/dataSources.xml
|
69
|
+
.idea/**/dataSources.local.xml
|
70
|
+
.idea/**/sqlDataSources.xml
|
71
|
+
.idea/**/dynamic.xml
|
72
|
+
.idea/**/uiDesigner.xml
|
73
|
+
|
74
|
+
# Gradle:
|
75
|
+
.idea/**/gradle.xml
|
76
|
+
.idea/**/libraries
|
77
|
+
|
78
|
+
# CMake
|
79
|
+
cmake-build-debug/
|
80
|
+
cmake-build-release/
|
81
|
+
|
82
|
+
# Mongo Explorer plugin:
|
83
|
+
.idea/**/mongoSettings.xml
|
84
|
+
|
85
|
+
## File-based project format:
|
86
|
+
*.iws
|
87
|
+
|
88
|
+
## Plugin-specific files:
|
89
|
+
|
90
|
+
# IntelliJ
|
91
|
+
out/
|
92
|
+
|
93
|
+
# mpeltonen/sbt-idea plugin
|
94
|
+
.idea_modules/
|
95
|
+
|
96
|
+
# JIRA plugin
|
97
|
+
atlassian-ide-plugin.xml
|
98
|
+
|
99
|
+
# Cursive Clojure plugin
|
100
|
+
.idea/replstate.xml
|
101
|
+
|
102
|
+
# Crashlytics plugin (for Android Studio and IntelliJ)
|
103
|
+
com_crashlytics_export_strings.xml
|
104
|
+
crashlytics.properties
|
105
|
+
crashlytics-build.properties
|
106
|
+
fabric.properties
|
107
|
+
|
108
|
+
##############################VISUAL STUDIO CODE################################
|
109
|
+
|
110
|
+
.vscode/*
|
111
|
+
!.vscode/settings.json
|
112
|
+
!.vscode/tasks.json
|
113
|
+
!.vscode/launch.json
|
114
|
+
!.vscode/extensions.json
|
115
|
+
|
116
|
+
##############################SUBLIME############################################
|
117
|
+
|
118
|
+
# Cache files for Sublime Text
|
119
|
+
*.tmlanguage.cache
|
120
|
+
*.tmPreferences.cache
|
121
|
+
*.stTheme.cache
|
122
|
+
|
123
|
+
# Workspace files are user-specific
|
124
|
+
*.sublime-workspace
|
125
|
+
|
126
|
+
# Project files should be checked into the repository, unless a significant
|
127
|
+
# proportion of contributors will probably not be using Sublime Text
|
128
|
+
# *.sublime-project
|
129
|
+
|
130
|
+
# SFTP configuration file
|
131
|
+
sftp-config.json
|
132
|
+
|
133
|
+
# Package control specific files
|
134
|
+
Package Control.last-run
|
135
|
+
Package Control.ca-list
|
136
|
+
Package Control.ca-bundle
|
137
|
+
Package Control.system-ca-bundle
|
138
|
+
Package Control.cache/
|
139
|
+
Package Control.ca-certs/
|
140
|
+
Package Control.merged-ca-bundle
|
141
|
+
Package Control.user-ca-bundle
|
142
|
+
oscrypto-ca-bundle.crt
|
143
|
+
bh_unicode_properties.cache
|
144
|
+
|
145
|
+
#################################WINDOWS#########################################
|
146
|
+
|
147
|
+
# Windows thumbnail cache files
|
148
|
+
Thumbs.db
|
149
|
+
ehthumbs.db
|
150
|
+
ehthumbs_vista.db
|
151
|
+
|
152
|
+
# Dump file
|
153
|
+
*.stackdump
|
154
|
+
|
155
|
+
# Folder config file
|
156
|
+
[Dd]esktop.ini
|
157
|
+
|
158
|
+
# Recycle Bin used on file shares
|
159
|
+
$RECYCLE.BIN/
|
160
|
+
|
161
|
+
# Windows Installer files
|
162
|
+
*.cab
|
163
|
+
*.msi
|
164
|
+
*.msm
|
165
|
+
*.msp
|
166
|
+
|
167
|
+
# Windows shortcuts
|
168
|
+
*.lnk
|
169
|
+
|
170
|
+
#################################LINUX#########################################
|
171
|
+
|
172
|
+
*~
|
173
|
+
|
174
|
+
# temporary files which can be created if a process still has a handle open of a deleted file
|
175
|
+
.fuse_hidden*
|
176
|
+
|
177
|
+
# KDE directory preferences
|
178
|
+
.directory
|
179
|
+
|
180
|
+
# Linux trash folder which might appear on any partition or disk
|
181
|
+
.Trash-*
|
182
|
+
|
183
|
+
# .nfs files are created when an open file is removed but is still being accessed
|
184
|
+
.nfs*
|
185
|
+
|
186
|
+
#################################MACOS#########################################
|
187
|
+
# General
|
188
|
+
.DS_Store
|
189
|
+
.AppleDouble
|
190
|
+
.LSOverride
|
191
|
+
|
192
|
+
# Thumbnails
|
193
|
+
._*
|
194
|
+
|
195
|
+
# Files that might appear in the root of a volume
|
196
|
+
.DocumentRevisions-V100
|
197
|
+
.fseventsd
|
198
|
+
.Spotlight-V100
|
199
|
+
.TemporaryItems
|
200
|
+
.Trashes
|
201
|
+
.VolumeIcon.icns
|
202
|
+
.com.apple.timemachine.donotpresent
|
203
|
+
|
204
|
+
# Directories potentially created on remote AFP share
|
205
|
+
.AppleDB
|
206
|
+
.AppleDesktop
|
207
|
+
Network Trash Folder
|
208
|
+
Temporary Items
|
209
|
+
.apdisk
|
210
|
+
|
211
|
+
*/target/*
|
212
|
+
target
|
213
|
+
docker/*.jar
|
214
|
+
|
215
|
+
*/.idea/*
|
216
|
+
*.iml
|
217
|
+
|
218
|
+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
|
219
|
+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
220
|
+
|
221
|
+
# User-specific stuff
|
222
|
+
.idea/**/usage.statistics.xml
|
223
|
+
.idea/**/dictionaries
|
224
|
+
.idea/**/shelf
|
225
|
+
|
226
|
+
# Generated files
|
227
|
+
.idea/**/contentModel.xml
|
228
|
+
|
229
|
+
# Gradle and Maven with auto-import
|
230
|
+
# When using Gradle or Maven with auto-import, you should exclude module files,
|
231
|
+
# since they will be recreated, and may cause churn. Uncomment if using
|
232
|
+
# auto-import.
|
233
|
+
# .idea/artifacts
|
234
|
+
# .idea/compiler.xml
|
235
|
+
# .idea/jarRepositories.xml
|
236
|
+
# .idea/modules.xml
|
237
|
+
# .idea/*.iml
|
238
|
+
# .idea/modules
|
239
|
+
# *.iml
|
240
|
+
# *.ipr
|
241
|
+
|
242
|
+
# CMake
|
243
|
+
cmake-build-*/
|
244
|
+
|
245
|
+
# Editor-based Rest Client
|
246
|
+
.idea/httpRequests
|
247
|
+
|
248
|
+
# Android studio 3.1+ serialized cache file
|
249
|
+
.idea
|
250
|
+
|
251
|
+
# Arquivos de execução
|
252
|
+
/allure-results
|
253
|
+
/allure-report/
|
254
|
+
/exec-logs
|
255
|
+
/app
|
256
|
+
Gemfile.lock
|
@@ -0,0 +1,18 @@
|
|
1
|
+
[caps]
|
2
|
+
automationName="UiAutomator2"
|
3
|
+
platformName = "Android"
|
4
|
+
|
5
|
+
#deviceName = "emulator-5554"
|
6
|
+
app = "./app/android/app-debug.apk"
|
7
|
+
avd = "Pixel_2_API_30"
|
8
|
+
|
9
|
+
appPackage = ""
|
10
|
+
appActivity = ""
|
11
|
+
|
12
|
+
newCommandTimeout = 3600
|
13
|
+
autoGrantPermissions = true
|
14
|
+
|
15
|
+
[appium_lib]
|
16
|
+
wait = 20
|
17
|
+
debug = true
|
18
|
+
export_session = true
|
@@ -0,0 +1,21 @@
|
|
1
|
+
[caps]
|
2
|
+
platformName = "Android"
|
3
|
+
automationName ="UiAutomator2"
|
4
|
+
|
5
|
+
# Device Farm
|
6
|
+
|
7
|
+
tenantId = "999999999"
|
8
|
+
udid = "520348e2596bb38f"
|
9
|
+
server_url = ""
|
10
|
+
appPackage = ""
|
11
|
+
appActivity = ""
|
12
|
+
mcWorkspaceName = ""
|
13
|
+
|
14
|
+
autoGrantPermissions = true
|
15
|
+
newCommandTimeout = 3600
|
16
|
+
|
17
|
+
[appium_lib]
|
18
|
+
wait = 20
|
19
|
+
debug = true
|
20
|
+
export_session = true
|
21
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
[caps]
|
2
|
+
automationName = "XCUITest"
|
3
|
+
platformName = "iOS"
|
4
|
+
|
5
|
+
deviceName = "iPhone 11"
|
6
|
+
platformVersion = "13.2"
|
7
|
+
|
8
|
+
deviceName = "moto g(7) play"
|
9
|
+
app = "./app/ios/Runner.app"
|
10
|
+
udid = "54A4C77B-6E4C-46B8-883E-2BF7EA2B2F63"
|
11
|
+
|
12
|
+
autoAcceptAlerts = true
|
13
|
+
autoGrantPermissions = true
|
14
|
+
|
15
|
+
[appium_lib]
|
16
|
+
wait = 20
|
17
|
+
debug = false
|
18
|
+
export_session = true
|
@@ -0,0 +1,17 @@
|
|
1
|
+
[caps]
|
2
|
+
automationName = "XCUITest"
|
3
|
+
platformName = "iOS"
|
4
|
+
|
5
|
+
# Device Farm
|
6
|
+
server_url = ""
|
7
|
+
tenantId = "999999999"
|
8
|
+
udid = "ca3a1864dcf5fe2f79b2ec43765096820f604254"
|
9
|
+
bundleId = ""
|
10
|
+
|
11
|
+
autoAcceptAlerts = true
|
12
|
+
autoGrantPermissions = true
|
13
|
+
|
14
|
+
[appium_lib]
|
15
|
+
wait = 20
|
16
|
+
debug = false
|
17
|
+
export_session = true
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-mobile-appium-template
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roger Fernandes
|
@@ -146,8 +146,13 @@ extra_rdoc_files: []
|
|
146
146
|
files:
|
147
147
|
- bin/ruby-mobile-appium-template
|
148
148
|
- lib/ruby_appium.rb
|
149
|
+
- templates/.gitignore
|
149
150
|
- templates/Gemfile
|
150
151
|
- templates/Rakefile
|
152
|
+
- templates/config/android/appium.txt
|
153
|
+
- templates/config/android/appium_farm.txt
|
154
|
+
- templates/config/ios/appium.txt
|
155
|
+
- templates/config/ios/appium_farm.txt
|
151
156
|
- templates/cucumber.yml
|
152
157
|
- templates/features/login/data/login.yaml
|
153
158
|
- templates/features/login/elements/screen_mappings_home.yaml
|