@@ -82,30 +82,24 @@ test.describe('special-error', () => {
8282 const special = SpecialErrorPage . create ( page , workerInfo ) ;
8383 await special . overrideTestLinks ( ) ;
8484
85- const expectedURL = `${ phishingMalwareHelpPageURL } ` ;
86-
8785 await special . openPage ( { errorId : 'phishing' } ) ;
88- await special . opensNewPage ( 'Learn more' , expectedURL ) ;
86+ await special . opensNewPage ( 'Learn more' , phishingMalwareHelpPageURL ) ;
8987 } ) ;
9088
9189 test ( 'opens malware help page in a new window' , async ( { page } , workerInfo ) => {
9290 const special = SpecialErrorPage . create ( page , workerInfo ) ;
9391 await special . overrideTestLinks ( ) ;
9492
95- const expectedURL = `${ phishingMalwareHelpPageURL } ` ;
96-
9793 await special . openPage ( { errorId : 'malware' } ) ;
98- await special . opensNewPage ( 'Learn more' , expectedURL ) ;
94+ await special . opensNewPage ( 'Learn more' , phishingMalwareHelpPageURL ) ;
9995 } ) ;
10096
10197 test ( 'opens scam help page in a new window' , async ( { page } , workerInfo ) => {
10298 const special = SpecialErrorPage . create ( page , workerInfo ) ;
10399 await special . overrideTestLinks ( ) ;
104100
105- const expectedURL = `${ phishingMalwareHelpPageURL } ` ;
106-
107101 await special . openPage ( { errorId : 'scam' } ) ;
108- await special . opensNewPage ( 'Learn more' , expectedURL ) ;
102+ await special . opensNewPage ( 'Learn more' , phishingMalwareHelpPageURL ) ;
109103 } ) ;
110104
111105 test ( 'opens report form in a new window' , async ( { page } , workerInfo ) => {
0 commit comments