Skip to content

Commit 36123aa

Browse files
authored
Updated Scam Blocker help page URLs (#1671)
1 parent f066d77 commit 36123aa

14 files changed

+18
-8
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
export const phishingMalwareHelpPageURL = 'https://duckduckgo.com/duckduckgo-help-pages/privacy/phishing-and-malware-protection';
1+
export const phishingMalwareHelpPageURL = 'https://duckduckgo.com/duckduckgo-help-pages/threat-protection/scam-blocker';
22
export const reportSiteAsSafeFormURL = 'https://duckduckgo.com/malicious-site-protection/report-error';

special-pages/pages/special-error/integration-tests/special-error-screenshots.spec.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ test.describe('screenshots @screenshots', () => {
1818
await expect(page).toHaveScreenshot('ssl-expired-cert-reduced-motion.png', { maxDiffPixels });
1919
});
2020

21+
test('Malware warning with advanced info', async ({ page }, workerInfo) => {
22+
const special = SpecialErrorPage.create(page, workerInfo);
23+
await special.openPage({ errorId: 'malware' });
24+
await special.showsAdvancedInfo();
25+
await expect(page).toHaveScreenshot('malware-warning-advanced.png', { maxDiffPixels });
26+
});
27+
2128
test('Phishing warning with advanced info', async ({ page }, workerInfo) => {
2229
const special = SpecialErrorPage.create(page, workerInfo);
2330
await special.openPage({ errorId: 'phishing' });
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)