Closed
Bug 1200539
Opened 9 years ago
Closed 9 years ago
Sync app integration tests
Categories
(Firefox OS Graveyard :: Sync, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
FxOS-S11 (13Nov)
People
(Reporter: mbdejong, Assigned: mbdejong)
References
Details
Attachments
(1 file)
Mock up network requests to Syncto and sync-credentials IAC calls, and test integration between: * SyncCredentials * SyncEngine * FxSyncWebCrypto * Kinto.js * HistoryAdapter * PasswordsAdapter
Assignee | ||
Comment 1•9 years ago
|
||
You can see this working (WIP) in https://github.com/michielbdejong/gaia/tree/1200539-sync-app-integration-tests. Make sure you have syncto running on http://localhost:8000/v1/, and manually edit https://github.com/michielbdejong/gaia/blob/1200539-sync-app-integration-tests/apps/sync/js/sync-credentials/sync-credentials-mock.js with a hard-coded assertion. After clicking 'Sync now', you will see the HistoryAdapter mock report its data through console.log. NB: This WIP of the complete integrated Sync app uses a build of kinto.dev.js that includes custom ID's, which is a patch that hasn't landed there yet.
Assignee | ||
Comment 2•9 years ago
|
||
Should also run performance tests (see https://github.com/mozilla-b2g/gaia/pull/31567#discussion_r38897833)
Assignee | ||
Updated•9 years ago
|
Target Milestone: --- → FxOS-S9 (16Oct)
Assignee | ||
Updated•9 years ago
|
Target Milestone: FxOS-S9 (16Oct) → FxOS-S10 (30Oct)
Updated•9 years ago
|
Priority: -- → P3
Comment 3•9 years ago
|
||
Updated•9 years ago
|
Target Milestone: FxOS-S10 (30Oct) → FxOS-S11 (13Nov)
Assignee | ||
Updated•9 years ago
|
Attachment #8676638 -
Flags: review?(ferjmoreno)
Updated•9 years ago
|
Priority: P3 → P1
Comment 4•9 years ago
|
||
Comment on attachment 8676638 [details] [review] [gaia] michielbdejong:1200539-sync-app-integration-tests-2 > mozilla-b2g:master Thank you!
Attachment #8676638 -
Flags: review?(ferjmoreno) → review+
Assignee | ||
Comment 5•9 years ago
|
||
Thanks! Comments applied and rebased, waiting for TreeHerder.
Flags: needinfo?(ferjmoreno)
Comment 6•9 years ago
|
||
https://github.com/mozilla-b2g/gaia/commit/b2991b4c68d2f5339443ebe85dafa5946240bbc1
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(ferjmoreno)
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•