soda 1.4.3 → 1.4.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/SodaUtils.rb +6 -1
- data/lib/sodainfo.rb +1 -1
- metadata +4 -4
data/lib/SodaUtils.rb
CHANGED
@@ -839,7 +839,12 @@ def SodaUtils.WaitSugarAjaxDone(browser, reportobj)
|
|
839
839
|
reportobj.log("Calling: SugarWait.\n")
|
840
840
|
t1 = Time.now()
|
841
841
|
|
842
|
-
|
842
|
+
#We need to give the browser enough time to start its ajax requests
|
843
|
+
#This number can probably be lowered once tests start passing consistently
|
844
|
+
sleep(0.1)
|
845
|
+
|
846
|
+
#Maximum 15 second wait time
|
847
|
+
for i in 0..30
|
843
848
|
tmp = SodaUtils.execute_script(js, false, browser, reportobj)
|
844
849
|
|
845
850
|
case (tmp)
|
data/lib/sodainfo.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: soda
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 13
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 1.4.
|
9
|
+
- 5
|
10
|
+
version: 1.4.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Trampus Richmond
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-06-22 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: firewatir
|