Closed Bug 1010021 Opened 10 years ago Closed 10 years ago

Add integration test to cover 3rd-party IME installation

Categories

(Firefox OS Graveyard :: Gaia::System::Input Mgmt, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2.0 S3 (6june)

People

(Reporter: rudyl, Assigned: rudyl)

References

Details

(Whiteboard: [p=1])

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1006343 +++

This should cover,
 1. 3rd-party IME installation flow.
 2. 3rd-party IME setup menu - to enable layouts in the IME app.
Depends on: 1010029
No longer blocks: vkb-integration
Hi Rudy,
   Can we duplicate with bug 928811?
   In my recall, we need APP intsall helper to dispatch 'install', 'unstall', 'update' event for  integration test.
   So maybe we can change the bug's title for tracking this issue?

   Any idea?
Gary, 

Thanks.

Just change bug 928811 to a meta bug to cover all 3rd-party IME related test.
And we're going to try bug 1010029, so that we could have app installation related events triggered.
1. Use a fake http server to serve the manifest file as a new keyboard app.
2. The app installed here is just a web app, which is required for triggering app installation flow here.
   And we have a hack to change the type from web app to "privileged" so that IME layout selection dialog will pop up (this is because input method API would only be exposed to privileged app).
Assignee: nobody → rlu
Comment on attachment 8424644 [details] [review]
Patch V1 - pull request 19363

This test has passed on travis.

Evan,

Could you please help review this?
Thank you.
Attachment #8424644 - Flags: review?(evanxd)
Status: NEW → ASSIGNED
Hi Rudy,

Sure.

Could you cherry-pick this patch https://github.com/evanxd/gaia/commit/e91fa72917fe4bf1598a43b57f39e4ff2f1e5bba for running tests for 102 times(please give the travis job here), and we could check the stability. If all tests work well, then we could start to review the patch.

Thanks.
Thanks for the remiding, just sent another pr to do the stability check,
https://github.com/mozilla-b2g/gaia/pull/19406
Evan, it is all green for stability check,
https://travis-ci.org/mozilla-b2g/gaia/builds/25569308

Thanks.
Flags: needinfo?(evanxd)
No longer blocks: 1010025
Comment on attachment 8424644 [details] [review]
Patch V1 - pull request 19363

Hi Rudy,
I added comments for the patch.
Attachment #8424644 - Flags: review?(evanxd)
Flags: needinfo?(evanxd)
Comment on attachment 8424644 [details] [review]
Patch V1 - pull request 19363

Patch updated to address all the review comments.

Evan, could you please help to review it again?
Thank you.
Attachment #8424644 - Flags: review?(evanxd)
Whiteboard: [p=1]
Target Milestone: --- → 2.0 S3 (6june)
Comment on attachment 8424644 [details] [review]
Patch V1 - pull request 19363

Hi Rudy,

I added comments for the patch.
Attachment #8424644 - Flags: review?(evanxd)
Comment on attachment 8424644 [details] [review]
Patch V1 - pull request 19363

Patch updated again.

Evan, please help review it again.
Thanks for your patience.
Attachment #8424644 - Flags: review?(evanxd)
No longer blocks: 1010026
Comment on attachment 8424644 [details] [review]
Patch V1 - pull request 19363

Hi Rudy,
Good works!
Attachment #8424644 - Flags: review?(evanxd) → review+
master: aeaa7d2265d56ce3e45c5870a0d0d732e2447eb2
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: