This repository was archived by the owner on Sep 1, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
packages/cypress-plugin/test/integration Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -1345,9 +1345,9 @@ export const verifyOutput = (
13451345 ) . toStrictEqual ( expectedSpecs ) ;
13461346
13471347 // Make sure there are no unexpected specs.
1348- expect ( expectedSpecs ) . toStrictEqual (
1348+ expect (
13491349 parsedOutput . specOutputs . map ( ( spec ) => spec . filename ) . sort ( )
1350- ) ;
1350+ ) . toStrictEqual ( expectedSpecs ) ;
13511351
13521352 verifySpecOutputs ( params , parsedOutput . specOutputs ) ;
13531353 }
Original file line number Diff line number Diff line change @@ -9,5 +9,11 @@ module.exports = {
99 / a t t e m p t i n g t o c l o s e t h e b r o w s e r t a b (?: (? ! r e s e t t i n g s e r v e r s t a t e ) .) * $ / s,
1010 / S t i l l w a i t i n g t o c o n n e c t t o E d g e , r e t r y i n g i n 1 s e c o n d .* (?: E r r o r : T e s t t i m e d o u t a f t e r | A l l p r o m i s e s w e r e r e j e c t e d ) / s,
1111 / T h e r e w a s a n e r r o r r e c o n n e c t i n g t o t h e C h r o m e D e v T o o l s p r o t o c o l \. P l e a s e r e s t a r t t h e b r o w s e r \. / ,
12+ // When this error occurs, Cypress ends up printing the "Running: <spec>" header multiple times,
13+ // which the integration test parses as if that spec were in fact invoked multiple times. We
14+ // don't want the test itself to ignore multiple spec invocations since that could indicate a
15+ // bug. Instead, we treat it as a test independent failure iff this error message is in the
16+ // output. Otherwise, we'll still treat it as a true failure.
17+ / T i m e d o u t w a i t i n g f o r t h e b r o w s e r t o c o n n e c t . R e t r y i n g \. \. \. / ,
1218 ] ,
1319} ;
You can’t perform that action at this time.
0 commit comments