• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mozilla / fx-private-relay / dd061088-75e4-42b0-9b46-a04a7e11d333

18 Apr 2025 12:18AM CUT coverage: 85.245%. Remained the same
dd061088-75e4-42b0-9b46-a04a7e11d333

Pull #5515

circleci

groovecoder
fix MPP-4152 - refactor(e2e-tests): v2+v3 `SubscriptionPaymentPage`

* Adds `isVersion3` check and new text getters to `SubscriptionPaymentPage`.
* Updates `relay-e2e.spec.ts` to use new getters so the tests will pass on
  both v2 + v3 SubPlat checkout pages.
Pull Request #5515: fix MPP-4152 - refactor(e2e-tests): v2+v3 `SubscriptionPaymentPage`

2471 of 3609 branches covered (68.47%)

Branch coverage included in aggregate %.

17323 of 19611 relevant lines covered (88.33%)

9.8 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/frontend/src/components/ReactAriaI18nProvider.tsx
1
import { ReactNode } from "react";
2
import { I18nProvider } from "react-aria";
×
3
import { getLocale } from "../functions/getLocale";
×
4
import { useL10n } from "../hooks/l10n";
×
5

6
/**
7
 * React-aria has some components (e.g. `<DismissButton>`) that include their
8
 * own strings. This component ensures that they use the same locale as the
9
 * rest of the application does.
10
 */
11
export const ReactAriaI18nProvider = (props: { children: ReactNode }) => {
×
12
  const l10n = useL10n();
×
13
  const locale = getLocale(l10n);
×
14

15
  return <I18nProvider locale={locale}>{props.children}</I18nProvider>;
16
};
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc