Closed
Bug 1200539
Opened 10 years ago
Closed 10 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•10 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•10 years ago
|
||
Should also run performance tests (see https://github.com/mozilla-b2g/gaia/pull/31567#discussion_r38897833)
![]() |
Assignee | |
Updated•10 years ago
|
Target Milestone: --- → FxOS-S9 (16Oct)
![]() |
Assignee | |
Updated•10 years ago
|
Target Milestone: FxOS-S9 (16Oct) → FxOS-S10 (30Oct)
Updated•10 years ago
|
Priority: -- → P3
![]() |
||
Comment 3•10 years ago
|
||
Updated•10 years ago
|
Target Milestone: FxOS-S10 (30Oct) → FxOS-S11 (13Nov)
![]() |
Assignee | |
Updated•10 years ago
|
Attachment #8676638 -
Flags: review?(ferjmoreno)
Updated•10 years ago
|
Priority: P3 → P1
Comment 4•10 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•10 years ago
|
||
Thanks! Comments applied and rebased, waiting for TreeHerder.
Flags: needinfo?(ferjmoreno)
Comment 6•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(ferjmoreno)
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•