Closed Bug 1200539 Opened 10 years ago Closed 10 years ago

Sync app integration tests

Categories

(Firefox OS Graveyard :: Sync, defect, P1)

ARM
Gonk (Firefox OS)
defect

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: nobody → mbdejong
Blocks: 1195647
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.
Depends on: 1203868
Depends on: 1204432
No longer depends on: 1204432
Target Milestone: --- → FxOS-S9 (16Oct)
Target Milestone: FxOS-S9 (16Oct) → FxOS-S10 (30Oct)
Priority: -- → P3
Target Milestone: FxOS-S10 (30Oct) → FxOS-S11 (13Nov)
Attachment #8676638 - Flags: review?(ferjmoreno)
Priority: P3 → P1
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+
Thanks! Comments applied and rebased, waiting for TreeHerder.
Flags: needinfo?(ferjmoreno)
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.

Attachment

General

Created:
Updated:
Size: