Bug 1485384 - Fix typo in open_allowCallsWhileClosed. r=me, a=test-only FENNEC_62_0_BUILD1
authorJim Chen <nchen@mozilla.com>
Fri, 24 Aug 2018 10:19:15 -0400
changeset 481086 3fb2f384f01d46ea508030854fecf07e7e67d15a
parent 481085 bd7210a8ef875975e9942d7d2c8daa85a8e00e24
child 481087 a6746c8879b72059bdbc1286b1fb1f7f21d0422d
push id1763
push userryanvm@gmail.com
push dateTue, 28 Aug 2018 13:59:31 +0000
treeherdermozilla-release@3fb2f384f01d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme, test-only
bugs1485384
milestone62.0
Bug 1485384 - Fix typo in open_allowCallsWhileClosed. r=me, a=test-only
mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/SessionLifecycleTest.kt
--- a/mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/SessionLifecycleTest.kt
+++ b/mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/SessionLifecycleTest.kt
@@ -42,17 +42,17 @@ class SessionLifecycleTest : BaseSession
         }
         sessionRule.session.reload()
         sessionRule.session.waitForPageStop()
     }
 
     @Test fun open_allowCallsWhileClosed() {
         sessionRule.session.close()
 
-        sessionRule.session.loadUri(HELLO_HTML_PATH)
+        sessionRule.session.loadTestPath(HELLO_HTML_PATH)
         sessionRule.session.reload()
 
         sessionRule.session.open()
         sessionRule.session.waitForPageStops(2)
     }
 
     @Test(expected = IllegalStateException::class)
     fun open_throwOnAlreadyOpen() {