QA/Fennec/iOS/sync on exit

From MozillaWiki
< QA‎ | Fennec‎ | iOS
Jump to navigation Jump to search

Syncing on exit

Feature Reference

  • Meta Bug: bug 1168504
  • Overall Status:
    • Aurora:
    • Beta:4.0.0(1)
  • Owner:(Basca Simion, irc:SimonB )

Requirements

  • Perform sync on background (allow up to 10 minutes of background execution time when the user leaves the app to run a long-running background task to perform the sync)

User Stories

  • As a user, I just want to get to where I want to go quickly and effortlessly, so instead of going into my bookmarks folder, my bookmarked page shows up on the results page for easy navigation.

Acceptance Criteria

  • Sync is performed on the background

Testing details

Date:2016-04-13

Exploratory testing Device: iPad Air (iOS 9.3), iPhone 6S (iOS 9.2.1), iPhone 4S (ios 8.4), iPhone SE (ios 9.3.1) Builds: 4.0.0b1 Tests:

  • Background the app with no account set up.
    • The functionality is correct. No sync is performed.
  • Likewise, but with the account in Unverified (create a new account). Sync shouldn't work, because the account isn't syncable.
    • The functionality is correct. No sync is performed.
  • Start a sync from Settings, then immediately background the app. There should be no additional sync.
    • Sync is performed in background each time the app is minimized by pressing the home button
  • Background the app seconds after launch (never synced before). Sync or don't sync, but specify the behavior!
    • Sync is performed automatic after login
    • Sync is not performed after closing and re-opening the app from app switcher
  • Allow a scheduled sync to run (fifteen seconds after launch) and complete, then background the app within the rate-limiting period. We expect no sync.
    • After backgrounding the application and re-opening after 2 minutes, sync is not performed (15 seconds after launch)
    • Sync is performed within 15 second is app is back-grounded using the home button
  • Save a login. Wait for the post-login-change sync to occur, then background the app. We expect another sync to occur immediately, syncing everything but logins.
    • Sync is performed and the logins are synced to device.

Date:2016-04-14

Device: iPad Air (iOS 9.3), iPhone 6S (iOS 9.2.1), iPhone 4S (ios 8.4), iPhone SE (ios 9.3.1) Builds: 4.0.0b1 Tests:

  • Close application
    • The sync is not done on exit
  • Minimize application in app switcher
    • The sync is not done
  • Bookmark several pages on desktop
    • Sync is performed on background when the application is minimized by pressing the home button
  • Change time-zone while application is running
    • The sync time is correct
  • Auto-lock screen is turned on with the application running
    • Sync is not performed only after several seconds after application is restored
  • Power off device
    • Sync is not performed
  • Use iOS gesture (Swipe up with four fingers, Pinch the with five fingers) to minimize app
    • Sync is performed

Bug tracking

Full Query
ID Priority Summary Status Assigned to
1264225 -- Unverified accounts are syncing on exit VERIFIED Stephan Leroux [:sleroux]
1264248 -- Every time the app app is foregrounded, the Sync Now button is displayed for 1 sec in the 'Syncing...' state NEW
1264279 P3 Sync is not performed when device auto locks UNCONFIRMED

3 Total; 2 Open (66.67%); 0 Resolved (0%); 1 Verified (33.33%);