ruby-mobile-appium-template 1.1.0 → 1.1.3
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 +29 -31
- data/templates/config/ios/appium.txt +18 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 365028a9e9bd7bf7b63b190b412d841f606931d50c7d5473f2a33d2534911e76
|
|
4
|
+
data.tar.gz: 53cf7480901ed3fe6e2e71465b8ae86ef5a9125ba0d6200ae8f3b9c38b526f94
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 19707f78c3520c994cc65f1b294bd58c42840918fa814d4d2b16e2d1f175d55ecd645cfcb0da4770c16b1eb032fe89d4c5907d8be733561eae161bea8d43d99c
|
|
7
|
+
data.tar.gz: e9cfbf6a763057f966269338f84830fccedc68d328cdfb89b3ecf5275a5c74159832212879a6a3692cf80e9944ff784b2e059b532394c11effc8fa1ac77ff3fe
|
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.3"
|
|
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
|
|
|
@@ -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
|
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.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Roger Fernandes
|
|
@@ -148,6 +148,7 @@ files:
|
|
|
148
148
|
- lib/ruby_appium.rb
|
|
149
149
|
- templates/Gemfile
|
|
150
150
|
- templates/Rakefile
|
|
151
|
+
- templates/config/ios/appium.txt
|
|
151
152
|
- templates/cucumber.yml
|
|
152
153
|
- templates/features/login/data/login.yaml
|
|
153
154
|
- templates/features/login/elements/screen_mappings_home.yaml
|