mozilla / fxa

Monorepo for Mozilla Accounts (formerly Firefox Accounts)
https://mozilla.github.io/ecosystem-platform/
Mozilla Public License 2.0
590 stars 210 forks source link

fix(metrics): Add Google and Apple signin telemetry #17137

Closed jonalmeida closed 3 months ago

jonalmeida commented 3 months ago

This doesn't seem like the best way for landing these metrics. I believe we should be using glean extras to add the provider to be either google or apple, but I've been struggling to get the EventProperties type checking to add a new property.

Open question:

This pull request

Issue that this pull request solves

Closes: FXA-9809, FXA-9808

Checklist

Put an x in the boxes that apply

Screenshots (Optional)

Please attach the screenshots of the changes made in case of change in user interface.

Other information (Optional)

Any other information that is important to this pull request.

jonalmeida commented 3 months ago

@jonalmeida I haven't ran this locally, but looksl like you have some backbone unit tests failing.

You should be able to see at http://127.0.0.1:3030/tests/index.html

Oops, I committed the wrong test update.

jonalmeida commented 3 months ago

This test failure seems unrelated:

❌ tests/subscription-tests/coupons-ui-tests/couponForeverDiscount.spec.ts: subscribe with credit card and use coupon
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()

Locator: getByRole('heading', { name: 'Subscription confirmation' })
Expected: visible
Received: hidden
Call log:
  - expect.toBeVisible with timeout 5000ms
  - waiting for getByRole('heading', { name: 'Subscription confirmation' })

    at /home/circleci/project/********/functional-tests/tests/subscription-tests/coupons-ui-tests/couponForeverDiscount.spec.ts:93:63
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()