Skip to content

Conversation

@bojeil-google
Copy link
Contributor

  • Enables email action link generation tests after backend bug was fixed.
  • Adds email link sign-in test case.
  • Fixes issues with nested multi-tenancy tests not being skipped when they are supposed to.

Confirmed multi-tenancy integration tests are passing in production.

- Enables email action link generation tests after backend bug was fixed.
- Adds email link sign-in test case.
- Fixes issues with nested multi-tenancy tests not being skipped when they are supposed to.

Confirmed multi-tenancy integration tests are passing in production.
Copy link
Contributor

@hiranya911 hiranya911 left a comment

Choose a reason for hiding this comment

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

LGTM with a question.

tenantAwareAuth = admin.auth().tenantManager().authForTenant(createdTenantId);
before(function() {
if (!createdTenantId) {
this.skip();
Copy link
Contributor

Choose a reason for hiding this comment

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

When does this happen? if the tenant creation fails in an earlier test?

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 seems the skip test is not getting applied for nested tests. So i added a check when no tenant is created (typically when the test is skipped or if tenant creation fails) to skip the nested tests.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants