Closed Bug 936413 Opened 12 years ago Closed 7 years ago

[keyboard][integration] Add integration tests for launching keyboard in browser app

Categories

(Firefox OS Graveyard :: Gaia::Keyboard, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(tracking-b2g:backlog)

RESOLVED WONTFIX
tracking-b2g backlog

People

(Reporter: rudyl, Unassigned)

References

Details

We should add a integration test for browser app + keyboard case to prevent breakage like Bug 936324 to happen again.
There is |test-ime| that tests all the APIs. I just don't know how to make it into an integration test.
Flags: needinfo?(rlu)
Sorry did not make this clear enough at the first attempt, We have a basic keyboard test here, which will interact with Contact app https://github.com/mozilla-b2g/gaia/blob/master/tests/python/gaia-ui-tests/gaiatest/tests/functional/keyboard/test_keyboard.py Why we need this for browser app is because it is the only app that is not oop (Out-of-Process) for now. And some regression like Bug 936324 is related to OOP. -- BTW, Something still not clear to me is that we are encouraged to write integration tests in JS instead of using the original python code, but I am not sure if TBPL will run those JS tests.
Flags: needinfo?(rlu)
Zac, Do you happen to know when we will run marionette-js-runner, the integration tests written in JS on TBPL? Thank you.
Flags: needinfo?(zcampbell)
I don't know, you'll have to ni? jgriffin. Our existing Python keyboard tests caught that bug but not on TBPL (only on Travis/Device tests) because they rely on external test resources. If you want this to be switched over to a Python task we can try to adapt an existing test, we'll just have to adapt it to use a non-external resource.
Flags: needinfo?(zcampbell) → needinfo?(jgriffin)
(In reply to Rudy Lu [:rudyl] from comment #3) > Zac, > > Do you happen to know when we will run marionette-js-runner, the integration > tests written in JS on TBPL? > Thank you. It's currently being worked on in bug 935576. I think it should be live in TBPL within a couple of weeks.
Flags: needinfo?(jgriffin)
blocking-b2g: --- → backlog
blocking-b2g: backlog → ---
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.