Skip to content

Add persistence tests and fix some issues. #4620

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 13, 2021
Merged

Conversation

yuchenshi
Copy link
Member

No description provided.

@yuchenshi yuchenshi requested a review from sam-gc March 12, 2021 00:36
@yuchenshi yuchenshi requested a review from avolkovi as a code owner March 12, 2021 00:36
@changeset-bot
Copy link

changeset-bot bot commented Mar 12, 2021

⚠️ No Changeset found

Latest commit: 57eb438

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@yuchenshi yuchenshi force-pushed the ys/auth-exp-persistence branch from 76879fa to f6d12d2 Compare March 12, 2021 00:38
@google-oss-bot
Copy link
Contributor

google-oss-bot commented Mar 12, 2021

Binary Size Report

Affected SDKs

  • @firebase/component

    Type Base (b6a7a59) Head (0b2d6c8) Diff
    browser 5.37 kB 6.18 kB +812 B (+15.1%)
    esm2017 4.08 kB 4.77 kB +695 B (+17.1%)
    main 5.69 kB 6.50 kB +812 B (+14.3%)
    module 5.37 kB 6.18 kB +812 B (+15.1%)
  • @firebase/database

    Type Base (b6a7a59) Head (0b2d6c8) Diff
    browser 275 kB 275 kB +94 B (+0.0%)
    esm2017 248 kB 249 kB +835 B (+0.3%)
    main 277 kB 277 kB +94 B (+0.0%)
    module 275 kB 275 kB +94 B (+0.0%)
  • @firebase/database-exp

    Type Base (b6a7a59) Head (0b2d6c8) Diff
    browser 272 kB 272 kB +94 B (+0.0%)
    esm2017 245 kB 246 kB +835 B (+0.3%)
    main 273 kB 273 kB +94 B (+0.0%)
    module 272 kB 272 kB +94 B (+0.0%)
  • @firebase/firestore-exp

    Type Base (b6a7a59) Head (0b2d6c8) Diff
    browser 199 kB 199 kB +25 B (+0.0%)
    main 505 kB 505 kB +43 B (+0.0%)
    module 199 kB 199 kB +25 B (+0.0%)
    react-native 200 kB 200 kB +25 B (+0.0%)
  • @firebase/firestore-lite

    Type Base (b6a7a59) Head (0b2d6c8) Diff
    browser 64.9 kB 64.9 kB +25 B (+0.0%)
    main 143 kB 143 kB +43 B (+0.0%)
    module 64.9 kB 64.9 kB +25 B (+0.0%)
    react-native 65.1 kB 65.1 kB +25 B (+0.0%)
  • @firebase/functions

    Type Base (b6a7a59) Head (0b2d6c8) Diff
    browser 9.87 kB 9.90 kB +29 B (+0.3%)
    esm2017 7.69 kB 7.71 kB +21 B (+0.3%)
    main 10.3 kB 10.3 kB +29 B (+0.3%)
    module 9.87 kB 9.90 kB +29 B (+0.3%)
  • @firebase/remote-config

    Type Base (b6a7a59) Head (0b2d6c8) Diff
    browser 22.4 kB 22.4 kB +29 B (+0.1%)
    esm2017 17.4 kB 17.4 kB +21 B (+0.1%)
    main 22.9 kB 23.0 kB +29 B (+0.1%)
    module 22.4 kB 22.4 kB +29 B (+0.1%)
  • @firebase/storage

    Type Base (b6a7a59) Head (0b2d6c8) Diff
    browser 60.2 kB 60.2 kB +29 B (+0.0%)
    esm2017 51.9 kB 51.9 kB +21 B (+0.0%)
    main 60.7 kB 60.7 kB +29 B (+0.0%)
    module 60.2 kB 60.2 kB +29 B (+0.0%)
  • @firebase/storage/exp

    Type Base (b6a7a59) Head (0b2d6c8) Diff
    browser 49.2 kB 49.2 kB +21 B (+0.0%)
    main 50.0 kB 50.0 kB +21 B (+0.0%)
    module 49.2 kB 49.2 kB +21 B (+0.0%)
  • firebase

    Type Base (b6a7a59) Head (0b2d6c8) Diff
    firebase-app.js 19.9 kB 20.4 kB +581 B (+2.9%)
    firebase-database.js 178 kB 177 kB -1.24 kB (-0.7%)
    firebase-functions.js 10.1 kB 10.2 kB +23 B (+0.2%)
    firebase-performance-standalone.es2017.js 71.9 kB 72.3 kB +457 B (+0.6%)
    firebase-performance-standalone.js 47.8 kB 48.4 kB +581 B (+1.2%)
    firebase-remote-config.js 36.8 kB 36.8 kB +19 B (+0.1%)
    firebase-storage.js 39.8 kB 39.9 kB +23 B (+0.1%)
    firebase.js 839 kB 838 kB -1.17 kB (-0.1%)

Test Logs

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Mar 12, 2021

Size Analysis Report

Affected Products

Diffs between base commit (b6a7a59) and head commit (0b2d6c8) are too large (171,140 characters) to display.

Please check below links to see details from the original test log.

import { AnonFunction, PersistenceFunction } from './util/functions';
import { browserDescribe } from './util/test_runner';

browserDescribe('WebDriver persistence test', driver => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Side note: we should write some tests for the persistence events and cross-tab/cross-browser synchronization (in a different PR) b/182567813

@yuchenshi yuchenshi requested a review from sam-gc March 12, 2021 19:24
@yuchenshi yuchenshi merged commit 5ec9c83 into master Mar 13, 2021
@yuchenshi yuchenshi deleted the ys/auth-exp-persistence branch March 13, 2021 02:51
@firebase firebase locked and limited conversation to collaborators Apr 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants