Skip to content

List all Firestore "projects" in the emulator #281

Open

Description

@SamyPesse

The RTDB UI correctly lists the multiple databases created in the emulator. But the Firestore UI only lists the "main" one, even when connecting to different project id in the emulator.

Use-case: when we run unit tests, we use the --import to use a common dataset for each test, but each tests starts on its own "project id" (to not contaminate other tests).
Currently it's not possible to debug those tests in the emulator UI.

Activity

  1. fringley commented on Jan 27, 2021

    @fringley

    We are also experiencing this issue. We use different project id's to separate pre-production and production environments and we can not use the Firestore Emulator UI unless our local project is set to the default. This defeats the object of having the environments separated for safety as we always have to use default.

  2. sam-gc commented on Jan 29, 2021

    @sam-gc
    Contributor

    Hi folks, thanks for reaching out. I've filed this internally (b/178745700)

  3. fringley commented on Jan 29, 2021

    @fringley

    Hey @samhorlbeck thats great.

    If you need some more info, I’ve been having a conversation on this email thread:

    [ ref:_00D1Ux0Jq._5003p2UsFpB:ref ]

  4. fringley commented on Feb 12, 2021

    @fringley

    I have some further information on this issue...

    This problem was manifesting itself where I have two project aliases set up pointing to two environments. The Firestore emulator UI only seems to update when using the default alias - a bit frustrating, but not the end of the world.

    However, as of this evening, I'm now experiencing the same issue with the Authentication UI, except that the complication is that the Authentication UI only shows data when using my dev alias. I now have the problem that if I use one alias, then the Firestore UI works and Authentication doesn't, and if I use the other alias then the vice versa happens. I don't have an environment I can use where both emulator UIs work together!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions