CyCraft / CyCraft/magnetar

test: create test to check for case enablePersistence & synchronizeTabs

Open
#5 2 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
TypeScript
Stars
46
Forks
6
PR merge metrics
No merged PRs in 30d

Description

when the developer sets:
```
await firestore.enablePersistence({
synchronizeTabs: true
})
```
all chrome tabs sync the local data _via_ the indexedDB local data, so preventing updating the local store on "local updates" completely, means the other tabs will not receive those changes.

I need an automated test that confirms this.......... o_O

perhaps Cypress and a test site will be needed, but only if Cypress can do multiple tabs. (2 Cypress instances would not be the correct tab)

if not possible with Cypress I'm at a loss how to create an automated test for this.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.