scoutui 2.0.3.45.pre → 2.0.3.46.pre

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cf2a6c8f7fed5394754a56afa37bee22ff74ba1a
4
- data.tar.gz: 66c65e7645d09382c04df78cd9cbb40cef269401
3
+ metadata.gz: c691428857271925fb5fea46cba6f9509b6f081b
4
+ data.tar.gz: c65ec3009234e04180a5990ab163c8c17d00ce23
5
5
  SHA512:
6
- metadata.gz: 0f4e0e6068158b6de68193d22a09ce266a47db99aa715722c98907b731d687f287c5b78f45bd94eb4f31ff3cc2dc031b3dbe0fa763d6f13c3de65283e36f3658
7
- data.tar.gz: 276d5a3c852bde0b4bcbfeeec33a5a3802b0c5432ca7fad57fa57be4541d867b7c3b14b04f71b7992edcf57a4ed502e1e4c494c3c7bc0c9bf00240e6c5235625
6
+ metadata.gz: 4fcf246e1cc2986cd76eb1a1364a14879b6058049a9bcf75db1f81565b7c9091df97f8dbd3afe09dc3a21d822b3968b0858311f91c17f33afd4ad7b766dc4056
7
+ data.tar.gz: 07aaa24292db0d6eb3d33a6bbeadaa678cf999a812cd0ca7e2f2a154dbf7f586838820322cc64a26e48ccf66875fb34c08818c3e74b58608f951dcdf31511bdf
@@ -840,7 +840,9 @@ module Scoutui::Base
840
840
  Scoutui::Commands::Utils.instance.resetTimeout(Scoutui::Utils::TestUtils.instance.getDefaultWait)
841
841
 
842
842
  _action = e[STEP_KEY]["action"]
843
- _name = e[STEP_KEY]["name"]
843
+
844
+ # _name = e[STEP_KEY]["name"]
845
+ _name = Scoutui::Base::UserVars.instance.normalize(e[STEP_KEY]["name"])
844
846
  _url = e[STEP_KEY]["url"]
845
847
  _skip = e[STEP_KEY]["skip"]
846
848
  _region = e[STEP_KEY]["region"]
@@ -7,7 +7,7 @@ module Scoutui::Commands
7
7
  def _then(pageElt)
8
8
  return if pageElt.nil?
9
9
 
10
- if !pageElt.nil? && pageElt['page'].has_key?('then')
10
+ if !pageElt.nil? && pageElt.has_key?('page') && pageElt['page'].has_key?('then')
11
11
  pageElt['page']['then'].each do |_subcmd|
12
12
  if _subcmd.is_a?(String)
13
13
 
@@ -158,7 +158,7 @@ module Scoutui::Commands
158
158
  break if !_retry
159
159
  end
160
160
 
161
- Scoutui::Logger::LogMgr.instance.debug + " clicked(#{_locator}): #{_clicked}"
161
+ Scoutui::Logger::LogMgr.instance.debug __FILE__ + (__LINE__).to_s + " clicked(#{_locator}): #{_clicked}"
162
162
 
163
163
  page_elt = Scoutui::Utils::TestUtils.instance.getPageElement(_locator)
164
164
 
@@ -21,20 +21,25 @@ module Scoutui::Commands
21
21
  url = baseUrl + url
22
22
  end
23
23
 
24
- url = Scoutui::Base::UserVars.instance.get(url)
25
24
 
26
- Scoutui::Logger::LogMgr.instance.commands.debug __FILE__ + (__LINE__).to_s + " | translate : #{url}" if Scoutui::Utils::TestUtils.instance.isDebug?
25
+ normUrl=Scoutui::Base::UserVars.instance.normalize(url)
26
+
27
+ # url = Scoutui::Base::UserVars.instance.get(url)
28
+ Scoutui::Logger::LogMgr.instance.debug __FILE__ + (__LINE__).to_s + " get(): #{normUrl}"
29
+
30
+
31
+ Scoutui::Logger::LogMgr.instance.commands.debug __FILE__ + (__LINE__).to_s + " | translate : #{normUrl}"
27
32
 
28
33
  _rc=false
29
34
  begin
30
35
  Scoutui::Logger::LogMgr.instance.debug __FILE__ + (__LINE__).to_s + " navigate.to(#{url})"
31
36
 
32
37
  _start=Time.now
33
- @drv.navigate.to(url)
38
+ @drv.navigate.to(normUrl)
34
39
  _stop=Time.now
35
40
  _duration=_stop - _start
36
41
 
37
- puts __FILE__ + (__LINE__).to_s + " Perf navigate to #{url} : #{_duration}"
42
+ puts __FILE__ + (__LINE__).to_s + " Perf navigate to #{normUrl} : #{_duration}"
38
43
  Scoutui::Logger::LogMgr.instance.debug __FILE__ + (__LINE__).to_s + " => title #{@drv.title.to_s}"
39
44
  _rc=true
40
45
  rescue => ex
@@ -290,6 +290,7 @@ module Scoutui::Utils
290
290
  Scoutui::Logger::LogMgr.instance.info "Password => #{@options[:password]}"
291
291
  Scoutui::Logger::LogMgr.instance.info "Role => #{@options[:role]}"
292
292
  Scoutui::Logger::LogMgr.instance.info "Eyes => #{@options[:enable_eyes]}"
293
+ Scoutui::Logger::LogMgr.instance.info "Eyes.Fullscreen => #{@options[:enable_fullscreen]}"
293
294
  Scoutui::Logger::LogMgr.instance.info "Test Cfg => #{@options[:json_config_file]}"
294
295
  Scoutui::Logger::LogMgr.instance.info "Match Level => #{@options[:match_level]}"
295
296
  Scoutui::Logger::LogMgr.instance.info "Accounts => #{@options[:accounts]}"
@@ -1,3 +1,3 @@
1
1
  module Scoutui
2
- VERSION = "2.0.3.45.pre"
2
+ VERSION = "2.0.3.46.pre"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scoutui
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3.45.pre
4
+ version: 2.0.3.46.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Kim
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-09-07 00:00:00.000000000 Z
11
+ date: 2016-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler