Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Test syncing history and site settings #7136

Merged
merged 2 commits into from
Feb 9, 2017

Conversation

ayumi
Copy link
Contributor

@ayumi ayumi commented Feb 8, 2017

Also test that clearing history and siteSettings prevents syncing.

Test Plan:
yarn test -- --grep="'^Syncing'"

and clearing them should prevent syncing.
return val.value.settings['sync.enabled'] === true
})
})
.pause(1000) // XXX: Wait for sync init (request AWS credentials from server)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does it work to replace this with waitUntil sync.lastFetchTimestamp is > 0?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it didn't work, but maybe i can try a little more

@ayumi ayumi merged commit 3d20e69 into feature/syncing Feb 9, 2017
@ayumi ayumi deleted the feature/syncing-test-history-site-settings branch February 9, 2017 02:09
@luixxiul luixxiul added this to the 0.13.4 milestone Feb 9, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants