@@ -189,18 +189,18 @@ versions.forEach((version) => {
189189 assert . exists ( testSuiteEvent . content . metrics [ DD_HOST_CPU_COUNT ] )
190190 } )
191191
192- assert . deepStrictEqual ( testEvents . map ( test => test . content . resource ) , [
192+ assert . deepStrictEqual ( testEvents . map ( test => test . content . resource ) . sort ( ) , [
193193 'landing-page-test.js.highest-level-describe' +
194- ' leading and trailing spaces should work with passing tests' ,
195- 'landing-page-test.js.highest-level-describe' +
196- ' leading and trailing spaces should work with skipped tests' ,
194+ ' leading and trailing spaces should work with annotated tests' ,
197195 'landing-page-test.js.highest-level-describe' +
198196 ' leading and trailing spaces should work with fixme' ,
199197 'landing-page-test.js.highest-level-describe' +
200- ' leading and trailing spaces should work with annotated tests' ,
201- 'todo-list- page-test.js.should work with fixme root' ,
202- 'todo-list-page-test.js.playwright should work with failing tests' ,
198+ ' leading and trailing spaces should work with passing tests' ,
199+ 'landing- page-test.js.highest-level-describe' +
200+ ' leading and trailing spaces should work with skipped tests' ,
203201 'skipped-suite-test.js.should work with fixme root' ,
202+ 'todo-list-page-test.js.playwright should work with failing tests' ,
203+ 'todo-list-page-test.js.should work with fixme root' ,
204204 ] )
205205
206206 assertObjectContains ( testEvents . map ( test => test . content . meta [ TEST_STATUS ] ) , [
@@ -285,9 +285,9 @@ versions.forEach((version) => {
285285 receiver . gatherPayloadsMaxTimeout ( ( { url } ) => url === '/api/v2/citestcycle' , payloads => {
286286 const events = payloads . flatMap ( ( { payload } ) => payload . events )
287287 const testEvents = events . filter ( event => event . type === 'test' )
288- assertObjectContains ( testEvents . map ( test => test . content . resource ) , [
289- 'playwright-tests-ts/one-test.js.playwright should work with skipped tests' ,
288+ assertObjectContains ( testEvents . map ( test => test . content . resource ) . sort ( ) , [
290289 'playwright-tests-ts/one-test.js.playwright should work with passing tests' ,
290+ 'playwright-tests-ts/one-test.js.playwright should work with skipped tests' ,
291291 ] )
292292 assert . match ( testOutput , / 1 p a s s e d / )
293293 assert . match ( testOutput , / 1 s k i p p e d / )
0 commit comments