[PM-7998] update chrome extension link in the vault onboarding module (#9087)

* vault-onboarding: update chrome extension link

* update spec
This commit is contained in:
Merissa Weinstein 2024-05-13 10:20:57 -05:00 committed by GitHub
parent 7a9b279b97
commit 7ea786e662
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -108,7 +108,7 @@ describe("VaultOnboardingComponent", () => {
it("should set extensionUrl to Chrome Web Store when isChrome is true", async () => {
jest.spyOn((component as any).platformUtilsService, "isChrome").mockReturnValue(true);
const expected =
"https://chrome.google.com/webstore/detail/bitwarden-free-password-m/nngceckbapebfimnlniiiahkandclblb";
"https://chromewebstore.google.com/detail/bitwarden-password-manage/nngceckbapebfimnlniiiahkandclblb";
await component.ngOnInit();
expect(component.extensionUrl).toEqual(expected);
});

View File

@ -169,7 +169,7 @@ export class VaultOnboardingComponent implements OnInit, OnChanges, OnDestroy {
setInstallExtLink() {
if (this.platformUtilsService.isChrome()) {
this.extensionUrl =
"https://chrome.google.com/webstore/detail/bitwarden-free-password-m/nngceckbapebfimnlniiiahkandclblb";
"https://chromewebstore.google.com/detail/bitwarden-password-manage/nngceckbapebfimnlniiiahkandclblb";
} else if (this.platformUtilsService.isFirefox()) {
this.extensionUrl =
"https://addons.mozilla.org/en-US/firefox/addon/bitwarden-password-manager/";