ds-gui-automation 0.1.20 → 0.1.21

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.
@@ -10,6 +10,8 @@ Then(/^I should see the result clusters for the specified provider$/) do
10
10
 
11
11
  @browser.div(:class, 'ux-common-filter-body ng-scope').lis[1].click
12
12
 
13
+ DestinationServicesGUI::Results.wait_for_modal
14
+
13
15
  DestinationServicesGUI::Results.wait_for_results
14
16
 
15
17
  DestinationServicesGUI::Results.show_results_tracking_id
data/lib/ds/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module DestinationServicesGUI
2
- VERSION = "0.1.20"
2
+ VERSION = "0.1.21"
3
3
  end
@@ -37,5 +37,17 @@ module Commons
37
37
 
38
38
  end
39
39
 
40
+ def wait_for_modal
41
+
42
+ timeout = 0
43
+
44
+ while browser.div(:class, 'modal').visible? and timeout < 40
45
+ sleep 3
46
+ timeout += 3
47
+ end
48
+
49
+ end
50
+
51
+
40
52
 
41
53
  end
@@ -66,14 +66,9 @@ module Results
66
66
 
67
67
  while clusters.empty? and next_page?
68
68
 
69
- timeout = 0
70
-
71
69
  next_page
72
70
 
73
- while browser.div(:class, 'modal').visible? and timeout < 40
74
- sleep 3
75
- timeout += 3
76
- end
71
+ wait_for_modal
77
72
 
78
73
  wait_for_results
79
74
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ds-gui-automation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.20
4
+ version: 0.1.21
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: