Skip to content

Commit 86aef92

Browse files
committed
Bug 1815339 - Flip the assertion for the GeckoView translation test; r=geckoview-reviewers,ohall
Differential Revision: https://phabricator.services.mozilla.com/D192594
1 parent d6e42d6 commit 86aef92

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/TranslationsTest.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,9 @@ class TranslationsTest : BaseSessionTest() {
109109
val translate = mainSession.sessionTranslation!!.translate("es", "en", null)
110110
try {
111111
sessionRule.waitForResult(translate)
112-
// ToDo: bug 1853469 models not available in automation
113-
assertTrue("Should not be able to translate.", false)
112+
assertTrue("Should be able to translate.", true)
114113
} catch (e: Exception) {
115-
assertTrue("Should have an exception.", true)
114+
assertTrue("Should not have an exception.", false)
116115
}
117116
}
118117

0 commit comments

Comments
 (0)