From 917ab2ca1b6894891d6abb357b648a908a1df001 Mon Sep 17 00:00:00 2001 From: Miguel Langarano Date: Mon, 11 Sep 2023 23:14:36 -0500 Subject: [PATCH] added avoided properties to make the tests pass --- e2e/cypress-12-demo/scripts/test.ts | 164 +- .../currents-api-output-reference.json | 2 +- .../cypress-cloud-output-reference.json | 2 +- .../currents-api-output-reference.json | 2 +- .../cypress-cloud-output-reference.json | 1523 +---------------- e2e/cypress-13-demo/scripts/files.ts | 5 +- e2e/cypress-13-demo/scripts/test.ts | 242 ++- package-lock.json | 49 - packages/cypress-cloud/lib/run.ts | 345 ++-- packages/cypress-cloud/package.json | 2 +- 10 files changed, 514 insertions(+), 1822 deletions(-) diff --git a/e2e/cypress-12-demo/scripts/test.ts b/e2e/cypress-12-demo/scripts/test.ts index 08dfac9..414dae1 100644 --- a/e2e/cypress-12-demo/scripts/test.ts +++ b/e2e/cypress-12-demo/scripts/test.ts @@ -69,7 +69,11 @@ function compareObjectsRecursively( return results; } -const avoidableProperties: { property: string; mustHave: boolean }[] = [ +const avoidableProperties: { + property: string | RegExp; + mustHave: boolean; + isRegex?: boolean; +}[] = [ { property: "runId", mustHave: true, @@ -238,43 +242,133 @@ const avoidableProperties: { property: string; mustHave: boolean }[] = [ property: "cypressVersion", mustHave: true, }, + { + property: "env.currents_temp_file", + mustHave: true, + }, + { + property: "config.browsers[0].version", + mustHave: true, + }, + { + property: "config.resolved.browsers.value[0].version", + mustHave: true, + }, +]; + +const avoidedButNeedeProperties: { + property: string | RegExp; + mustHave: boolean; + isRegex?: boolean; +}[] = [ + { + property: + /runs\[\d+\]\.tests\[\d+\]\.attempts\[\d+\]\.timings\.after each\[1\]/, + mustHave: true, + isRegex: true, + }, + { + property: + /runs\[\d+\]\.tests\[\d+\]\.attempts\[\d+\]\.timings\.after all/, + mustHave: true, + isRegex: true, + }, + { + property: "runs[2].tests[0].attempts[0]", + mustHave: true, + }, + { + property: "runs[2].tests[0].testId", + mustHave: true, + }, ]; +const similarProperties: { property: string; similarProperty: string }[] = []; + function isAvoidableProperty(property: string) { - const avoidableData = avoidableProperties.find((item) => - property.includes(item.property) - ); + const avoidableData = [ + ...avoidableProperties, + ...avoidedButNeedeProperties, + ].find((item) => { + if (item.isRegex) { + return (item.property as RegExp).test(property); + } + + return property.includes(item.property as string); + }); if (avoidableData) { return avoidableData; } return; } +function isSimilarProperty(propertyA: string) { + const similarData = similarProperties.find((item) => + propertyA.includes(item.property) + ); + if (similarData) { + return similarData; + } + return; +} + function testEachResults(results: ComparisonResult[]) { + const errors: string[] = []; results.forEach((result) => { - if (result.valueA) { - const avoidableData = isAvoidableProperty(result.path); - if (!avoidableData) { - expect( - result.valueA, - `The values are not equal at: ${result.path}. ${ - result.note ?? "" - }` - ).to.equal(result.valueB); - return; - } + try { + if (result.valueA) { + const avoidableData = isAvoidableProperty(result.path); + const similarData = isSimilarProperty(result.path); + + if (similarData) { + const similarPath = result.path.split(similarData.property); + const valueB = results.find( + (item) => + item.path === + `${similarPath[0]}${similarData.similarProperty}` + )?.valueB; + expect( + result.valueA, + `The values are not equal at: ${result.path}. ${ + result.note ?? "" + }` + ).to.equal(valueB); + return; + } - if (avoidableData.mustHave) { - expect( - result.valueB, - `The values at ${ - result.path - } does not exist and it should. ${result.note ?? ""}` - ).not.to.equal("Does not exist"); - return; + if (!avoidableData) { + expect( + result.valueA, + `The values are not equal at: ${result.path}. ${ + result.note ?? "" + }` + ).to.equal(result.valueB); + return; + } + + if (avoidableData.mustHave) { + expect( + result.valueB, + `The values at ${ + result.path + } does not exist and it should. ${result.note ?? ""}` + ).not.to.equal("Does not exist"); + expect( + result.valueB, + `The values at ${ + result.path + } does not exist and it should. ${result.note ?? ""}` + ).not.to.equal("undefined"); + return; + } } + } catch (e: any) { + const error = `${errors.length}.- ${e.toString()}`; + errors.push(error); + console.log(error.red); } }); + return errors; } async function runTests() { @@ -342,12 +436,14 @@ async function getApiData(runUrl: string) { console.log("Starting test: Currents API output".yellow); - testEachResults(currentsApiResults); + const currentsApiErrors = testEachResults(currentsApiResults); - console.log( - "Test Passed: Currents API output is the same in ccy 1.9 cypress 12 without change and ccy 1.9 cypress 12 with changes" - .green - ); + if (currentsApiErrors.length === 0) { + console.log( + "Test Passed: Currents API output is the same in ccy 1.9 cypress 12 without change and ccy 1.10 cypress 12 with changes" + .green + ); + } console.log("Starting test: Cypress Cloud output".yellow); @@ -356,12 +452,14 @@ async function getApiData(runUrl: string) { modifiedCypressCloud ); - testEachResults(cypressCloudResults); + const cypressCloudErrors = testEachResults(cypressCloudResults); - console.log( - "Test Passed: Cypress Cloud output is the same in ccy 1.9 cypress 12 without change and ccy 1.9 cypress 12 with changes" - .green - ); + if (cypressCloudErrors.length === 0) { + console.log( + "Test Passed: Cypress Cloud output is the same in ccy 1.9 cypress 12 without change and ccy 1.9 cypress 12 with changes" + .green + ); + } } catch (err) { console.error("Process error:", err); } diff --git a/e2e/cypress-13-demo/data-references/ccy-1.10-cypress-13/currents-api-output-reference.json b/e2e/cypress-13-demo/data-references/ccy-1.10-cypress-13/currents-api-output-reference.json index 3517868..ee7545c 100644 --- a/e2e/cypress-13-demo/data-references/ccy-1.10-cypress-13/currents-api-output-reference.json +++ b/e2e/cypress-13-demo/data-references/ccy-1.10-cypress-13/currents-api-output-reference.json @@ -1 +1 @@ -{"status":"OK","data":{"runId":"271a54ce36c805d4","projectId":"2cI1I5","createdAt":"2023-09-09T13:15:22.456Z","tags":[],"cypressVersion":"12.17.4","cancellation":null,"timeout":{"isTimeout":false},"groups":[{"groupId":"run-api-smoke-2023-09-09T13:15:19.184Z","platform":{"osName":"darwin","osVersion":"22.5.0","browserName":"Electron","browserVersion":"106.0.5249.51"},"createdAt":"2023-09-09T13:15:22.456Z","instances":{"overall":4,"claimed":4,"complete":4,"passes":2,"failures":2},"tests":{"overall":7,"passes":4,"failures":2,"pending":1,"skipped":0,"retries":1,"flaky":1}}],"meta":{"ciBuildId":"run-api-smoke-2023-09-09T13:15:19.184Z","commit":{"branch":"fix/cypress-13-validation","remoteOrigin":null,"authorEmail":"miguelangarano@gmail.com","authorName":"Miguel Langarano","message":"automated test validation\n","sha":"2c08548749c6746a228f333488b335137b6d8a4a"},"platform":{"osName":"darwin","osVersion":"22.5.0","browserName":"Electron","browserVersion":"106.0.5249.51"}},"specs":[{"groupId":"run-api-smoke-2023-09-09T13:15:19.184Z","spec":"cypress/e2e/a.spec.js","instanceId":"3bDkEcnhnZ9e","claimedAt":"2023-09-09T13:15:22.987Z","completedAt":"2023-09-09T13:15:44.533Z","machineId":"AWFuj0716IyK","worker":null,"results":{"videoUrl":"https://fs.currents.dev/64af8eee5411be7416b22d5f/3bDkEcnhnZ9e_W2096y1xhRmj.mp4?Expires=1694524583&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=mPJ-axvoO4TLHPN8NXcrBbXlfsQJwLVTp9h1tI5NK58Jtx9tX7JbkyUqjGN2BFoa07MlfUcQxu6Ad3wt~hdDlNogPjSxZPIFQZDOstFLmjgKhsskyS9UYnFMv~evCMX18JraosDS7bz5uJ6bzJPmrcUPu2b4mcW11GK4qo-B-bsfUbOybZ9S0ClHMpWVA1GYvbYCHt0a4AOu~BdxA55-eZfKstGpi4wz9Gs1XadbNb9SIYnoV7ioi7FehB05zfaomsGz9nCTaBnr~435KladP0oYFgU10vaCeCshW3vUgaByxd51Le8eGNy0mRNHcJshANgEkvuiqsLpxUMaxnRzmA__","stats":{"duration":14870,"endedAt":"2023-09-09T13:15:42.469Z","startedAt":"2023-09-09T13:15:27.599Z","failures":1,"passes":0,"pending":0,"skipped":0,"suites":1,"tests":1,"wallClockDuration":14870,"wallClockStartedAt":"2023-09-09T13:15:27.599Z","wallClockEndedAt":"2023-09-09T13:15:42.469Z"},"screenshots":[{"testAttemptIndex":0,"size":349117,"takenAt":"2023-09-09T13:15:33.051Z","dimensions":{"width":2560,"height":1440},"multipart":false,"specName":"a.spec.js","testFailure":true,"scaled":true,"blackout":[],"duration":303,"testId":"r0","name":"screenshot","screenshotId":"VRuw2eKqT49RduSY-vF4Z","screenshotURL":"https://fs.currents.dev/64af8eee5411be7416b22d5f/A9G4a8ctMd13.png?Expires=1694524583&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=wGFBj0pFBuehqoFwnd9dtjA7xfarlWweT-d8udLG2DpLPL5xJQ6FcTaSh7R62FSH5GnlIO60fFOxNHjHCLJ4m5LeUU-IX89lRdbutp3XF-l~t5T421s~EmPLv2caWTQ-sUA5JUhdoMmeOUqZNKiY~-jlQMeFxX4niuFh3p0wOxOscQjxgdUh440kx9XY8Hecn9qQZRP9x42iAjUDn8srTPVGJts5HNTrAEfBJlHKZidlyon1WN9myEb18pOqpV-12J9e1lHfVBjSPSOqX2i7grObo19XpdU1VWjDb4lSIFHXQch9961rsH9DOUyPBWkV6txxBHh8l-ok6VnJg3IVog__","height":0,"width":0},{"testAttemptIndex":1,"size":361908,"takenAt":"2023-09-09T13:15:37.578Z","dimensions":{"width":2560,"height":1440},"multipart":false,"specName":"a.spec.js","testFailure":true,"scaled":true,"blackout":[],"duration":206,"testId":"r0","name":"screenshot","screenshotId":"QQDhy7YciubliXABhg3Ju","screenshotURL":"https://fs.currents.dev/64af8eee5411be7416b22d5f/rJcY4a8bLgFl.png?Expires=1694524583&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=SknNUuaQOUGcUENfPI1bZEw6sBXy5STmx9jm-etPfgYgYGYFpqYZlFQEAGPJvuFXrW0EthWkw3qmWiECceS8jn3DjpXcGKsdCj1Hr8x55CK4CSPCU~sSFsdyNLoKN5IsSZqlTVirksnYqz68JbPCQx7RzI-m-8M5cpFCkGXMl1isi-TjGaHy8BqkkGK7QCjxGTvpxVbcK3Jd35A7vMCAtBGBpJ9bGJsyi6muAh8uC3VUksYwiq3xqcuSCnnf85UYHxYVi9SgivIY4W0ln5jvxAn1I6y7fxu9ZpmEBWXfPt8Z4egpRrnOwG3n9dni1Dx2xIR5YLZfIfHqUGyngr-Fyg__","height":0,"width":0},{"testAttemptIndex":2,"size":362007,"takenAt":"2023-09-09T13:15:42.210Z","dimensions":{"width":2560,"height":1440},"multipart":false,"specName":"a.spec.js","testFailure":true,"scaled":true,"blackout":[],"duration":207,"testId":"r0","name":"screenshot","screenshotId":"d2WfYdznt6e6c7bNNSTND","screenshotURL":"https://fs.currents.dev/64af8eee5411be7416b22d5f/IZiGRvBJWPJ2.png?Expires=1694524583&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=iQjTqpbAptdHvFe7PlSHeR2dJF8zwmx72gi8kwNqiBBSO-Zfz1pCUEXEukwo2YkdLWR-3aqCXqDQGU5skTpN0UBEH7LPMIEv1OE4fN1Cru0pyzgOnHVgyR47ezYtrLmCF5JjJnHTeMqIJVi7EZqDztXc9mMk~-SfR4kpIIMQqb5GpFPelWfZK6djpKviL7kQd5KhWiJ5GAsIbPwHTkotfLqCna8Mxv0ixcvVT5tfuNHZKxjwJav~slB2iK5GCiWotMrkrs5NFrPN4DeEwrSm85Hhzv~0neFwvoEz1CNd7gAz0xj2rY46jVFnBOm77TkAB5jgMgX0LdtW1RCRbtTGUQ__","height":0,"width":0}],"exception":null,"flaky":0}},{"groupId":"run-api-smoke-2023-09-09T13:15:19.184Z","spec":"cypress/e2e/b.spec.js","instanceId":"6v5viEDI89B7","claimedAt":"2023-09-09T13:15:54.397Z","completedAt":"2023-09-09T13:16:21.160Z","machineId":"AWFuj0716IyK","worker":null,"results":{"videoUrl":"https://fs.currents.dev/64af8eee5411be7416b22d5f/6v5viEDI89B7_HAJiKAUrD25s.mp4?Expires=1694524583&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=eRweUGQqt9NPKOhPy~j3BI6RR25cJVGB5tp4pl2MX2Nk~PDlBJC--TKdTIZyJ2kqA4BdPW4kvPtw8CpTQtgZalLroPi4CuykN-tsVhPfr6WXlkQC9rO6a0SDVjxg3BxH5qWLDoRaOZIq-uTdDZce4Z3-FVwYYEwtwCg4vS6pcsPEooht6OvCOy9A6rAMRj9W8lRbTRKhVVBrBE0DGy7Xb3bqtwSdIaa7yMVjc7Vcar7qAKUwA-WDReCfRuzJ3U9EL~aJt2MPqAQ-OD9-Z1joMU0oUOn1mJq~stWzCnA6lUTeM5gYlsgS3nerb3knByXwvOaTikFhJ9AplNjRUf~1Yg__","stats":{"duration":20004,"endedAt":"2023-09-09T13:16:19.050Z","startedAt":"2023-09-09T13:15:59.046Z","failures":1,"passes":2,"pending":0,"skipped":0,"suites":1,"tests":3,"wallClockDuration":20004,"wallClockStartedAt":"2023-09-09T13:15:59.046Z","wallClockEndedAt":"2023-09-09T13:16:19.050Z"},"screenshots":[{"testAttemptIndex":0,"size":374371,"takenAt":"2023-09-09T13:16:04.433Z","dimensions":{"width":2560,"height":1440},"multipart":false,"specName":"b.spec.js","testFailure":true,"scaled":true,"blackout":[],"duration":256,"testId":"r0","name":"screenshot","screenshotId":"zw0F-aJXnXDDfKioFBhZV","screenshotURL":"https://fs.currents.dev/64af8eee5411be7416b22d5f/e2YG89w9CFnt.png?Expires=1694524583&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=cjCTKXhLYBlf1Ts0y3RojQCBmJEHqvlesCsvEcvqjW9GgvV9dj46WyiI2Vu8UZaQrsTlTvxz1gR4Im~wBrxxlZtqsU1V620aZTEPViVLqrez5RI~ZJWI6Gme8ji03xfuSGV5tGWPhUWDTIUM4GvvkQnyAdSN~l336MBP5MKU8CialMA8ttALf46p1hnm9HKfdqYXfCnfqowkRd7IK2ixflf6zjepCHhuVbX-qaavcHsXOrZ2ZoBBjBlD19o5X8EMba7shGd5s4l5bw488trWTuhr-VvAq0SApEAOVm9JTFQtJ7uuUsZzrwLYxmI7VgeIZw~Q0mpRiQrYfAjM9gLftA__","height":0,"width":0},{"testAttemptIndex":1,"size":377109,"takenAt":"2023-09-09T13:16:08.927Z","dimensions":{"width":2560,"height":1440},"multipart":false,"specName":"b.spec.js","testFailure":true,"scaled":true,"blackout":[],"duration":212,"testId":"r0","name":"screenshot","screenshotId":"l-AfnNJHwvoUAYLvZ2Kpq","screenshotURL":"https://fs.currents.dev/64af8eee5411be7416b22d5f/TUfJcXIHm260.png?Expires=1694524583&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=O1xc7BHTxvqm4Jb2htTRPidRkgR3ZqBvo8ntGcBlfCqQ2azZpFU4R6xbvD69gyzn1hOgDtgfUKEmGY6nn0WfZ5~oY96JWp5LEfjFbTWgKt0HJI2HlPCIUCY72mXvNZXT2k2dLSRLIl-k0pSQ3Yg~TvymzgzutoiPBJWZLKP-SZrstCebIgQychxWjUJsor6OyM~R0karI-7RHdcCIPlFIdgYSgrZ3h0j6TRbaIlo5dEth1lpBJzmESJleFC-rXzzR~0Ey3iH0vhETlp4XSlnffKzD9MS6P6fpFD2xKDQFCRHpL9AuvNyfKqIP5Hbd9sTYlPyxTzQRpHEeD9KJh6TDA__","height":0,"width":0},{"testAttemptIndex":2,"size":376387,"takenAt":"2023-09-09T13:16:13.526Z","dimensions":{"width":2560,"height":1440},"multipart":false,"specName":"b.spec.js","testFailure":true,"scaled":true,"blackout":[],"duration":212,"testId":"r0","name":"screenshot","screenshotId":"TS6pSw38W-AUJoX6_3Dt1","screenshotURL":"https://fs.currents.dev/64af8eee5411be7416b22d5f/ZaN8YdXL32XN.png?Expires=1694524583&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=PaokSdQRV8O1sULTNJZSBf-i2xzyeAlMckTurwUAz-ziFSQXH4uHibGQVIxb2gX6c7yFPgqK0mWTUn~tzc42EBCXVIhnhbDxogS0B4oq49IR~M-dR1N-Y1RDx3Tdxo70izaUES-~iJPj-x1IF97kWEhFnnRpjDKpwR-SJC5Jg0Cf6Qu3vcLxW9~xpPOWHAMByILQg7g0w8jNMMsw6xyIG38Pz0orWHUm9Wq7sWoqy~JaBD55MQWDF1krul1MIQL9TDnEQ3DsDPmWLPE-fs42fOIdljA6Quol7bFmULN5EYIkA-mE7ZpoUg-1mtscT4iXn1P2ZBp04OoVVTJaG2200g__","height":0,"width":0},{"testAttemptIndex":0,"size":380678,"takenAt":"2023-09-09T13:16:18.345Z","dimensions":{"width":2560,"height":1440},"multipart":false,"specName":"b.spec.js","testFailure":true,"scaled":true,"blackout":[],"duration":208,"testId":"r2","name":"screenshot","screenshotId":"jZVwYU6lu6KMEmwOhHj0y","screenshotURL":"https://fs.currents.dev/64af8eee5411be7416b22d5f/0xdPV4FdOgfA.png?Expires=1694524583&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=KGJTP9MazrpD-DVauoXC13O-kerEQpKUcGoAdNzUy0EfKDNdKv19Fbmhu-3jodaBkuBFfM1DZ948d1az-Nf-D60kWdTtsXCF1wVgz~Y6qTPyMklKEraJAOTGdW3rq-uOH9czEY5revFPpMPnvLrrLM6uS2uyycYF312xSYeqhCzpsrD113NLXSKuz72usBhCZo7pKf0YeqIufo5BM8f0mnaFQfouhZ8Lzh5sIcdZYEV1affq1c17WecK1iC7NhLEdkj1pY4AI4D1DTJIroTQNZ7CmdB2EipaCfI5bnrP0AkHvHxSuN-2Z7yQx0wTR8-~YigVSWdNxMUIYk0p-jlveA__","height":0,"width":0}],"exception":null,"flaky":1}},{"groupId":"run-api-smoke-2023-09-09T13:15:19.184Z","spec":"cypress/e2e/c.spec.js","instanceId":"EZKtPsgmVMze","claimedAt":"2023-09-09T13:15:22.999Z","completedAt":"2023-09-09T13:15:53.983Z","machineId":"AWFuj0716IyK","worker":null,"results":{"videoUrl":"https://fs.currents.dev/64af8eee5411be7416b22d5f/EZKtPsgmVMze_oiq63t1gBvQA.mp4?Expires=1694524583&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=HcZcdEJ4eseAQy55V8jslDtI47AAALnaChvxBp-9RP7tIcP2eHc4Ce0S0F3mp2g1Xc3zQzOCOn7zfgDVffjNE2WEdaTOP8UnYQB-hteoxOF8nAnzXXxOhcD5BDP4YE2DDCb7yu1QsolhVc2tzQGckyx0iCEGtdTaP4whFMTI-xKye580hcs9LVPHRY2HP4Z~SCSCb9YfybcVBrKxtjuOg3kQDAW7VPX21kR-k4t9IaAR9ZpBgxUQIdRpLfKazqMCUjMFEbDbJKfd2Mj3MRhIn0CSeVA9rdIdZto2lvynN4xOSapiR91H2xAXacdcGqneVIxTG34ovVHeE8q3j~~u8A__","stats":{"duration":61,"endedAt":"2023-09-09T13:15:52.222Z","startedAt":"2023-09-09T13:15:52.161Z","failures":0,"passes":0,"pending":1,"skipped":0,"suites":1,"tests":1,"wallClockDuration":61,"wallClockStartedAt":"2023-09-09T13:15:52.161Z","wallClockEndedAt":"2023-09-09T13:15:52.222Z"},"screenshots":[],"exception":null,"flaky":0}},{"groupId":"run-api-smoke-2023-09-09T13:15:19.184Z","spec":"cypress/e2e/d.spec.js","instanceId":"zf5tHsMfNljD","claimedAt":"2023-09-09T13:15:22.993Z","completedAt":"2023-09-09T13:15:51.393Z","machineId":"AWFuj0716IyK","worker":null,"results":{"videoUrl":"https://fs.currents.dev/64af8eee5411be7416b22d5f/zf5tHsMfNljD_vHmL2dIylK4P.mp4?Expires=1694524583&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=OQNH57iWR6mLYfcd6Udk1q4S~IXo-RqawVc8QjCFycAFbhDxf535RCkMYd4RGMNcZbuZ9wzxFZwbg9PLaY3DS~S0~qXGqsSGVKd9WBrohH6MM56hNOZ4rPtBQ~DP-v0a8Asl~YbYDxMFS4s2IOZ73j~u6E2cehwCiJfv5vPlIzn6APT5vr0dxqioeOdrgjOEungbL2Cybuc0up0vJIHHke5qr~BBm~p3bSDboP9eJPYZQ4WTizfzoo3ABKMKXyIfOxezUYGBpCF4nnEKFIyHTsvPjGUEDf0XFdDXFBjywwFf8v5escZ12kkN5i0nH9c8hs9ZFPYur00p1hHfJduQUg__","stats":{"duration":1379,"endedAt":"2023-09-09T13:15:49.247Z","startedAt":"2023-09-09T13:15:47.868Z","failures":0,"passes":2,"pending":0,"skipped":0,"suites":1,"tests":2,"wallClockDuration":1379,"wallClockStartedAt":"2023-09-09T13:15:47.868Z","wallClockEndedAt":"2023-09-09T13:15:49.247Z"},"screenshots":[{"testAttemptIndex":0,"size":234576,"takenAt":"2023-09-09T13:15:48.330Z","dimensions":{"width":2000,"height":1320},"multipart":true,"pixelRatio":2,"name":"internal-assert-screenshot","specName":"d.spec.js","scaled":false,"blackout":[],"duration":704,"testId":"r0","screenshotId":"G8tnW2c46IONgreAy5UIu","screenshotURL":"https://fs.currents.dev/64af8eee5411be7416b22d5f/BjdDzqzMqS2h.png?Expires=1694524583&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=iHg~fF-Y84PKoqTVu~98PqeJ-X5dqEhtDnOQDA8KmawjYJn9Pn92aD8GILEMOkiTcVeG2s-0iw2UZzQTbuEsxdlh~zPYmUAQPR9E~RAbDsjKMJozR9IcTqSPRm8wN7tYmsR6nLZRzyQdzeiWrKC21dx89B2y63mKO7RGYU1zu8GGTl0lUPL0AeaRz6vXTSnmBoB6lHPrjhSh7Y3ve9pkFcZRu5ZpszBSnjLi061FSYWO5NXLG1E8wIJXpnYugX39RqbnpTomdD0bN~pPUOj6KepLMH8oea~9We2iTOXxiT~RKKch7-X4IXmi6qQjYAk4x-b~L4ckaXdhhhVIn2o0ag__","height":0,"width":0}],"exception":null,"flaky":0}}],"completionState":"COMPLETE","status":"FAILED"}} \ No newline at end of file +{"status":"OK","data":{"runId":"0dad0cefea86a428","projectId":"2cI1I5","createdAt":"2023-09-11T18:31:08.546Z","tags":[],"cypressVersion":"13.1.0","cancellation":null,"timeout":{"isTimeout":false},"groups":[{"groupId":"run-api-smoke-2023-09-11T18:31:05.305Z","platform":{"osName":"darwin","osVersion":"22.5.0","browserName":"Electron","browserVersion":"106.0.5249.51"},"createdAt":"2023-09-11T18:31:08.546Z","instances":{"overall":4,"claimed":4,"complete":4,"passes":2,"failures":2},"tests":{"overall":7,"passes":4,"failures":2,"pending":1,"skipped":0,"retries":1,"flaky":1}}],"meta":{"ciBuildId":"run-api-smoke-2023-09-11T18:31:05.305Z","commit":{"branch":"fix/cypress-13-validation","remoteOrigin":null,"authorEmail":"miguelangarano@gmail.com","authorName":"Miguel Langarano","message":"log fixes\n","sha":"cd64d3a01acede030e9bb932cf6784444cf560c5"},"platform":{"osName":"darwin","osVersion":"22.5.0","browserName":"Electron","browserVersion":"106.0.5249.51"}},"specs":[{"groupId":"run-api-smoke-2023-09-11T18:31:05.305Z","spec":"cypress/e2e/a.spec.js","instanceId":"TsH4SpNkJO0C","claimedAt":"2023-09-11T18:31:08.920Z","completedAt":"2023-09-11T18:31:28.552Z","machineId":"d7us8fBRmD3O","worker":null,"results":{"stats":{"duration":13753,"endedAt":"2023-09-11T18:31:27.926Z","startedAt":"2023-09-11T18:31:14.173Z","failures":1,"passes":0,"pending":0,"skipped":0,"suites":1,"tests":1,"wallClockDuration":13753,"wallClockStartedAt":"2023-09-11T18:31:14.173Z","wallClockEndedAt":"2023-09-11T18:31:27.926Z"},"screenshots":[{"testAttemptIndex":0,"size":350623,"takenAt":"2023-09-11T18:31:18.689Z","dimensions":{"width":2560,"height":1440},"multipart":false,"specName":"a.spec.js","testFailure":true,"scaled":true,"blackout":[],"duration":317,"testId":"r0","name":"screenshot","screenshotId":"TvaQwhV7kulzBwfNpY-DE","screenshotURL":"https://fs.currents.dev/64af8eee5411be7416b22d5f/9w4x3VXGssLk.png?Expires=1694716308&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=t-x5JjcrxqrnIuBjXvIY3u2PKQH-KbEbv1ysdPX~Fubt7APDgquE68haFzbMVcol7lTGmsq7u8v3LZZw04iDjG4vEdzpvp8OsX0uL8TguZ6faP4R4uPTBSTVqfU87m-QEe62jy4AJFTnboJ9cx9NchrU1hP4CNXmkofXgL5B57TPRLWcsFbU2zHppv2c0OdNBVZI68DayPvkiK6MCp0WaChhxd7o85p1G8fIrajL8QTjwEZ7~NM0xIGHphnlGBMqJghXbWWhwXO6TrGbxIub4t-0n48UIhS7uy3i8Ol1V59JnVb1uXnym3eli8AYltPxKfeY7v2gA6hEjjjKCbAe1g__","height":0,"width":0},{"testAttemptIndex":1,"size":364504,"takenAt":"2023-09-11T18:31:23.201Z","dimensions":{"width":2560,"height":1440},"multipart":false,"specName":"a.spec.js","testFailure":true,"scaled":true,"blackout":[],"duration":228,"testId":"r0","name":"screenshot","screenshotId":"Oc-GeXM7YZT2JXcTUOvfx","screenshotURL":"https://fs.currents.dev/64af8eee5411be7416b22d5f/hAKJuf7PKMOq.png?Expires=1694716308&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=iN1RcL2iB65GcevDLp0NVUtC3gbDne~W5WTBsc8QQFOVnU3mwAG9QGHYgEvLJ-ARoKyXRwo3xp8nvvGOnw7BhIILZob0R~4vggpNB~rkTyC61IZKUDA9CCjsZLCcJS4PMy8l6ZMTuRZJUB6~vQXTPXLAV9BJSMwvySvPOiZ9sNwX3pmC31znG5vyoj2vPWULb7I5c8PlTDbQR6cyxpuecd4NeNus23EyPha6ziDP62x65GPBS4JBYHot0ypOCwHFv9emgCwZEI-6gRgiSqtOWV0nwwvjelK47GFRuAxX2CIE~yNuVouYuL-6gY2LMhsaO4U560Kr7Q5MNidfrsNAIA__","height":0,"width":0},{"testAttemptIndex":2,"size":361056,"takenAt":"2023-09-11T18:31:27.601Z","dimensions":{"width":2560,"height":1440},"multipart":false,"specName":"a.spec.js","testFailure":true,"scaled":true,"blackout":[],"duration":251,"testId":"r0","name":"screenshot","screenshotId":"Wk7BEnpe9ST5J9KdOXTyo","screenshotURL":"https://fs.currents.dev/64af8eee5411be7416b22d5f/Edt3woPHrTNJ.png?Expires=1694716308&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=sJcEERHSZWyZeo0o75pfKyJU1lFMWtzZ9LVth5CGKhFGdgy5gWgjyQ6bnr4A8opSoGSzr2waCLaT7Ca987oWpW-9HHquwAjBqb4tEa1~8ZHKenQRkRVUVcgx-kZSQxQBMBWgp6muMkvPefpckxZBtVGXmpwjNFiy1xXhGfB23Xm~FBBoUndTOIi0KCa1xTs26tQSSMqmH1BigII8QZ7KqqJwjsPojaxnw2GPgEctlj9g8SV7UXCDUX~~p-F1RVZ-73aT3ymIVFlaNGUkRqDdsbQK5M77I~YERWLed8ynB6wEw8Lk29lMnNBbHPbQGua5StlpqPPH5jKFMTSmNIfe2g__","height":0,"width":0}],"exception":null,"flaky":0,"videoUrl":null}},{"groupId":"run-api-smoke-2023-09-11T18:31:05.305Z","spec":"cypress/e2e/b.spec.js","instanceId":"yKgyF0ElxZwf","claimedAt":"2023-09-11T18:31:33.077Z","completedAt":"2023-09-11T18:31:57.169Z","machineId":"d7us8fBRmD3O","worker":null,"results":{"stats":{"duration":18519,"endedAt":"2023-09-11T18:31:56.588Z","startedAt":"2023-09-11T18:31:38.069Z","failures":1,"passes":2,"pending":0,"skipped":0,"suites":1,"tests":3,"wallClockDuration":18519,"wallClockStartedAt":"2023-09-11T18:31:38.069Z","wallClockEndedAt":"2023-09-11T18:31:56.588Z"},"screenshots":[{"testAttemptIndex":0,"size":377090,"takenAt":"2023-09-11T18:31:42.598Z","dimensions":{"width":2560,"height":1440},"multipart":false,"specName":"b.spec.js","testFailure":true,"scaled":true,"blackout":[],"duration":294,"testId":"r0","name":"screenshot","screenshotId":"qZQZBILZUyDE-XUYzovyJ","screenshotURL":"https://fs.currents.dev/64af8eee5411be7416b22d5f/aATWvPJyB0Q4.png?Expires=1694716308&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=En7yb939m1--KCvAM7kTkz3zwHjp4xYQHeQjTIWRmUP~Rkhj3FjFL8qaGECxqNUdYAwMHvi0jkZoSdqTv9qmLS5jXXh0ThSDcSyUOlrVIf3wm6dO50ffkKKpYp6BVwaYLCDMOMqiUmDp5D9bMxy58Uk2jQBrIo5X-rtvX57n7hJCCrzVygVpS2YlYDWqgvbbXdBoR3uhvFRQamuFjj5wH~L0yNq5pG01ssv1AbEMk3JhY9Dh3i~Oa8UbNyJmOpdywXnOgK5SgUcGbQbfy7MfRLCzy-GigP7ounhWCa~1BsJ7QejvmE2HO0BkfI9MI~T5981A7TH3jW07LvwQYVrhLg__","height":0,"width":0},{"testAttemptIndex":1,"size":377651,"takenAt":"2023-09-11T18:31:47.066Z","dimensions":{"width":2560,"height":1440},"multipart":false,"specName":"b.spec.js","testFailure":true,"scaled":true,"blackout":[],"duration":259,"testId":"r0","name":"screenshot","screenshotId":"v3P1zAvJ5V4BJqCbnn12m","screenshotURL":"https://fs.currents.dev/64af8eee5411be7416b22d5f/sh0s8e3ery0j.png?Expires=1694716308&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=ufzBSsqKF-3MNg9WlBf6ymIJHAzV9LbbtU3vmrjpHLPNN2wCa3rOI0gu5NUv3xkidXN1~0CxnlaHQzS4SElREFpojrmhDw82FHDj3ZJxdoTTtUuTm6ZVW619ZgGvpNhbuqxuulbQWbqLLX4SOUra-ks85Tl9iEnfcPKT1QAMd~ZRTFYql-sAxpBXQpynziHmvHCesMpK4d-GoImA93WVJj7wcQoNqdpv3Wqeu2~5sxBPg~kbA0QrwJP0PkvkO8l7KMc4tLqOVh4sUgi2gxLjhIx3YQOxokUmEDVmse5jwgMAynx6Ho7TBmsKYCDRxVCeK6NiQpDIi22KOIU6fFje2Q__","height":0,"width":0},{"testAttemptIndex":2,"size":378469,"takenAt":"2023-09-11T18:31:51.515Z","dimensions":{"width":2560,"height":1440},"multipart":false,"specName":"b.spec.js","testFailure":true,"scaled":true,"blackout":[],"duration":264,"testId":"r0","name":"screenshot","screenshotId":"gwwYVN29KlDCfgAZnTiOG","screenshotURL":"https://fs.currents.dev/64af8eee5411be7416b22d5f/AurV75v0KTOQ.png?Expires=1694716308&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=qh0DEa40g28QZBEydNtpxgKQkjBhLEEPnf-nA~l0piL-oGCFOYgtlfXha2GKOGxantRFJhz0aMQxR9dZ2mrtOecW4C~Tt3wbNgR0zw5JLwnIYOBF7FGWHHkTvV-4ckUqPVBPBhyYY~cF1CIYKHwd6~VjZkIxN~XxwPyfIg1zQANBEEfQ8sO0sFBY8ntR21w2G2UGXAylrsY56TE7OzT9WtIVd0blXJkgz7Ty~rwxPPR676TUUeApCOW7uH7OcPGSjKg~kUJFv8LCiTim01S60bys6nNpLVyHjT4wsuDKe2TNWy2a-qRmgPq-6giCeP-Xv0z2OIHoLXo49OO8G0zNAw__","height":0,"width":0},{"testAttemptIndex":0,"size":376145,"takenAt":"2023-09-11T18:31:56.102Z","dimensions":{"width":2560,"height":1440},"multipart":false,"specName":"b.spec.js","testFailure":true,"scaled":true,"blackout":[],"duration":232,"testId":"r2","name":"screenshot","screenshotId":"tif0iPvN99PNp66Mh_NaA","screenshotURL":"https://fs.currents.dev/64af8eee5411be7416b22d5f/EWDLpXtokz50.png?Expires=1694716308&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=tqcObPGPA1t-HyDBj4EWA0dLRCiXh0UyAMwpF~tqo581i3zWAOP~puDNfNIdxBfxHNPBb8BN7B7UnsH8u8SEEsGq5y3~toz3KQaictUxXJ1CkDPoPPH7SMpFWDRItb3lqofS8k19HXtklM~rB8mapTvjHBZpjNCushDXomhAmCPftIAEFn3~xZgpqZHfGUqRKGAmDbXgn3pFpViZYhliEDh1rNj88lRcgxbS64BBnY2VnDN8lt5GQyMGPck1v2siL-FFdL4E2ACsovDgpnpWXnIt7xp-smGBDND0pF9LF3GfM2PsgcgCkC4ywX57d9wKcsLXx4EiJJDe7v3HGZdrFw__","height":0,"width":0}],"exception":null,"flaky":1,"videoUrl":null}},{"groupId":"run-api-smoke-2023-09-11T18:31:05.305Z","spec":"cypress/e2e/c.spec.js","instanceId":"Ub9NxpQiezzI","claimedAt":"2023-09-11T18:31:08.935Z","completedAt":"2023-09-11T18:31:32.203Z","machineId":"d7us8fBRmD3O","worker":null,"results":{"stats":{"duration":63,"endedAt":"2023-09-11T18:31:31.800Z","startedAt":"2023-09-11T18:31:31.737Z","failures":0,"passes":0,"pending":1,"skipped":0,"suites":1,"tests":1,"wallClockDuration":63,"wallClockStartedAt":"2023-09-11T18:31:31.737Z","wallClockEndedAt":"2023-09-11T18:31:31.800Z"},"screenshots":[],"exception":null,"flaky":0,"videoUrl":null}},{"groupId":"run-api-smoke-2023-09-11T18:31:05.305Z","spec":"cypress/e2e/d.spec.js","instanceId":"pBNHNjONbgI3","claimedAt":"2023-09-11T18:31:08.929Z","completedAt":"2023-09-11T18:31:31.030Z","machineId":"d7us8fBRmD3O","worker":null,"results":{"stats":{"duration":1231,"endedAt":"2023-09-11T18:31:30.465Z","startedAt":"2023-09-11T18:31:29.234Z","failures":0,"passes":2,"pending":0,"skipped":0,"suites":1,"tests":2,"wallClockDuration":1231,"wallClockStartedAt":"2023-09-11T18:31:29.234Z","wallClockEndedAt":"2023-09-11T18:31:30.465Z"},"screenshots":[{"testAttemptIndex":0,"size":234575,"takenAt":"2023-09-11T18:31:29.481Z","dimensions":{"width":2000,"height":1320},"multipart":true,"pixelRatio":2,"name":"internal-assert-screenshot","specName":"d.spec.js","scaled":false,"blackout":[],"duration":741,"testId":"r0","screenshotId":"iRsgQifqr_-xam-bbZ-PH","screenshotURL":"https://fs.currents.dev/64af8eee5411be7416b22d5f/UXFAcqs2Udv8.png?Expires=1694716308&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=tXn8XmFZCNnupDVczYcXKWx1gYJyDd3it2MyCtgroyNX58eZmQxveu7r8ZpE0thQRGxp-zIBU3o6i5ATUJpAiHL0DnR~9~jXp2cUqih4hQghO1lYucVfsNRIU9dfop6pTok0yPWNMOwVn0OK20TS6RThUjdOnSjDdP3IzsbRxj1jcg5HkBu-DyMPAxtCtl~QbelaEPnn5uVxb-he38AX-TfPho-f3Aqw20XRSa11EjhzNpg8WLszHyIsKbnGTQC5HuJKvwVzLxiDYK6NF4QON-Y3CiKyFQfUlwmDOM2iRxyw1a9fJmrJ3PDpRjnJnM3VWRdDckJ0Ajwf7UoeSxhEwQ__","height":0,"width":0}],"exception":null,"flaky":0,"videoUrl":null}}],"completionState":"COMPLETE","status":"FAILED"}} \ No newline at end of file diff --git a/e2e/cypress-13-demo/data-references/ccy-1.10-cypress-13/cypress-cloud-output-reference.json b/e2e/cypress-13-demo/data-references/ccy-1.10-cypress-13/cypress-cloud-output-reference.json index 6180276..84048c6 100644 --- a/e2e/cypress-13-demo/data-references/ccy-1.10-cypress-13/cypress-cloud-output-reference.json +++ b/e2e/cypress-13-demo/data-references/ccy-1.10-cypress-13/cypress-cloud-output-reference.json @@ -1 +1 @@ -{"totalDuration":36314,"totalSuites":4,"totalPending":1,"totalFailed":2,"totalSkipped":0,"totalPassed":4,"totalTests":7,"runs":[{"stats":{"duration":14870,"endedAt":"2023-09-09T13:15:42.469Z","startedAt":"2023-09-09T13:15:27.599Z","failures":1,"passes":0,"pending":0,"skipped":0,"suites":1,"tests":1},"reporter":"spec","reporterStats":{"suites":1,"tests":1,"passes":0,"pending":0,"failures":1,"start":"2023-09-09T13:15:27.601Z","end":"2023-09-09T13:15:42.481Z","duration":14880},"spec":{"fileExtension":".js","baseName":"a.spec.js","fileName":"a","specFileExtension":".spec.js","relativeToCommonRoot":"a.spec.js","specType":"integration","name":"cypress/e2e/a.spec.js","relative":"cypress/e2e/a.spec.js","absolute":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/e2e/a.spec.js"},"error":null,"video":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/videos/a.spec.js.mp4","shouldUploadVideo":true,"hooks":[{"hookId":"h1","hookName":"before each","title":["\"before each\" hook"],"body":"() => {\n const currentTest = cy.state(\"ctx\").currentTest;\n if (currentTest) {\n handleBefore(currentTest);\n }\n}"},{"hookId":"h2","hookName":"before each","title":["\"before each\" hook"],"body":"function () {\n cy.visit(\"/\");\n}"},{"hookId":"h4","hookName":"after each","title":["\"after each\" hook"],"body":"function () {\n self.sendLogsToPrinter(self.collectorState.getCurrentLogStackIndex(), self.collectorState.getCurrentTest());\n }"},{"hookId":"h5","hookName":"after each","title":["\"after each\" hook"],"body":"() => {\n const currentTest = cy.state(\"ctx\").currentTest;\n if (currentTest) {\n handleAfter(currentTest);\n }\n}"},{"hookId":"h3","hookName":"after all","title":["\"after all\" hook"],"body":"function () {\n // Need to wait otherwise some last commands get omitted from logs.\n cy.task(CONSTANTS.TASK_NAME_OUTPUT, null, {log: false});\n }"}],"tests":[{"testId":"r3","title":["Failing test with 2 attempts","should try 2 times"],"state":"failed","body":"() => {\n cy.wrap(false).should('be.true');\n }","displayError":"AssertionError: Timed out retrying after 4000ms: expected false to be true\n at Context.eval (webpack://cypress-13-demo/./cypress/e2e/a.spec.js:5:19)","attempts":[{"state":"failed","error":{"name":"AssertionError","message":"AssertionError: Timed out retrying after 4000ms: expected false to be true","stack":"AssertionError: Timed out retrying after 4000ms: expected false to be true\n at Context.eval (webpack://cypress-13-demo/./cypress/e2e/a.spec.js:5:19)","codeFrame":{"line":5,"column":20,"originalFile":"cypress/e2e/a.spec.js","relativeFile":"e2e/cypress-13-demo/cypress/e2e/a.spec.js","absoluteFile":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/e2e/a.spec.js","frame":" 3 | retries: 2,\n 4 | }, () => {\n> 5 | cy.wrap(false).should('be.true');\n | ^\n 6 | });\n 7 | });\n 8 | ","language":"js"}},"timings":{"lifecycle":35,"before each":[{"hookId":"h1","fnDuration":18,"afterFnDuration":0},{"hookId":"h2","fnDuration":1380,"afterFnDuration":0}],"test":{"fnDuration":4009,"afterFnDuration":311},"after each":[{"hookId":"h4","fnDuration":17,"afterFnDuration":0}]},"wallClockStartedAt":"2023-09-09T13:15:27.604Z","wallClockDuration":5755,"videoTimestamp":null,"startedAt":"2023-09-09T13:15:27.604Z","duration":5755,"screenshots":[{"testAttemptIndex":0,"size":349117,"takenAt":"2023-09-09T13:15:33.051Z","dimensions":{"width":2560,"height":1440},"multipart":false,"specName":"a.spec.js","testFailure":true,"path":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/screenshots/a.spec.js/Failing test with 2 attempts -- should try 2 times (failed).png","scaled":true,"blackout":[],"duration":303,"testId":"r3","height":1440,"width":2560,"name":"screenshot"}]},{"state":"failed","error":{"name":"AssertionError","message":"AssertionError: Timed out retrying after 4000ms: expected false to be true","stack":"AssertionError: Timed out retrying after 4000ms: expected false to be true\n at Context.eval (webpack://cypress-13-demo/./cypress/e2e/a.spec.js:5:19)","codeFrame":{"line":5,"column":20,"originalFile":"cypress/e2e/a.spec.js","relativeFile":"e2e/cypress-13-demo/cypress/e2e/a.spec.js","absoluteFile":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/e2e/a.spec.js","frame":" 3 | retries: 2,\n 4 | }, () => {\n> 5 | cy.wrap(false).should('be.true');\n | ^\n 6 | });\n 7 | });\n 8 | ","language":"js"}},"timings":{"lifecycle":29,"before each":[{"hookId":"h1","fnDuration":8,"afterFnDuration":0},{"hookId":"h2","fnDuration":116,"afterFnDuration":0}],"test":{"fnDuration":4005,"afterFnDuration":210},"after each":[{"hookId":"h4","fnDuration":17,"afterFnDuration":0}]},"wallClockStartedAt":"2023-09-09T13:15:33.417Z","wallClockDuration":4369,"videoTimestamp":null,"startedAt":"2023-09-09T13:15:33.417Z","duration":4369,"screenshots":[{"testAttemptIndex":1,"size":361908,"takenAt":"2023-09-09T13:15:37.578Z","dimensions":{"width":2560,"height":1440},"multipart":false,"specName":"a.spec.js","testFailure":true,"path":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/screenshots/a.spec.js/Failing test with 2 attempts -- should try 2 times (failed) (attempt 2).png","scaled":true,"blackout":[],"duration":206,"testId":"r3","height":1440,"width":2560,"name":"screenshot"}]},{"state":"failed","error":{"name":"AssertionError","message":"AssertionError: Timed out retrying after 4000ms: expected false to be true","stack":"AssertionError: Timed out retrying after 4000ms: expected false to be true\n at Context.eval (webpack://cypress-13-demo/./cypress/e2e/a.spec.js:5:19)","codeFrame":{"line":5,"column":20,"originalFile":"cypress/e2e/a.spec.js","relativeFile":"e2e/cypress-13-demo/cypress/e2e/a.spec.js","absoluteFile":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/e2e/a.spec.js","frame":" 3 | retries: 2,\n 4 | }, () => {\n> 5 | cy.wrap(false).should('be.true');\n | ^\n 6 | });\n 7 | });\n 8 | ","language":"js"}},"timings":{"lifecycle":44,"before each":[{"hookId":"h1","fnDuration":8,"afterFnDuration":0},{"hookId":"h2","fnDuration":323,"afterFnDuration":0}],"test":{"fnDuration":3999,"afterFnDuration":209},"after each":[{"hookId":"h4","fnDuration":13,"afterFnDuration":0}]},"wallClockStartedAt":"2023-09-09T13:15:37.833Z","wallClockDuration":4585,"videoTimestamp":null,"startedAt":"2023-09-09T13:15:37.833Z","duration":4585,"screenshots":[{"testAttemptIndex":2,"size":362007,"takenAt":"2023-09-09T13:15:42.210Z","dimensions":{"width":2560,"height":1440},"multipart":false,"specName":"a.spec.js","testFailure":true,"path":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/screenshots/a.spec.js/Failing test with 2 attempts -- should try 2 times (failed) (attempt 3).png","scaled":true,"blackout":[],"duration":207,"testId":"r3","height":1440,"width":2560,"name":"screenshot"}]}]}]},{"stats":{"duration":1379,"endedAt":"2023-09-09T13:15:49.247Z","startedAt":"2023-09-09T13:15:47.868Z","failures":0,"passes":2,"pending":0,"skipped":0,"suites":1,"tests":2},"reporter":"spec","reporterStats":{"suites":1,"tests":2,"passes":2,"pending":0,"failures":0,"start":"2023-09-09T13:15:47.870Z","end":"2023-09-09T13:15:49.249Z","duration":1379},"spec":{"fileExtension":".js","baseName":"d.spec.js","fileName":"d","specFileExtension":".spec.js","relativeToCommonRoot":"d.spec.js","specType":"integration","name":"cypress/e2e/d.spec.js","relative":"cypress/e2e/d.spec.js","absolute":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/e2e/d.spec.js"},"error":null,"video":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/videos/d.spec.js.mp4","shouldUploadVideo":true,"hooks":[{"hookId":"h1","hookName":"before each","title":["\"before each\" hook"],"body":"() => {\n const currentTest = cy.state(\"ctx\").currentTest;\n if (currentTest) {\n handleBefore(currentTest);\n }\n}"},{"hookId":"h2","hookName":"before each","title":["\"before each\" hook"],"body":"function () {\n cy.visit(\"/\");\n}"},{"hookId":"h4","hookName":"after each","title":["\"after each\" hook"],"body":"function () {\n self.sendLogsToPrinter(self.collectorState.getCurrentLogStackIndex(), self.collectorState.getCurrentTest());\n }"},{"hookId":"h5","hookName":"after each","title":["\"after each\" hook"],"body":"() => {\n const currentTest = cy.state(\"ctx\").currentTest;\n if (currentTest) {\n handleAfter(currentTest);\n }\n}"},{"hookId":"h3","hookName":"after all","title":["\"after all\" hook"],"body":"function () {\n // Need to wait otherwise some last commands get omitted from logs.\n cy.task(CONSTANTS.TASK_NAME_OUTPUT, null, {log: false});\n }"}],"tests":[{"testId":"r3","title":["Passed test with screenshot, passed test with no screenshots","should assert and take a screenshot"],"state":"passed","body":"() => {\n // Assert that true is true\n cy.wrap(true).should('be.true');\n\n // Take a screenshot\n cy.screenshot('internal-assert-screenshot');\n }","displayError":null,"attempts":[{"state":"passed","error":null,"timings":{"lifecycle":32,"before each":[{"hookId":"h1","fnDuration":12,"afterFnDuration":1},{"hookId":"h2","fnDuration":391,"afterFnDuration":0}],"test":{"fnDuration":712,"afterFnDuration":0},"after each":[{"hookId":"h4","fnDuration":13,"afterFnDuration":0}]},"wallClockStartedAt":"2023-09-09T13:15:47.880Z","wallClockDuration":1149,"videoTimestamp":null,"startedAt":"2023-09-09T13:15:47.880Z","duration":1149,"screenshots":[{"testAttemptIndex":0,"size":234576,"takenAt":"2023-09-09T13:15:48.330Z","dimensions":{"width":2000,"height":1320},"multipart":true,"pixelRatio":2,"name":"internal-assert-screenshot","specName":"d.spec.js","path":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/screenshots/d.spec.js/internal-assert-screenshot.png","scaled":false,"blackout":[],"duration":704,"testId":"r3","height":1320,"width":2000}]}]},{"testId":"r4","title":["Passed test with screenshot, passed test with no screenshots","should assert that true is true"],"state":"passed","body":"() => {\n cy.wrap(true).should('be.true');\n }","displayError":null,"attempts":[{"state":"passed","error":null,"timings":{"lifecycle":17,"before each":[{"hookId":"h1","fnDuration":7,"afterFnDuration":0},{"hookId":"h2","fnDuration":134,"afterFnDuration":0}],"test":{"fnDuration":2,"afterFnDuration":0},"after each":[{"hookId":"h4","fnDuration":11,"afterFnDuration":0}]},"wallClockStartedAt":"2023-09-09T13:15:49.057Z","wallClockDuration":161,"videoTimestamp":null,"startedAt":"2023-09-09T13:15:49.057Z","duration":161,"screenshots":[]}]}]},{"stats":{"duration":61,"endedAt":"2023-09-09T13:15:52.222Z","startedAt":"2023-09-09T13:15:52.161Z","failures":0,"passes":0,"pending":1,"skipped":0,"suites":1,"tests":1},"reporter":"spec","reporterStats":{"suites":1,"tests":1,"passes":0,"pending":1,"failures":0,"start":"2023-09-09T13:15:52.163Z","end":"2023-09-09T13:15:52.225Z","duration":62},"spec":{"fileExtension":".js","baseName":"c.spec.js","fileName":"c","specFileExtension":".spec.js","relativeToCommonRoot":"c.spec.js","specType":"integration","name":"cypress/e2e/c.spec.js","relative":"cypress/e2e/c.spec.js","absolute":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/e2e/c.spec.js"},"error":null,"video":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/videos/c.spec.js.mp4","shouldUploadVideo":true,"hooks":[{"hookId":"h3","hookName":"after all","title":["\"after all\" hook"],"body":"function () {\n // Need to wait otherwise some last commands get omitted from logs.\n cy.task(CONSTANTS.TASK_NAME_OUTPUT, null, {log: false});\n }"}],"tests":[{"testId":"r0}","title":["Ignored test","should be a skipped test"],"state":"pending","body":"() => {\n cy.wrap(false).should('be.true');\n }","displayError":null,"attempts":[]}]},{"stats":{"duration":20004,"endedAt":"2023-09-09T13:16:19.050Z","startedAt":"2023-09-09T13:15:59.046Z","failures":1,"passes":2,"pending":0,"skipped":0,"suites":1,"tests":3},"reporter":"spec","reporterStats":{"suites":1,"tests":3,"passes":2,"pending":0,"failures":1,"start":"2023-09-09T13:15:59.048Z","end":"2023-09-09T13:16:19.054Z","duration":20006},"spec":{"fileExtension":".js","baseName":"b.spec.js","fileName":"b","specFileExtension":".spec.js","relativeToCommonRoot":"b.spec.js","specType":"integration","name":"cypress/e2e/b.spec.js","relative":"cypress/e2e/b.spec.js","absolute":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/e2e/b.spec.js"},"error":null,"video":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/videos/b.spec.js.mp4","shouldUploadVideo":true,"hooks":[{"hookId":"h1","hookName":"before each","title":["\"before each\" hook"],"body":"() => {\n const currentTest = cy.state(\"ctx\").currentTest;\n if (currentTest) {\n handleBefore(currentTest);\n }\n}"},{"hookId":"h2","hookName":"before each","title":["\"before each\" hook"],"body":"function () {\n cy.visit(\"/\");\n}"},{"hookId":"h4","hookName":"after each","title":["\"after each\" hook"],"body":"function () {\n self.sendLogsToPrinter(self.collectorState.getCurrentLogStackIndex(), self.collectorState.getCurrentTest());\n }"},{"hookId":"h5","hookName":"after each","title":["\"after each\" hook"],"body":"() => {\n const currentTest = cy.state(\"ctx\").currentTest;\n if (currentTest) {\n handleAfter(currentTest);\n }\n}"},{"hookId":"h3","hookName":"after all","title":["\"after all\" hook"],"body":"function () {\n // Need to wait otherwise some last commands get omitted from logs.\n cy.task(CONSTANTS.TASK_NAME_OUTPUT, null, {log: false});\n }"}],"tests":[{"testId":"r3","title":["Failing test with 2 attempts, passed test and flaky test with 2 attempts","should try 2 times"],"state":"failed","body":"() => {\n cy.wrap(false).should('be.true');\n }","displayError":"AssertionError: Timed out retrying after 4000ms: expected false to be true\n at Context.eval (webpack://cypress-13-demo/./cypress/e2e/b.spec.js:6:19)","attempts":[{"state":"failed","error":{"name":"AssertionError","message":"AssertionError: Timed out retrying after 4000ms: expected false to be true","stack":"AssertionError: Timed out retrying after 4000ms: expected false to be true\n at Context.eval (webpack://cypress-13-demo/./cypress/e2e/b.spec.js:6:19)","codeFrame":{"line":6,"column":20,"originalFile":"cypress/e2e/b.spec.js","relativeFile":"e2e/cypress-13-demo/cypress/e2e/b.spec.js","absoluteFile":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/e2e/b.spec.js","frame":" 4 | retries: 2,\n 5 | }, () => {\n> 6 | cy.wrap(false).should('be.true');\n | ^\n 7 | });\n 8 | \n 9 | it('should assert that true is true', () => {","language":"js"}},"timings":{"lifecycle":32,"before each":[{"hookId":"h1","fnDuration":17,"afterFnDuration":0},{"hookId":"h2","fnDuration":1310,"afterFnDuration":0}],"test":{"fnDuration":4019,"afterFnDuration":275},"after each":[{"hookId":"h4","fnDuration":22,"afterFnDuration":0}]},"wallClockStartedAt":"2023-09-09T13:15:59.052Z","wallClockDuration":5654,"videoTimestamp":null,"startedAt":"2023-09-09T13:15:59.052Z","duration":5654,"screenshots":[{"testAttemptIndex":0,"size":374371,"takenAt":"2023-09-09T13:16:04.433Z","dimensions":{"width":2560,"height":1440},"multipart":false,"specName":"b.spec.js","testFailure":true,"path":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/screenshots/b.spec.js/Failing test with 2 attempts, passed test and flaky test with 2 attempts -- should try 2 times (failed).png","scaled":true,"blackout":[],"duration":256,"testId":"r3","height":1440,"width":2560,"name":"screenshot"}]},{"state":"failed","error":{"name":"AssertionError","message":"AssertionError: Timed out retrying after 4000ms: expected false to be true","stack":"AssertionError: Timed out retrying after 4000ms: expected false to be true\n at Context.eval (webpack://cypress-13-demo/./cypress/e2e/b.spec.js:6:19)","codeFrame":{"line":6,"column":20,"originalFile":"cypress/e2e/b.spec.js","relativeFile":"e2e/cypress-13-demo/cypress/e2e/b.spec.js","absoluteFile":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/e2e/b.spec.js","frame":" 4 | retries: 2,\n 5 | }, () => {\n> 6 | cy.wrap(false).should('be.true');\n | ^\n 7 | });\n 8 | \n 9 | it('should assert that true is true', () => {","language":"js"}},"timings":{"lifecycle":28,"before each":[{"hookId":"h1","fnDuration":11,"afterFnDuration":0},{"hookId":"h2","fnDuration":118,"afterFnDuration":0}],"test":{"fnDuration":3992,"afterFnDuration":215},"after each":[{"hookId":"h4","fnDuration":12,"afterFnDuration":0}]},"wallClockStartedAt":"2023-09-09T13:16:04.774Z","wallClockDuration":4366,"videoTimestamp":null,"startedAt":"2023-09-09T13:16:04.774Z","duration":4366,"screenshots":[{"testAttemptIndex":1,"size":377109,"takenAt":"2023-09-09T13:16:08.927Z","dimensions":{"width":2560,"height":1440},"multipart":false,"specName":"b.spec.js","testFailure":true,"path":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/screenshots/b.spec.js/Failing test with 2 attempts, passed test and flaky test with 2 attempts -- should try 2 times (failed) (attempt 2).png","scaled":true,"blackout":[],"duration":212,"testId":"r3","height":1440,"width":2560,"name":"screenshot"}]},{"state":"failed","error":{"name":"AssertionError","message":"AssertionError: Timed out retrying after 4000ms: expected false to be true","stack":"AssertionError: Timed out retrying after 4000ms: expected false to be true\n at Context.eval (webpack://cypress-13-demo/./cypress/e2e/b.spec.js:6:19)","codeFrame":{"line":6,"column":20,"originalFile":"cypress/e2e/b.spec.js","relativeFile":"e2e/cypress-13-demo/cypress/e2e/b.spec.js","absoluteFile":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/e2e/b.spec.js","frame":" 4 | retries: 2,\n 5 | }, () => {\n> 6 | cy.wrap(false).should('be.true');\n | ^\n 7 | });\n 8 | \n 9 | it('should assert that true is true', () => {","language":"js"}},"timings":{"lifecycle":44,"before each":[{"hookId":"h1","fnDuration":11,"afterFnDuration":0},{"hookId":"h2","fnDuration":294,"afterFnDuration":0}],"test":{"fnDuration":3988,"afterFnDuration":216},"after each":[{"hookId":"h4","fnDuration":14,"afterFnDuration":0}]},"wallClockStartedAt":"2023-09-09T13:16:09.187Z","wallClockDuration":4554,"videoTimestamp":null,"startedAt":"2023-09-09T13:16:09.187Z","duration":4554,"screenshots":[{"testAttemptIndex":2,"size":376387,"takenAt":"2023-09-09T13:16:13.526Z","dimensions":{"width":2560,"height":1440},"multipart":false,"specName":"b.spec.js","testFailure":true,"path":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/screenshots/b.spec.js/Failing test with 2 attempts, passed test and flaky test with 2 attempts -- should try 2 times (failed) (attempt 3).png","scaled":true,"blackout":[],"duration":212,"testId":"r3","height":1440,"width":2560,"name":"screenshot"}]}]},{"testId":"r4","title":["Failing test with 2 attempts, passed test and flaky test with 2 attempts","should assert that true is true"],"state":"passed","body":"() => {\n cy.wrap(true).should('be.true');\n }","displayError":null,"attempts":[{"state":"passed","error":null,"timings":{"lifecycle":42,"before each":[{"hookId":"h1","fnDuration":11,"afterFnDuration":0},{"hookId":"h2","fnDuration":285,"afterFnDuration":0}],"test":{"fnDuration":2,"afterFnDuration":0},"after each":[{"hookId":"h4","fnDuration":11,"afterFnDuration":0}]},"wallClockStartedAt":"2023-09-09T13:16:13.797Z","wallClockDuration":341,"videoTimestamp":null,"startedAt":"2023-09-09T13:16:13.797Z","duration":341,"screenshots":[]}]},{"testId":"r5","title":["Failing test with 2 attempts, passed test and flaky test with 2 attempts","should fail on the first attempt and pass on the second"],"state":"passed","body":"() => {\n if (attempt === 0) {\n attempt++;\n cy.wrap(false).should('be.true'); // This will fail on the first attempt\n } else {\n cy.wrap(true).should('be.true'); // This will pass on the second attempt\n }\n }","displayError":null,"attempts":[{"state":"failed","error":{"name":"AssertionError","message":"AssertionError: Timed out retrying after 4000ms: expected false to be true","stack":"AssertionError: Timed out retrying after 4000ms: expected false to be true\n at Context.eval (webpack://cypress-13-demo/./cypress/e2e/b.spec.js:16:21)","codeFrame":{"line":16,"column":22,"originalFile":"cypress/e2e/b.spec.js","relativeFile":"e2e/cypress-13-demo/cypress/e2e/b.spec.js","absoluteFile":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/e2e/b.spec.js","frame":" 14 | if (attempt === 0) {\n 15 | attempt++;\n> 16 | cy.wrap(false).should('be.true'); // This will fail on the first attempt\n | ^\n 17 | } else {\n 18 | cy.wrap(true).should('be.true'); // This will pass on the second attempt\n 19 | }","language":"js"}},"timings":{"lifecycle":21,"before each":[{"hookId":"h1","fnDuration":9,"afterFnDuration":0},{"hookId":"h2","fnDuration":154,"afterFnDuration":0}],"test":{"fnDuration":3997,"afterFnDuration":210},"after each":[{"hookId":"h4","fnDuration":37,"afterFnDuration":0}]},"wallClockStartedAt":"2023-09-09T13:16:14.160Z","wallClockDuration":4394,"videoTimestamp":null,"startedAt":"2023-09-09T13:16:14.160Z","duration":4394,"screenshots":[{"testAttemptIndex":0,"size":380678,"takenAt":"2023-09-09T13:16:18.345Z","dimensions":{"width":2560,"height":1440},"multipart":false,"specName":"b.spec.js","testFailure":true,"path":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/screenshots/b.spec.js/Failing test with 2 attempts, passed test and flaky test with 2 attempts -- should fail on the first attempt and pass on the second (failed).png","scaled":true,"blackout":[],"duration":208,"testId":"r5","height":1440,"width":2560,"name":"screenshot"}]},{"state":"passed","error":null,"timings":{"lifecycle":35,"before each":[{"hookId":"h1","fnDuration":8,"afterFnDuration":0},{"hookId":"h2","fnDuration":345,"afterFnDuration":0}],"test":{"fnDuration":3,"afterFnDuration":0},"after each":[{"hookId":"h4","fnDuration":11,"afterFnDuration":1}]},"wallClockStartedAt":"2023-09-09T13:16:18.622Z","wallClockDuration":392,"videoTimestamp":null,"startedAt":"2023-09-09T13:16:18.622Z","duration":392,"screenshots":[]}]}]}],"startedTestsAt":"2023-09-09T13:15:27.599Z","endedTestsAt":"2023-09-09T13:16:19.050Z","config":{"additionalIgnorePattern":[],"animationDistanceThreshold":5,"arch":"arm64","autoOpen":false,"baseUrl":"https://todomvc.com/examples/vanillajs","blockHosts":null,"browsers":[{"name":"chrome","family":"chromium","channel":"stable","displayName":"Chrome","version":"116.0.5845.179","path":"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome","minSupportedVersion":64,"majorVersion":"116"},{"name":"edge","family":"chromium","channel":"stable","displayName":"Edge","version":"116.0.1938.76","path":"/Applications/Microsoft Edge.app/Contents/MacOS/Microsoft Edge","minSupportedVersion":79,"majorVersion":"116"},{"name":"electron","channel":"stable","family":"chromium","displayName":"Electron","version":"106.0.5249.51","path":"","majorVersion":106}],"chromeWebSecurity":true,"clientCertificates":[],"clientRoute":"/__/","configFile":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress.config.ts","cypressBinaryRoot":"/Users/miguelangarano/Library/Caches/Cypress/12.17.4/Cypress.app/Contents/Resources/app","cypressEnv":"production","defaultCommandTimeout":4000,"devServerPublicPathRoute":"/__cypress/src","downloadsFolder":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/downloads","env":{"currents_temp_file":"/var/folders/1l/tzj2dqys6js7w35f8rx2jsq00000gn/T/tmp-59500-OGDLdU8z0f9q","currents_debug_enabled":false},"excludeSpecPattern":"*.hot-update.js","execTimeout":60000,"experimentalCspAllowList":false,"experimentalFetchPolyfill":false,"experimentalInteractiveRunEvents":false,"experimentalMemoryManagement":false,"experimentalModifyObstructiveThirdPartyCode":false,"experimentalOriginDependencies":false,"experimentalRunAllSpecs":false,"experimentalSingleTabRunMode":false,"experimentalSkipDomainInjection":null,"experimentalSourceRewriting":false,"experimentalStudio":false,"experimentalWebKitSupport":false,"fileServerFolder":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo","fixturesFolder":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/fixtures","hosts":null,"includeShadowDom":false,"isInteractive":true,"isTextTerminal":true,"keystrokeDelay":0,"modifyObstructiveCode":true,"morgan":false,"namespace":"__cypress","numTestsKeptInMemory":0,"pageLoadTimeout":60000,"platform":"darwin","port":null,"projectId":null,"projectName":"cypress-13-demo","projectRoot":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo","rawJson":{"e2e":{"baseUrl":"https://todomvc.com/examples/vanillajs","supportFile":"cypress/support/e2e.ts","specPattern":"cypress/*/**/*.spec.js","setupNodeEvents":"[Function setupNodeEvents]"},"component":{"specPattern":["pages/__tests__/*.spec.tsx"],"setupNodeEvents":"[Function setupNodeEvents]","devServer":{"framework":"next","bundler":"webpack"}},"baseUrl":"https://todomvc.com/examples/vanillajs","supportFile":"cypress/support/e2e.ts","specPattern":"cypress/*/**/*.spec.js","setupNodeEvents":"[Function setupNodeEvents]","envFile":{},"projectRoot":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo","projectName":"cypress-13-demo","repoRoot":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13"},"redirectionLimit":20,"repoRoot":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13","report":true,"reporter":"spec","reporterOptions":null,"reporterRoute":"/__cypress/reporter","requestTimeout":5000,"resolved":{"animationDistanceThreshold":{"value":5,"from":"default"},"arch":{"value":"arm64","from":"default"},"baseUrl":{"value":"https://todomvc.com/examples/vanillajs","from":"config"},"blockHosts":{"value":null,"from":"default"},"chromeWebSecurity":{"value":true,"from":"default"},"clientCertificates":{"value":[],"from":"default"},"defaultCommandTimeout":{"value":4000,"from":"default"},"downloadsFolder":{"value":"cypress/downloads","from":"default"},"env":{"currents_temp_file":{"value":"/var/folders/1l/tzj2dqys6js7w35f8rx2jsq00000gn/T/tmp-59500-OGDLdU8z0f9q","from":"cli"},"currents_debug_enabled":{"value":false,"from":"cli"}},"execTimeout":{"value":60000,"from":"default"},"experimentalCspAllowList":{"value":false,"from":"default"},"experimentalFetchPolyfill":{"value":false,"from":"default"},"experimentalInteractiveRunEvents":{"value":false,"from":"default"},"experimentalRunAllSpecs":{"value":false,"from":"default"},"experimentalMemoryManagement":{"value":false,"from":"default"},"experimentalModifyObstructiveThirdPartyCode":{"value":false,"from":"default"},"experimentalSkipDomainInjection":{"value":null,"from":"default"},"experimentalOriginDependencies":{"value":false,"from":"default"},"experimentalSourceRewriting":{"value":false,"from":"default"},"experimentalSingleTabRunMode":{"value":false,"from":"default"},"experimentalStudio":{"value":false,"from":"default"},"experimentalWebKitSupport":{"value":false,"from":"default"},"fileServerFolder":{"value":"","from":"default"},"fixturesFolder":{"value":"cypress/fixtures","from":"default"},"excludeSpecPattern":{"value":"*.hot-update.js","from":"default"},"includeShadowDom":{"value":false,"from":"default"},"keystrokeDelay":{"value":0,"from":"default"},"modifyObstructiveCode":{"value":true,"from":"default"},"nodeVersion":{"from":"default"},"numTestsKeptInMemory":{"value":0,"from":"config"},"platform":{"value":"darwin","from":"default"},"pageLoadTimeout":{"value":60000,"from":"default"},"port":{"value":null,"from":"default"},"projectId":{"value":null,"from":"default"},"redirectionLimit":{"value":20,"from":"default"},"reporter":{"value":"spec","from":"default"},"reporterOptions":{"value":null,"from":"default"},"requestTimeout":{"value":5000,"from":"default"},"resolvedNodePath":{"value":null,"from":"default"},"resolvedNodeVersion":{"value":null,"from":"default"},"responseTimeout":{"value":30000,"from":"default"},"retries":{"value":{"runMode":0,"openMode":0},"from":"default"},"screenshotOnRunFailure":{"value":true,"from":"default"},"screenshotsFolder":{"value":"cypress/screenshots","from":"default"},"slowTestThreshold":{"value":10000,"from":"default"},"scrollBehavior":{"value":"top","from":"default"},"supportFile":{"value":"cypress/support/e2e.ts","from":"config"},"supportFolder":{"value":false,"from":"default"},"taskTimeout":{"value":60000,"from":"default"},"testIsolation":{"value":true,"from":"default"},"trashAssetsBeforeRuns":{"value":true,"from":"default"},"userAgent":{"value":null,"from":"default"},"video":{"value":true,"from":"default"},"videoCompression":{"value":32,"from":"default"},"videosFolder":{"value":"cypress/videos","from":"default"},"videoUploadOnPasses":{"value":true,"from":"default"},"viewportHeight":{"value":660,"from":"default"},"viewportWidth":{"value":1000,"from":"default"},"waitForAnimations":{"value":true,"from":"default"},"watchForFileChanges":{"value":false,"from":"config"},"specPattern":{"value":"cypress/*/**/*.spec.js","from":"config"},"browsers":{"value":[{"name":"chrome","family":"chromium","channel":"stable","displayName":"Chrome","version":"116.0.5845.179","path":"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome","minSupportedVersion":64,"majorVersion":"116"},{"name":"edge","family":"chromium","channel":"stable","displayName":"Edge","version":"116.0.1938.76","path":"/Applications/Microsoft Edge.app/Contents/MacOS/Microsoft Edge","minSupportedVersion":79,"majorVersion":"116"},{"name":"electron","channel":"stable","family":"chromium","displayName":"Electron","version":"106.0.5249.51","path":"","majorVersion":106}],"from":"runtime"},"hosts":{"value":null,"from":"default"},"isInteractive":{"value":true,"from":"default"}},"resolvedNodePath":"/Users/miguelangarano/.nvm/versions/node/v18.14.2/bin/node","resolvedNodeVersion":"18.14.2","responseTimeout":30000,"retries":{"runMode":0,"openMode":0},"screenshotOnRunFailure":true,"screenshotsFolder":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/screenshots","scrollBehavior":"top","setupNodeEvents":"[Function setupNodeEvents]","slowTestThreshold":10000,"socketId":"0arl6nt1ia","socketIoCookie":"__socket","socketIoRoute":"/__socket","specPattern":"cypress/*/**/*.spec.js","supportFile":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/support/e2e.ts","supportFolder":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/support","taskTimeout":60000,"testIsolation":true,"trashAssetsBeforeRuns":true,"userAgent":null,"version":"12.17.4","video":true,"videoCompression":32,"videoUploadOnPasses":true,"videosFolder":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/videos","viewportHeight":660,"viewportWidth":1000,"waitForAnimations":true,"watchForFileChanges":false,"testingType":"e2e"},"status":"finished","runUrl":"https://app.currents.dev/run/271a54ce36c805d4"} \ No newline at end of file +{"totalDuration":33566,"totalSuites":4,"totalPending":1,"totalFailed":2,"totalSkipped":0,"totalPassed":4,"totalTests":7,"runs":[{"stats":{"duration":13753,"endedAt":"2023-09-11T18:31:27.926Z","startedAt":"2023-09-11T18:31:14.173Z","failures":1,"passes":0,"pending":0,"skipped":0,"suites":1,"tests":1},"reporter":"spec","reporterStats":{"suites":1,"tests":1,"passes":0,"pending":0,"failures":1,"start":"2023-09-11T18:31:14.185Z","end":"2023-09-11T18:31:27.929Z","duration":13744},"spec":{"absolute":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/e2e/a.spec.js","fileExtension":".js","fileName":"a","name":"a.spec.js","relative":"cypress/e2e/a.spec.js"},"error":null,"video":null,"shouldUploadVideo":true,"tests":[{"attempts":[{"state":"failed","error":{"name":"AssertionError","message":"AssertionError: Timed out retrying after 4000ms: expected false to be true","stack":"AssertionError: Timed out retrying after 4000ms: expected false to be true\n at Context.eval (webpack://cypress-13-demo/./cypress/e2e/a.spec.js:5:19)","codeFrame":{"line":5,"column":20,"originalFile":"cypress/e2e/a.spec.js","relativeFile":"e2e/cypress-13-demo/cypress/e2e/a.spec.js","absoluteFile":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/e2e/a.spec.js","frame":" 3 | retries: 2,\n 4 | }, () => {\n> 5 | cy.wrap(false).should('be.true');\n | ^\n 6 | });\n 7 | });\n 8 | ","language":"js"}},"timings":{"lifecycle":22,"before each":[{"hookId":"h1","fnDuration":22,"afterFnDuration":0},{"hookId":"h2","fnDuration":435,"afterFnDuration":0}],"test":{"fnDuration":4017,"afterFnDuration":332},"after each":[{"hookId":"h4","fnDuration":22,"afterFnDuration":0}]},"wallClockStartedAt":"2023-09-11T18:31:14.188Z","wallClockDuration":4830,"videoTimestamp":15,"startedAt":"2023-09-11T18:31:14.188Z","duration":4830,"screenshots":[{"testAttemptIndex":0,"size":350623,"takenAt":"2023-09-11T18:31:18.689Z","dimensions":{"width":2560,"height":1440},"multipart":false,"specName":"a.spec.js","testFailure":true,"path":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/screenshots/a.spec.js/Failing test with 2 attempts -- should try 2 times (failed).png","scaled":true,"blackout":[],"duration":317,"testId":"r3","height":1440,"width":2560,"name":"screenshot"}]},{"state":"failed","error":{"name":"AssertionError","message":"AssertionError: Timed out retrying after 4000ms: expected false to be true","stack":"AssertionError: Timed out retrying after 4000ms: expected false to be true\n at Context.eval (webpack://cypress-13-demo/./cypress/e2e/a.spec.js:5:19)","codeFrame":{"line":5,"column":20,"originalFile":"cypress/e2e/a.spec.js","relativeFile":"e2e/cypress-13-demo/cypress/e2e/a.spec.js","absoluteFile":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/e2e/a.spec.js","frame":" 3 | retries: 2,\n 4 | }, () => {\n> 5 | cy.wrap(false).should('be.true');\n | ^\n 6 | });\n 7 | });\n 8 | ","language":"js"}},"timings":{"lifecycle":30,"before each":[{"hookId":"h1","fnDuration":11,"afterFnDuration":0},{"hookId":"h2","fnDuration":65,"afterFnDuration":0}],"test":{"fnDuration":3990,"afterFnDuration":230},"after each":[{"hookId":"h4","fnDuration":14,"afterFnDuration":0}]},"wallClockStartedAt":"2023-09-11T18:31:19.100Z","wallClockDuration":4329,"videoTimestamp":4927,"startedAt":"2023-09-11T18:31:19.100Z","duration":4329,"screenshots":[{"testAttemptIndex":1,"size":364504,"takenAt":"2023-09-11T18:31:23.201Z","dimensions":{"width":2560,"height":1440},"multipart":false,"specName":"a.spec.js","testFailure":true,"path":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/screenshots/a.spec.js/Failing test with 2 attempts -- should try 2 times (failed) (attempt 2).png","scaled":true,"blackout":[],"duration":228,"testId":"r3","height":1440,"width":2560,"name":"screenshot"}]},{"state":"failed","error":{"name":"AssertionError","message":"AssertionError: Timed out retrying after 4000ms: expected false to be true","stack":"AssertionError: Timed out retrying after 4000ms: expected false to be true\n at Context.eval (webpack://cypress-13-demo/./cypress/e2e/a.spec.js:5:19)","codeFrame":{"line":5,"column":20,"originalFile":"cypress/e2e/a.spec.js","relativeFile":"e2e/cypress-13-demo/cypress/e2e/a.spec.js","absoluteFile":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/e2e/a.spec.js","frame":" 3 | retries: 2,\n 4 | }, () => {\n> 5 | cy.wrap(false).should('be.true');\n | ^\n 6 | });\n 7 | });\n 8 | ","language":"js"}},"timings":{"lifecycle":29,"before each":[{"hookId":"h1","fnDuration":16,"afterFnDuration":0},{"hookId":"h2","fnDuration":56,"afterFnDuration":0}],"test":{"fnDuration":4000,"afterFnDuration":253},"after each":[{"hookId":"h4","fnDuration":13,"afterFnDuration":0}]},"wallClockStartedAt":"2023-09-11T18:31:23.495Z","wallClockDuration":4357,"videoTimestamp":9322,"startedAt":"2023-09-11T18:31:23.495Z","duration":4357,"screenshots":[{"testAttemptIndex":2,"size":361056,"takenAt":"2023-09-11T18:31:27.601Z","dimensions":{"width":2560,"height":1440},"multipart":false,"specName":"a.spec.js","testFailure":true,"path":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/screenshots/a.spec.js/Failing test with 2 attempts -- should try 2 times (failed) (attempt 3).png","scaled":true,"blackout":[],"duration":251,"testId":"r3","height":1440,"width":2560,"name":"screenshot"}]}],"displayError":"AssertionError: Timed out retrying after 4000ms: expected false to be true\n at Context.eval (webpack://cypress-13-demo/./cypress/e2e/a.spec.js:5:19)","duration":13680,"state":"failed","title":["Failing test with 2 attempts","should try 2 times"],"testId":"r3"}]},{"stats":{"duration":1231,"endedAt":"2023-09-11T18:31:30.465Z","startedAt":"2023-09-11T18:31:29.234Z","failures":0,"passes":2,"pending":0,"skipped":0,"suites":1,"tests":2},"reporter":"spec","reporterStats":{"suites":1,"tests":2,"passes":2,"pending":0,"failures":0,"start":"2023-09-11T18:31:29.239Z","end":"2023-09-11T18:31:30.468Z","duration":1229},"spec":{"absolute":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/e2e/d.spec.js","fileExtension":".js","fileName":"d","name":"d.spec.js","relative":"cypress/e2e/d.spec.js"},"error":null,"video":null,"shouldUploadVideo":true,"tests":[{"attempts":[{"state":"passed","error":null,"timings":{"lifecycle":25,"before each":[{"hookId":"h1","fnDuration":16,"afterFnDuration":0},{"hookId":"h2","fnDuration":178,"afterFnDuration":0}],"test":{"fnDuration":753,"afterFnDuration":0},"after each":[{"hookId":"h4","fnDuration":18,"afterFnDuration":0}]},"wallClockStartedAt":"2023-09-11T18:31:29.239Z","wallClockDuration":978,"videoTimestamp":5,"startedAt":"2023-09-11T18:31:29.239Z","duration":978,"screenshots":[{"testAttemptIndex":0,"size":234575,"takenAt":"2023-09-11T18:31:29.481Z","dimensions":{"width":2000,"height":1320},"multipart":true,"pixelRatio":2,"name":"internal-assert-screenshot","specName":"d.spec.js","path":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/screenshots/d.spec.js/internal-assert-screenshot.png","scaled":false,"blackout":[],"duration":741,"testId":"r3","height":1320,"width":2000}]}],"displayError":null,"duration":1039,"state":"passed","title":["Passed test with screenshot, passed test with no screenshots","should assert and take a screenshot"],"testId":"r3"},{"attempts":[{"state":"passed","error":null,"timings":{"lifecycle":20,"before each":[{"hookId":"h1","fnDuration":9,"afterFnDuration":0},{"hookId":"h2","fnDuration":95,"afterFnDuration":0}],"test":{"fnDuration":2,"afterFnDuration":0},"after each":[{"hookId":"h4","fnDuration":14,"afterFnDuration":0}]},"wallClockStartedAt":"2023-09-11T18:31:30.287Z","wallClockDuration":129,"videoTimestamp":1053,"startedAt":"2023-09-11T18:31:30.287Z","duration":129,"screenshots":[]}],"displayError":null,"duration":177,"state":"passed","title":["Passed test with screenshot, passed test with no screenshots","should assert that true is true"],"testId":"r4"}]},{"stats":{"duration":63,"endedAt":"2023-09-11T18:31:31.800Z","startedAt":"2023-09-11T18:31:31.737Z","failures":0,"passes":0,"pending":1,"skipped":0,"suites":1,"tests":1},"reporter":"spec","reporterStats":{"suites":1,"tests":1,"passes":0,"pending":1,"failures":0,"start":"2023-09-11T18:31:31.741Z","end":"2023-09-11T18:31:31.802Z","duration":61},"spec":{"absolute":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/e2e/c.spec.js","fileExtension":".js","fileName":"c","name":"c.spec.js","relative":"cypress/e2e/c.spec.js"},"error":null,"video":null,"shouldUploadVideo":true,"tests":[{"attempts":[],"displayError":null,"duration":36,"state":"pending","title":["Ignored test","should be a skipped test"],"testId":"r0}"}]},{"stats":{"duration":18519,"endedAt":"2023-09-11T18:31:56.588Z","startedAt":"2023-09-11T18:31:38.069Z","failures":1,"passes":2,"pending":0,"skipped":0,"suites":1,"tests":3},"reporter":"spec","reporterStats":{"suites":1,"tests":3,"passes":2,"pending":0,"failures":1,"start":"2023-09-11T18:31:38.073Z","end":"2023-09-11T18:31:56.591Z","duration":18518},"spec":{"absolute":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/e2e/b.spec.js","fileExtension":".js","fileName":"b","name":"b.spec.js","relative":"cypress/e2e/b.spec.js"},"error":null,"video":null,"shouldUploadVideo":true,"tests":[{"attempts":[{"state":"failed","error":{"name":"AssertionError","message":"AssertionError: Timed out retrying after 4000ms: expected false to be true","stack":"AssertionError: Timed out retrying after 4000ms: expected false to be true\n at Context.eval (webpack://cypress-13-demo/./cypress/e2e/b.spec.js:6:19)","codeFrame":{"line":6,"column":20,"originalFile":"cypress/e2e/b.spec.js","relativeFile":"e2e/cypress-13-demo/cypress/e2e/b.spec.js","absoluteFile":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/e2e/b.spec.js","frame":" 4 | retries: 2,\n 5 | }, () => {\n> 6 | cy.wrap(false).should('be.true');\n | ^\n 7 | });\n 8 | \n 9 | it('should assert that true is true', () => {","language":"js"}},"timings":{"lifecycle":16,"before each":[{"hookId":"h1","fnDuration":19,"afterFnDuration":1},{"hookId":"h2","fnDuration":449,"afterFnDuration":0}],"test":{"fnDuration":4017,"afterFnDuration":298},"after each":[{"hookId":"h4","fnDuration":15,"afterFnDuration":0}]},"wallClockStartedAt":"2023-09-11T18:31:38.091Z","wallClockDuration":4801,"videoTimestamp":22,"startedAt":"2023-09-11T18:31:38.091Z","duration":4801,"screenshots":[{"testAttemptIndex":0,"size":377090,"takenAt":"2023-09-11T18:31:42.598Z","dimensions":{"width":2560,"height":1440},"multipart":false,"specName":"b.spec.js","testFailure":true,"path":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/screenshots/b.spec.js/Failing test with 2 attempts, passed test and flaky test with 2 attempts -- should try 2 times (failed).png","scaled":true,"blackout":[],"duration":294,"testId":"r3","height":1440,"width":2560,"name":"screenshot"}]},{"state":"failed","error":{"name":"AssertionError","message":"AssertionError: Timed out retrying after 4000ms: expected false to be true","stack":"AssertionError: Timed out retrying after 4000ms: expected false to be true\n at Context.eval (webpack://cypress-13-demo/./cypress/e2e/b.spec.js:6:19)","codeFrame":{"line":6,"column":20,"originalFile":"cypress/e2e/b.spec.js","relativeFile":"e2e/cypress-13-demo/cypress/e2e/b.spec.js","absoluteFile":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/e2e/b.spec.js","frame":" 4 | retries: 2,\n 5 | }, () => {\n> 6 | cy.wrap(false).should('be.true');\n | ^\n 7 | });\n 8 | \n 9 | it('should assert that true is true', () => {","language":"js"}},"timings":{"lifecycle":29,"before each":[{"hookId":"h1","fnDuration":13,"afterFnDuration":0},{"hookId":"h2","fnDuration":60,"afterFnDuration":0}],"test":{"fnDuration":3994,"afterFnDuration":263},"after each":[{"hookId":"h4","fnDuration":13,"afterFnDuration":0}]},"wallClockStartedAt":"2023-09-11T18:31:42.966Z","wallClockDuration":4361,"videoTimestamp":4897,"startedAt":"2023-09-11T18:31:42.966Z","duration":4361,"screenshots":[{"testAttemptIndex":1,"size":377651,"takenAt":"2023-09-11T18:31:47.066Z","dimensions":{"width":2560,"height":1440},"multipart":false,"specName":"b.spec.js","testFailure":true,"path":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/screenshots/b.spec.js/Failing test with 2 attempts, passed test and flaky test with 2 attempts -- should try 2 times (failed) (attempt 2).png","scaled":true,"blackout":[],"duration":259,"testId":"r3","height":1440,"width":2560,"name":"screenshot"}]},{"state":"failed","error":{"name":"AssertionError","message":"AssertionError: Timed out retrying after 4000ms: expected false to be true","stack":"AssertionError: Timed out retrying after 4000ms: expected false to be true\n at Context.eval (webpack://cypress-13-demo/./cypress/e2e/b.spec.js:6:19)","codeFrame":{"line":6,"column":20,"originalFile":"cypress/e2e/b.spec.js","relativeFile":"e2e/cypress-13-demo/cypress/e2e/b.spec.js","absoluteFile":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/e2e/b.spec.js","frame":" 4 | retries: 2,\n 5 | }, () => {\n> 6 | cy.wrap(false).should('be.true');\n | ^\n 7 | });\n 8 | \n 9 | it('should assert that true is true', () => {","language":"js"}},"timings":{"lifecycle":30,"before each":[{"hookId":"h1","fnDuration":14,"afterFnDuration":0},{"hookId":"h2","fnDuration":76,"afterFnDuration":0}],"test":{"fnDuration":3994,"afterFnDuration":267},"after each":[{"hookId":"h4","fnDuration":13,"afterFnDuration":0}]},"wallClockStartedAt":"2023-09-11T18:31:47.394Z","wallClockDuration":4385,"videoTimestamp":9325,"startedAt":"2023-09-11T18:31:47.394Z","duration":4385,"screenshots":[{"testAttemptIndex":2,"size":378469,"takenAt":"2023-09-11T18:31:51.515Z","dimensions":{"width":2560,"height":1440},"multipart":false,"specName":"b.spec.js","testFailure":true,"path":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/screenshots/b.spec.js/Failing test with 2 attempts, passed test and flaky test with 2 attempts -- should try 2 times (failed) (attempt 3).png","scaled":true,"blackout":[],"duration":264,"testId":"r3","height":1440,"width":2560,"name":"screenshot"}]}],"displayError":"AssertionError: Timed out retrying after 4000ms: expected false to be true\n at Context.eval (webpack://cypress-13-demo/./cypress/e2e/b.spec.js:6:19)","duration":13707,"state":"failed","title":["Failing test with 2 attempts, passed test and flaky test with 2 attempts","should try 2 times"],"testId":"r3"},{"attempts":[{"state":"passed","error":null,"timings":{"lifecycle":15,"before each":[{"hookId":"h1","fnDuration":15,"afterFnDuration":0},{"hookId":"h2","fnDuration":101,"afterFnDuration":1}],"test":{"fnDuration":2,"afterFnDuration":0},"after each":[{"hookId":"h4","fnDuration":13,"afterFnDuration":0}]},"wallClockStartedAt":"2023-09-11T18:31:51.858Z","wallClockDuration":135,"videoTimestamp":13789,"startedAt":"2023-09-11T18:31:51.858Z","duration":135,"screenshots":[]}],"displayError":null,"duration":166,"state":"passed","title":["Failing test with 2 attempts, passed test and flaky test with 2 attempts","should assert that true is true"],"testId":"r4"},{"attempts":[{"state":"failed","error":{"name":"AssertionError","message":"AssertionError: Timed out retrying after 4000ms: expected false to be true","stack":"AssertionError: Timed out retrying after 4000ms: expected false to be true\n at Context.eval (webpack://cypress-13-demo/./cypress/e2e/b.spec.js:16:21)","codeFrame":{"line":16,"column":22,"originalFile":"cypress/e2e/b.spec.js","relativeFile":"e2e/cypress-13-demo/cypress/e2e/b.spec.js","absoluteFile":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/e2e/b.spec.js","frame":" 14 | if (attempt === 0) {\n 15 | attempt++;\n> 16 | cy.wrap(false).should('be.true'); // This will fail on the first attempt\n | ^\n 17 | } else {\n 18 | cy.wrap(true).should('be.true'); // This will pass on the second attempt\n 19 | }","language":"js"}},"timings":{"lifecycle":15,"before each":[{"hookId":"h1","fnDuration":10,"afterFnDuration":0},{"hookId":"h2","fnDuration":55,"afterFnDuration":0}],"test":{"fnDuration":3988,"afterFnDuration":236},"after each":[{"hookId":"h4","fnDuration":14,"afterFnDuration":0}]},"wallClockStartedAt":"2023-09-11T18:31:52.028Z","wallClockDuration":4308,"videoTimestamp":13959,"startedAt":"2023-09-11T18:31:52.028Z","duration":4308,"screenshots":[{"testAttemptIndex":0,"size":376145,"takenAt":"2023-09-11T18:31:56.102Z","dimensions":{"width":2560,"height":1440},"multipart":false,"specName":"b.spec.js","testFailure":true,"path":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/screenshots/b.spec.js/Failing test with 2 attempts, passed test and flaky test with 2 attempts -- should fail on the first attempt and pass on the second (failed).png","scaled":true,"blackout":[],"duration":232,"testId":"r5","height":1440,"width":2560,"name":"screenshot"}]},{"state":"passed","error":null,"timings":{"lifecycle":22,"before each":[{"hookId":"h1","fnDuration":10,"afterFnDuration":0},{"hookId":"h2","fnDuration":108,"afterFnDuration":0}],"test":{"fnDuration":3,"afterFnDuration":0},"after each":[{"hookId":"h4","fnDuration":12,"afterFnDuration":0}]},"wallClockStartedAt":"2023-09-11T18:31:56.393Z","wallClockDuration":144,"videoTimestamp":18324,"startedAt":"2023-09-11T18:31:56.393Z","duration":144,"screenshots":[]}],"displayError":null,"duration":4549,"state":"passed","title":["Failing test with 2 attempts, passed test and flaky test with 2 attempts","should fail on the first attempt and pass on the second"],"testId":"r5"}]}],"startedTestsAt":"2023-09-11T18:31:14.173Z","endedTestsAt":"2023-09-11T18:31:56.588Z","config":{"additionalIgnorePattern":[],"animationDistanceThreshold":5,"arch":"arm64","autoOpen":false,"baseUrl":"https://todomvc.com/examples/vanillajs","blockHosts":null,"browsers":[{"name":"chrome","family":"chromium","channel":"stable","displayName":"Chrome","version":"116.0.5845.179","path":"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome","minSupportedVersion":64,"majorVersion":"116"},{"name":"edge","family":"chromium","channel":"stable","displayName":"Edge","version":"116.0.1938.76","path":"/Applications/Microsoft Edge.app/Contents/MacOS/Microsoft Edge","minSupportedVersion":79,"majorVersion":"116"},{"name":"electron","channel":"stable","family":"chromium","displayName":"Electron","version":"106.0.5249.51","path":"","majorVersion":106}],"chromeWebSecurity":true,"clientCertificates":[],"clientRoute":"/__/","configFile":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress.config.ts","cypressBinaryRoot":"/Users/miguelangarano/Library/Caches/Cypress/13.1.0/Cypress.app/Contents/Resources/app","cypressEnv":"production","defaultCommandTimeout":4000,"devServerPublicPathRoute":"/__cypress/src","downloadsFolder":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/downloads","env":{"currents_temp_file":"/var/folders/1l/tzj2dqys6js7w35f8rx2jsq00000gn/T/tmp-99169-g8dlNEKJFHhz","currents_debug_enabled":false},"excludeSpecPattern":"*.hot-update.js","execTimeout":60000,"experimentalCspAllowList":false,"experimentalFetchPolyfill":false,"experimentalInteractiveRunEvents":false,"experimentalMemoryManagement":false,"experimentalModifyObstructiveThirdPartyCode":false,"experimentalOriginDependencies":false,"experimentalRunAllSpecs":false,"experimentalSingleTabRunMode":false,"experimentalSkipDomainInjection":null,"experimentalSourceRewriting":false,"experimentalStudio":false,"experimentalWebKitSupport":false,"fileServerFolder":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo","fixturesFolder":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/fixtures","hideCommandLog":false,"hideRunnerUi":false,"hosts":null,"includeShadowDom":false,"isInteractive":true,"isTextTerminal":true,"keystrokeDelay":0,"modifyObstructiveCode":true,"morgan":false,"namespace":"__cypress","numTestsKeptInMemory":0,"pageLoadTimeout":60000,"platform":"darwin","port":null,"projectId":null,"projectName":"cypress-13-demo","projectRoot":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo","protocolEnabled":false,"rawJson":{"e2e":{"baseUrl":"https://todomvc.com/examples/vanillajs","supportFile":"cypress/support/e2e.ts","specPattern":"cypress/*/**/*.spec.js","setupNodeEvents":"[Function setupNodeEvents]"},"component":{"specPattern":["pages/__tests__/*.spec.tsx"],"setupNodeEvents":"[Function setupNodeEvents]","devServer":{"framework":"next","bundler":"webpack"}},"baseUrl":"https://todomvc.com/examples/vanillajs","supportFile":"cypress/support/e2e.ts","specPattern":"cypress/*/**/*.spec.js","setupNodeEvents":"[Function setupNodeEvents]","envFile":{},"projectRoot":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo","projectName":"cypress-13-demo","repoRoot":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13"},"redirectionLimit":20,"repoRoot":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13","report":true,"reporter":"spec","reporterOptions":null,"reporterRoute":"/__cypress/reporter","requestTimeout":5000,"resolved":{"animationDistanceThreshold":{"value":5,"from":"default"},"arch":{"value":"arm64","from":"default"},"baseUrl":{"value":"https://todomvc.com/examples/vanillajs","from":"config"},"blockHosts":{"value":null,"from":"default"},"chromeWebSecurity":{"value":true,"from":"default"},"clientCertificates":{"value":[],"from":"default"},"defaultCommandTimeout":{"value":4000,"from":"default"},"downloadsFolder":{"value":"cypress/downloads","from":"default"},"env":{"currents_temp_file":{"value":"/var/folders/1l/tzj2dqys6js7w35f8rx2jsq00000gn/T/tmp-99169-g8dlNEKJFHhz","from":"cli"},"currents_debug_enabled":{"value":false,"from":"cli"}},"execTimeout":{"value":60000,"from":"default"},"experimentalCspAllowList":{"value":false,"from":"default"},"experimentalFetchPolyfill":{"value":false,"from":"default"},"experimentalInteractiveRunEvents":{"value":false,"from":"default"},"experimentalRunAllSpecs":{"value":false,"from":"default"},"experimentalMemoryManagement":{"value":false,"from":"default"},"experimentalModifyObstructiveThirdPartyCode":{"value":false,"from":"default"},"experimentalSkipDomainInjection":{"value":null,"from":"default"},"experimentalOriginDependencies":{"value":false,"from":"default"},"experimentalSourceRewriting":{"value":false,"from":"default"},"experimentalSingleTabRunMode":{"value":false,"from":"default"},"experimentalStudio":{"value":false,"from":"default"},"experimentalWebKitSupport":{"value":false,"from":"default"},"fileServerFolder":{"value":"","from":"default"},"fixturesFolder":{"value":"cypress/fixtures","from":"default"},"excludeSpecPattern":{"value":"*.hot-update.js","from":"default"},"includeShadowDom":{"value":false,"from":"default"},"keystrokeDelay":{"value":0,"from":"default"},"modifyObstructiveCode":{"value":true,"from":"default"},"numTestsKeptInMemory":{"value":0,"from":"config"},"platform":{"value":"darwin","from":"default"},"pageLoadTimeout":{"value":60000,"from":"default"},"port":{"value":null,"from":"default"},"projectId":{"value":null,"from":"default"},"redirectionLimit":{"value":20,"from":"default"},"reporter":{"value":"spec","from":"default"},"reporterOptions":{"value":null,"from":"default"},"requestTimeout":{"value":5000,"from":"default"},"resolvedNodePath":{"value":null,"from":"default"},"resolvedNodeVersion":{"value":null,"from":"default"},"responseTimeout":{"value":30000,"from":"default"},"retries":{"value":{"runMode":0,"openMode":0},"from":"default"},"screenshotOnRunFailure":{"value":true,"from":"default"},"screenshotsFolder":{"value":"cypress/screenshots","from":"default"},"slowTestThreshold":{"value":10000,"from":"default"},"scrollBehavior":{"value":"top","from":"default"},"supportFile":{"value":"cypress/support/e2e.ts","from":"config"},"supportFolder":{"value":false,"from":"default"},"taskTimeout":{"value":60000,"from":"default"},"testIsolation":{"value":true,"from":"default"},"trashAssetsBeforeRuns":{"value":true,"from":"default"},"userAgent":{"value":null,"from":"default"},"video":{"value":false,"from":"default"},"videoCompression":{"value":false,"from":"default"},"videosFolder":{"value":"cypress/videos","from":"default"},"viewportHeight":{"value":660,"from":"default"},"viewportWidth":{"value":1000,"from":"default"},"waitForAnimations":{"value":true,"from":"default"},"watchForFileChanges":{"value":false,"from":"config"},"specPattern":{"value":"cypress/*/**/*.spec.js","from":"config"},"browsers":{"value":[{"name":"chrome","family":"chromium","channel":"stable","displayName":"Chrome","version":"116.0.5845.179","path":"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome","minSupportedVersion":64,"majorVersion":"116"},{"name":"edge","family":"chromium","channel":"stable","displayName":"Edge","version":"116.0.1938.76","path":"/Applications/Microsoft Edge.app/Contents/MacOS/Microsoft Edge","minSupportedVersion":79,"majorVersion":"116"},{"name":"electron","channel":"stable","family":"chromium","displayName":"Electron","version":"106.0.5249.51","path":"","majorVersion":106}],"from":"runtime"},"hosts":{"value":null,"from":"default"},"isInteractive":{"value":true,"from":"default"}},"resolvedNodePath":"/Users/miguelangarano/.nvm/versions/node/v18.14.2/bin/node","resolvedNodeVersion":"18.14.2","responseTimeout":30000,"retries":{"runMode":0,"openMode":0},"screenshotOnRunFailure":true,"screenshotsFolder":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/screenshots","scrollBehavior":"top","setupNodeEvents":"[Function setupNodeEvents]","slowTestThreshold":10000,"socketId":"n25sos0gqh","socketIoCookie":"__socket","socketIoRoute":"/__socket","specPattern":"cypress/*/**/*.spec.js","supportFile":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/support/e2e.ts","supportFolder":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/support","taskTimeout":60000,"testIsolation":true,"trashAssetsBeforeRuns":true,"userAgent":null,"version":"13.1.0","video":false,"videoCompression":false,"videosFolder":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/videos","viewportHeight":660,"viewportWidth":1000,"waitForAnimations":true,"watchForFileChanges":false,"testingType":"e2e"},"status":"finished","runUrl":"https://app.currents.dev/run/0dad0cefea86a428"} \ No newline at end of file diff --git a/e2e/cypress-13-demo/data-references/ccy-1.9.4-cypress-12/currents-api-output-reference.json b/e2e/cypress-13-demo/data-references/ccy-1.9.4-cypress-12/currents-api-output-reference.json index deaabd7..96b55c5 100644 --- a/e2e/cypress-13-demo/data-references/ccy-1.9.4-cypress-12/currents-api-output-reference.json +++ b/e2e/cypress-13-demo/data-references/ccy-1.9.4-cypress-12/currents-api-output-reference.json @@ -1 +1 @@ -{"status":"OK","data":{"runId":"6f943a835aca8b4f","projectId":"2cI1I5","createdAt":"2023-09-08T03:26:39.793Z","tags":[],"cypressVersion":"12.17.4","cancellation":null,"timeout":{"isTimeout":false},"groups":[{"groupId":"run-api-smoke-2023-09-08T03:26:36.052Z","platform":{"osName":"darwin","osVersion":"22.5.0","browserName":"Electron","browserVersion":"106.0.5249.51"},"createdAt":"2023-09-08T03:26:39.793Z","instances":{"overall":4,"claimed":4,"complete":4,"passes":2,"failures":2},"tests":{"overall":7,"passes":4,"failures":2,"pending":1,"skipped":0,"retries":1,"flaky":1}}],"meta":{"ciBuildId":"run-api-smoke-2023-09-08T03:26:36.052Z","commit":{"branch":"fix/cypress-13-validation","remoteOrigin":null,"authorEmail":"miguelangarano@gmail.com","authorName":"Miguel Langarano","message":"added viewer for results comparison\n","sha":"675f830a7b1fb6ff74de7830a312bc8fb417f8ce"},"platform":{"osName":"darwin","osVersion":"22.5.0","browserName":"Electron","browserVersion":"106.0.5249.51"}},"specs":[{"groupId":"run-api-smoke-2023-09-08T03:26:36.052Z","spec":"cypress/e2e/a.spec.js","instanceId":"UvwcsmMNZYZo","claimedAt":"2023-09-08T03:26:40.339Z","completedAt":"2023-09-08T03:27:01.544Z","machineId":"1OGNRsYXmc6T","worker":null,"results":{"videoUrl":"https://fs.currents.dev/64af8eee5411be7416b22d5f/UvwcsmMNZYZo_bhdh6SqfUfJV.mp4?Expires=1694402849&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=RaYxFGecTNV3OWWxJQBTnKipuLBm-Z50XUum-NtYsqsv97HG~9BaxNBXMqaiagOKGr8zowM0zMM6nhLeoXE9g4-K8iBOAv8Ez0xASLT8fgRUA~z4PNSnv-hiuaT1m0g33~eBAI5xuk6dRLeqVf-x37Ev~xLX4bldOsSJ0HrcgfDaRpISCy8~1vumyrS9SVIS93EgCy1nOPmrlMnx-PV5M37oosKYNz3tA~YsorHcjQP~KweHerxmLhUjOyMXIuvQWe-Xaa8kCXltjys4-QSi2~pGrX8ArcDveZQ~ukUO9makARRqsoANrBm4ZUMUC2ATNvhhqNpL-98~jItDpFRRjg__","stats":{"duration":13947,"endedAt":"2023-09-08T03:26:59.631Z","startedAt":"2023-09-08T03:26:45.684Z","failures":1,"passes":0,"pending":0,"skipped":0,"suites":1,"tests":1,"wallClockDuration":13947,"wallClockStartedAt":"2023-09-08T03:26:45.684Z","wallClockEndedAt":"2023-09-08T03:26:59.631Z"},"screenshots":[{"screenshotId":"BhmIYMZH33yWpSIfVsDZq","name":"screenshot","testId":"r0","testAttemptIndex":0,"takenAt":"2023-09-08T03:26:50.486Z","screenshotURL":"https://fs.currents.dev/64af8eee5411be7416b22d5f/dh7xKpIdsolZ.png?Expires=1694402849&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=EZi3YON9~M0vPswgja9~uX7l2VjyDfAXEFoahI4S4wpVFA3c~L5KWl69Lw9JcN1fpndGNU~EmFuDT6d9fh38leLrt-dtBdd98oTWsMzWCgU4huANp5gkF22n8LJ99PJqtwyxP5J9m3yHR0Sn4Tv2AQExVNtmjAWM~cJdrO0u7hEjFp5W-i~pN~-9tYvnMlT~eEDhFN057tCUx2Nqdh1s1NHdjJsJgU9F1Yr~mHvV0nzKkf9khTsEG-KeHP5VxhltQzk68QNv3ytCtpbMMpq7z7ubcJsOT7Rk8E7hbjSINt3wq69Vy0G9CDe4U3jA~cEJPVZ6pnPuaCV5TJTaFyM7~Q__","height":0,"width":0},{"screenshotId":"jyku9VtXtsjeq_eZiG3s9","name":"screenshot","testId":"r0","testAttemptIndex":1,"takenAt":"2023-09-08T03:26:54.942Z","screenshotURL":"https://fs.currents.dev/64af8eee5411be7416b22d5f/JGy1yDNmoM9E.png?Expires=1694402849&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=eCqTDLG9IAXVXEldGbSKSOvtyYGTiVUvJv2Tgu3o5eNOHHOWsidB6-~U4wW~PKpZfftVmR5U86pJFgetOSAgc36I7BwMqo7LvAGOh92~VKthRde2hTte5NJNgjj4ZdW90uCCgkGz3SiIf~vHKK2FdosGHkWRJZChQQkOYE8iGTBMw4Iq~LIA4d70E2OubSKUbYJ-B96mL53EBQhdRfkiSUYCTpO2ReoS3sJdFJx3mGWB5AGpPsOopZa1iSYKrJsljZmuBefXKNUHKYw3cNu9K9KThtdMJAA0Kt5-EtB1u4UAGw58i1TJPV5Tc35YqK7gJmeZCu1a5j-JipBO3EreNQ__","height":0,"width":0},{"screenshotId":"2FIfErAPtl2b2vsgJQhc5","name":"screenshot","testId":"r0","testAttemptIndex":2,"takenAt":"2023-09-08T03:26:59.369Z","screenshotURL":"https://fs.currents.dev/64af8eee5411be7416b22d5f/06jiVfjeiszk.png?Expires=1694402849&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=qMvUYaN0I5AgYMomaLf0L5N-~WhAVTzgRi0MZPeq1qIaa1YzqwnT8dQb~v670hIq0QIa8lnS2iCloyzJKHQPbkLq~uKx-PG8UbhBBvWWyr0NpjiZ4gUfopSj5eVnyjcDXvkBJNST8ZBuKaIjX9HL630fH9PPef5Qs3TFbxuoIB7A1xSfBLFPZGArvH3rivcNGDkZ3VLEsW1p14DhkAAsYONYtM8kLGivmzTtsFdR3i7s6cu1HIbUorIiYvisiV-hmWXfrr1FrrcXFzfogaIo1JY-Mr-HxxE3zg2vO-2-uX0d0~9kLgIEkkpieTRdVL6wJ1H03RvDZtMK38Jlm6gBRA__","height":0,"width":0}],"exception":null,"flaky":0}},{"groupId":"run-api-smoke-2023-09-08T03:26:36.052Z","spec":"cypress/e2e/b.spec.js","instanceId":"zdWGdtcaCuQn","claimedAt":"2023-09-08T03:26:40.357Z","completedAt":"2023-09-08T03:27:34.715Z","machineId":"1OGNRsYXmc6T","worker":null,"results":{"videoUrl":"https://fs.currents.dev/64af8eee5411be7416b22d5f/zdWGdtcaCuQn_8UpWRCgEUGLI.mp4?Expires=1694402849&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=kU5KiY7cE84BrwFb8laM7Zl2ALxWdexwq22K-ktG5o6Q-hv-fE8Ko-fyp0VPlQmWTkQJRKq9ZpVMpe-3jaFOZOUUi9ExXfL2AfHY3cWLg8gS0-oiEDWP6S38fEloWL8QWsFV1lpT8G23LU76zzAb-IkzTQ5EumkDy1rwcY8XZ4D9O5QPCons88f9u5vacMUfGgLFXVR7MwX4HkME5PuFcaea~izao428Ff-Pg4zlUcE~2jWYQz0VGJXznu68uMC0PNINliv6Rz555Az-zblIwiaCjIobrRRCq~g1aohyppeUbD-5x2uEJ8~rOc0DOEQZMxAXmjhv02Gu3EGibQDdBg__","stats":{"duration":20745,"endedAt":"2023-09-08T03:27:32.145Z","startedAt":"2023-09-08T03:27:11.400Z","failures":1,"passes":2,"pending":0,"skipped":0,"suites":1,"tests":3,"wallClockDuration":20745,"wallClockStartedAt":"2023-09-08T03:27:11.400Z","wallClockEndedAt":"2023-09-08T03:27:32.145Z"},"screenshots":[{"screenshotId":"Qj1yY2Vneuehs3CfGypSC","name":"screenshot","testId":"r0","testAttemptIndex":0,"takenAt":"2023-09-08T03:27:15.638Z","screenshotURL":"https://fs.currents.dev/64af8eee5411be7416b22d5f/AGusL0mLRpOv.png?Expires=1694402849&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=tXlK3RlGbX0oK1Z-A8lgK4XcseRE0UH6FqBKYJ7zxTuTk2eFG46R6oGLn6JG~HEBG2kGz80iznDdQCq77ehmsnCxBf0~e8iel6kNIjImajb2XXBQVjc-NieJ7Agxlvt2KT-3Pki7YvzL5xqVzpFoNAPyKk5T~2H5A5JeSNmUUoHGlKdegeoppRH58KjojRgZU3i8fHk7j4oI4bZdLYl7vGOEUMhwECZAB3W1aBm3zve3Ij6vFRu1cMpk7SFil83MdKQo4-795Q96JWAqF3~bjhg4b4fnc7fLJQe4gKZm7t~g~EimFYDWhujXkXjBNVRpmEMqg1fa330afVwyVyG5vw__","height":0,"width":0},{"screenshotId":"YbI1DbeNflu_3-vTrLVrV","name":"screenshot","testId":"r0","testAttemptIndex":1,"takenAt":"2023-09-08T03:27:20.065Z","screenshotURL":"https://fs.currents.dev/64af8eee5411be7416b22d5f/juCd0WOBa6Gv.png?Expires=1694402849&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=L3HDwbOzbcd80A1DjlqH9HO9Om9iVi9HD3gUlFms7y8v0DExYVJPuBKnhilSYSRNBjaF4cdKEiCeTRzVM2DDArpDqiFx~OR5vlzEixsC3SVNe0Op7or2dlaFka-pZVCjjFNSDx0uJS9qs5OhB93sMH340c8x57K1hdLPGbeHXr0jekc6TsLUgDi7JA85ZCa1t3BbFdbzRHfWqRaAHjIOu7kdHJYHEhh-WK2~k0KNqoq6TNLFFehEo5qdinWy8mxQmCzw~seufs-7EOnaTwlyVsMl1xlvVzm3VGU8TKVbp3jSnWLb8fdGCfUN9s3iFJYKn0ie17IitwNRdSW5-9tzug__","height":0,"width":0},{"screenshotId":"ysN7-f-IGi9SuBfWeh-Ln","name":"screenshot","testId":"r0","testAttemptIndex":2,"takenAt":"2023-09-08T03:27:24.443Z","screenshotURL":"https://fs.currents.dev/64af8eee5411be7416b22d5f/vUWYbwFRpZvK.png?Expires=1694402849&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=YKiaMUdNYhNK~2YGWg0pAkjZaPW65oSWP52~lol9v9hTA91EyaQwa-ObUvYYvJhGZGb72Ddyo-UlsksY6PwwFHeW~5Rxgv3HCqY5dF2yFc63Rug8bSn9kQ6aT0Jqrlgm0J3HxEmZ2PvY7q6l5aixcZRef0HARdhK3Co743Kxb7wK73rrdifLgTUe3py5E0M9CArj1fJW6f6iZhXKdtHdSGhQz1mgOlpQtTJ2MtVvQUO8-0ERuJJ0tAT6Wi8EFunTzAmTH5KlJMH9b5bNS3AwR4pyPqG8N8y~aeHjL~zmHYE6joRmkKYye9XGGxZ2g73U2-VSZQNRST2wq5gJf6cpZg__","height":0,"width":0},{"screenshotId":"pJtB86p_uQ04UWCWJxRRU","name":"screenshot","testId":"r2","testAttemptIndex":0,"takenAt":"2023-09-08T03:27:31.673Z","screenshotURL":"https://fs.currents.dev/64af8eee5411be7416b22d5f/wub3R0PgzyhS.png?Expires=1694402849&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=siAwsu2rDmnAOLnIcTEv1nHjUpqf1cfs3mTq4g3ivyEZL4j9SpM~i0ieQobkROGrWbeubiJKSRKnWAUgom~U33CiW~NXzjOYLEcCCOFOVg~q0YylTqWN~JsaSvlF3uxpuIDYpA1tacSQL4QkAl0bdmBBkFjei2XAPiAkdzVFEeloDbhBN7AOfQ2D5TAkCWRJW08Pm3bl7uG7wcdgGP40T0UPCOP2ABC5FhH3FwCULO8tbr2zdAapUB3NkcNscMxMCfXRGv77kFaO3o485tZoScigiGTS4FLiPTXJP40kTbURBgJ5R~Ol1Pil~szWAeMPRXw3f3WKNJOszsuDJvq6YA__","height":0,"width":0}],"exception":null,"flaky":1}},{"groupId":"run-api-smoke-2023-09-08T03:26:36.052Z","spec":"cypress/e2e/c.spec.js","instanceId":"PV4tL5vDMpv9","claimedAt":"2023-09-08T03:26:40.351Z","completedAt":"2023-09-08T03:27:10.418Z","machineId":"1OGNRsYXmc6T","worker":null,"results":{"videoUrl":"https://fs.currents.dev/64af8eee5411be7416b22d5f/PV4tL5vDMpv9_fGFwQBQMjufh.mp4?Expires=1694402849&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=rZquPnQgOf-VdFGmLzZDZ6I2a~~yxwNQ5D4hb5KYZDOclrW5bVHuEqDKza~Ii6~5vfKXUNtH~gZOGZLNm4zjCiTrI5GaplASpUdCIExaEJMqGtvpwFoDqNbDQ8fTYKMHftfFDy0eZf1ePq29gtN4D5QDrqkXoZ0k0OXxCd4MV1hnHECDAtrCIRKZtkyt4Y9FnKjc6MKLaKLyZbI1vgThaZEje73-anFYUCJaox7womBChcxJhViGuAJ2NJ38Yttk3HREG~82O7KS3F7VR7GIA~Hl-5XS0SBsVdC1mfeTJTYUE3HfGOZlD8CTEWBZRNCi7fYxlrPbYH7qX~9HOTvRlA__","stats":{"duration":53,"endedAt":"2023-09-08T03:27:08.972Z","startedAt":"2023-09-08T03:27:08.919Z","failures":0,"passes":0,"pending":1,"skipped":0,"suites":1,"tests":1,"wallClockDuration":53,"wallClockStartedAt":"2023-09-08T03:27:08.919Z","wallClockEndedAt":"2023-09-08T03:27:08.972Z"},"screenshots":[],"exception":null,"flaky":0}},{"groupId":"run-api-smoke-2023-09-08T03:26:36.052Z","spec":"cypress/e2e/d.spec.js","instanceId":"sTkPbZdVJeQH","claimedAt":"2023-09-08T03:26:40.345Z","completedAt":"2023-09-08T03:27:07.785Z","machineId":"1OGNRsYXmc6T","worker":null,"results":{"videoUrl":"https://fs.currents.dev/64af8eee5411be7416b22d5f/sTkPbZdVJeQH_Sg1vqs1impAS.mp4?Expires=1694402849&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=C-8f3b3GdwWabJQm0cM-gzA0Va~l~SIAIuaDXHyDwhDcf5Amr86pQV2jr73dt5vsvMyOamVjPPJG-luvzwOZo5CyumMWJ9fTvn7W2Xu~en2~K0rxZK9C8oT~6FWUb46BRwPB~doa5-SYgHQndp8QcXbwWTAZReNhXsTBZOGbJWISlKctUF9YVxvQAxj9~6qrnnQyRzCyFpiWNZeL7lr9es37NtK24kBzuCnUxJ3xeXU~lz6lOxnOKus~ZQhzOIT7nueuLI7DSrzm7QILmTqEODoo4uK6fbV1XGdcusuvVTV8g4ao-DR6hqS8sh-9VWU4u0ZDxqUJ-xgK0yqnPTOfDw__","stats":{"duration":1079,"endedAt":"2023-09-08T03:27:06.029Z","startedAt":"2023-09-08T03:27:04.950Z","failures":0,"passes":2,"pending":0,"skipped":0,"suites":1,"tests":2,"wallClockDuration":1079,"wallClockStartedAt":"2023-09-08T03:27:04.950Z","wallClockEndedAt":"2023-09-08T03:27:06.029Z"},"screenshots":[{"screenshotId":"uReGdOXki5oUZtaZ4JNQZ","name":"internal-assert-screenshot","testId":"r0","testAttemptIndex":0,"takenAt":"2023-09-08T03:27:05.165Z","screenshotURL":"https://fs.currents.dev/64af8eee5411be7416b22d5f/zFhaTH1sV5Yb.png?Expires=1694402849&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=apRIvw~0jaY3pEvZ5IhkSiGMFdkn~oLAdQxNa7H10ESfp2yDHMDV8jhYfGMZxBMYtW2y86-vmCAbKgg8zd8m5TemSAGAf2X7PMAFwA5LJduvekk-~DL9yvmCNgarq3gKQBAFoMFNYJiv7DrFhMn0OSWugrjpjjwmtTd5zO-6bNlQ7xaKqh6DGOO2OzQ54BWXFl7f7slnyb1JJAbjDOyZ~5ifWuJE94HQguYEqDxjAp-hEq2n6sFRgcfhXbslOiv7waWt6G~-Q6Vh0TSTlTR4D6FPNJR2RfkYtmCQYp5giOSlJt2029aoTEwAyFELEs5WT4EnTD1D7EyI8sKBqn57KQ__","height":0,"width":0}],"exception":null,"flaky":0}}],"completionState":"COMPLETE","status":"FAILED"}} \ No newline at end of file +{"status":"OK","data":{"runId":"29a4135003b6df74","projectId":"2cI1I5","createdAt":"2023-09-12T01:40:48.614Z","tags":[],"cypressVersion":"12.17.4","cancellation":null,"timeout":{"isTimeout":false},"groups":[{"groupId":"run-api-smoke-2023-09-12T01:40:45.506Z","platform":{"osName":"darwin","osVersion":"22.5.0","browserName":"Electron","browserVersion":"106.0.5249.51"},"createdAt":"2023-09-12T01:40:48.614Z","instances":{"overall":4,"claimed":4,"complete":4,"passes":2,"failures":2},"tests":{"overall":7,"passes":4,"failures":2,"pending":1,"skipped":0,"retries":1,"flaky":1}}],"meta":{"ciBuildId":"run-api-smoke-2023-09-12T01:40:45.506Z","commit":{"branch":"fix/cypress-13-validation","remoteOrigin":null,"authorEmail":"miguelangarano@gmail.com","authorName":"Miguel Langarano","message":"log fixes\n","sha":"cd64d3a01acede030e9bb932cf6784444cf560c5"},"platform":{"osName":"darwin","osVersion":"22.5.0","browserName":"Electron","browserVersion":"106.0.5249.51"}},"specs":[{"groupId":"run-api-smoke-2023-09-12T01:40:45.506Z","spec":"cypress/e2e/a.spec.js","instanceId":"Qs5wYZ13j0RJ","claimedAt":"2023-09-12T01:40:49.060Z","completedAt":"2023-09-12T01:41:09.648Z","machineId":"ObxW6wK3P8qe","worker":null,"results":{"videoUrl":"https://fs.currents.dev/64af8eee5411be7416b22d5f/Qs5wYZ13j0RJ_Q8d2n5djKp0w.mp4?Expires=1694742093&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=lE5kLigGqu9mm5jkYmy9Pfu7EPO9YFx02KPDGhNsC42~cK7Zo9ATiRUHww8apMQv2z7gGVJHTtFurfqGGRNoSq5zYgKApG91mPKsitkaXx~wI8A5mWw6SukRhtVHJN9v4Kvs8JyzyEPAZ9bnV2rtTR8JSPqtWkDJpNlp7Fa3eVCJ8C1rQTyqKNnqDVEjXJtLRdHIgbu9zIOeCK1oLN6ZK-IvAicT-f2b4T~YWsEyxmrBJ13KCa~P17p2tsWxspG3quaOvDK-X~EeEeKKY-MdMmNRt6JJYNCVfMV425M5VtG6nQn1uq4otXHDD1XySTzFjUrEwUivr1hdqcKqgz-E-A__","stats":{"duration":13703,"endedAt":"2023-09-12T01:41:07.944Z","startedAt":"2023-09-12T01:40:54.241Z","failures":1,"passes":0,"pending":0,"skipped":0,"suites":1,"tests":1,"wallClockDuration":13703,"wallClockStartedAt":"2023-09-12T01:40:54.241Z","wallClockEndedAt":"2023-09-12T01:41:07.944Z"},"screenshots":[{"screenshotId":"EX4o2-z41K2MetsGJpzWn","name":"screenshot","testId":"r0","testAttemptIndex":0,"takenAt":"2023-09-12T01:40:58.756Z","screenshotURL":"https://fs.currents.dev/64af8eee5411be7416b22d5f/mQHcguA7BJRg.png?Expires=1694742094&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=y~q9giNFQosWfDX~QAosY69rki7rj8SCV3ZIgi7o7sRa8KHwXzf29evDnHdsUv5wQJ~WkShFz~ROWJzFFEWRaMGd2KB8Z8BgnQsszWkxchrhQNJhSAh0prAAM8G~11ju4hu1IFpUK5zm0rFRkioU2MIjPALzhlMl6tALYQjGWx~vna~yoFeKXya-i-KCtvrm6Befq1~1AJf5g0b-faB-Ufd4N8VsugVuFm4wQudSA7sCY0cfZXaxc~vbeBkidAp8rxtCB2uObmI6G00vD6OkeWdByhV4d0BBe7Ov9EzMnbLExXtE2w1UZbvOHGhJJl7mnpL6lo9Y6AAzCSklNjDuGA__","height":0,"width":0},{"screenshotId":"DMA-erz5RmDZT-TmchWTt","name":"screenshot","testId":"r0","testAttemptIndex":1,"takenAt":"2023-09-12T01:41:03.233Z","screenshotURL":"https://fs.currents.dev/64af8eee5411be7416b22d5f/JqL9vLVziXec.png?Expires=1694742094&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=ZiUpTKbNOMliDJNa0-mx0n6rrfrzPxBso9kdIQt9k~lAZXhThTAwxKFWgpFt2a0gxlu6AmyXnNhzRKIlR8ibZto4nOEuqa4jJbB0Bo~Qhg1vnOlIvQR7MfXSpOAftfG5NNtgBCbiw0A-8szGvixhrEQQ86Os-aukMqw--ixqzAWzbKypJdBZ5VYeM5eelSpLjbC4wNlbZC2yuyfq0UlMz4JlJTP48MM2KO9vvs2W5Vrg5f-vP2buLuTmORr4frYrL~yj0codfdc7N0V1vhMVNmJ34XkokYpMaOYPbIBOUx4dHUO8-QOzqwBaJ9VrLh5E1ZeLxTyQJK6KLl6HxKeNkA__","height":0,"width":0},{"screenshotId":"OySs7-Rk2orbovYmNzVeC","name":"screenshot","testId":"r0","testAttemptIndex":2,"takenAt":"2023-09-12T01:41:07.618Z","screenshotURL":"https://fs.currents.dev/64af8eee5411be7416b22d5f/rgWuXsumXIOG.png?Expires=1694742094&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=OPGZY9YXF1k~ShduuseRpzIH8PGFO-Eo94qylptFYcy6CICeG2Xz7aijFKFj6qjBGzIsA2T6rHIMzPDltnKFCeYlXFQOkj~EKJP~6ExVlAaBf0xOU4n~p8nD3Eg-ELOAUAqYXrF8RNMhO26MHXeJyEw52Xb2w0tPoF2d6ISIaYftiK5ZN3X3~753rS-L4aJBs3Ksoy3PKoxyF6C2tHY2AUTexTmPfhbva82kip05dusMAIC4P~lfJxwSs9YpoilEdXf4C3Db4uviDA7jVa8QVyGGRaxx19-wWnqvOuZeDzhfohxAdMJprpiCuBgsvSi65Ex623OuVDhIvE5Tmh7Qbw__","height":0,"width":0}],"exception":null,"flaky":0}},{"groupId":"run-api-smoke-2023-09-12T01:40:45.506Z","spec":"cypress/e2e/b.spec.js","instanceId":"lorwyzLMVWUd","claimedAt":"2023-09-12T01:40:49.086Z","completedAt":"2023-09-12T01:41:39.669Z","machineId":"ObxW6wK3P8qe","worker":null,"results":{"videoUrl":"https://fs.currents.dev/64af8eee5411be7416b22d5f/lorwyzLMVWUd_heKP8AnvfiZr.mp4?Expires=1694742094&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=wPOa1eER3OayTwLS6x-N9BepD3~4ZCnbRNBfm3eNjBU5jv7KhV9SgykKbZy850YfBSPetuUYj0cPa6Ha-uWVDUyzaVF0OWrPVjh7-SjH0gXt5LzOtpOArek8Fdg8qkvXL0u6grjXneg1fGRiF3sCQnzhAN3PiVHFJThvSETg5WKGgJ6H7sRDbNEcFcaKKbOypFbkGrU3dEgABncE2xZjlpYFxo7pQgq3NWLlq0INFhSHbaDquAKe0fonXa5FyY9vmOhjun5K9Yw2atPCooyNbgzO5jKR4SFwB8q8mcpogM1Wa~6ajxCljO0G1OsVNh7ycVP3RBrl3v-~Ahb8mncvRA__","stats":{"duration":18036,"endedAt":"2023-09-12T01:41:38.079Z","startedAt":"2023-09-12T01:41:20.043Z","failures":1,"passes":2,"pending":0,"skipped":0,"suites":1,"tests":3,"wallClockDuration":18036,"wallClockStartedAt":"2023-09-12T01:41:20.043Z","wallClockEndedAt":"2023-09-12T01:41:38.079Z"},"screenshots":[{"screenshotId":"GTkDvdFGq05vmFkOw_1m3","name":"screenshot","testId":"r0","testAttemptIndex":0,"takenAt":"2023-09-12T01:41:24.271Z","screenshotURL":"https://fs.currents.dev/64af8eee5411be7416b22d5f/yuGnsNbcX01V.png?Expires=1694742094&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=NPfcJeIymD4LBX72EtXV~eSAwfVzimhdTFxXMuFXwk7R0HjGJhlivmOmBs11OKyD9NpGm4yJfbnP3aZ-75sOs1xOLefEfMqzmSBvloDrW2p-CqgUTZMkxcjOpyxFX9czUQnhVknr5xr2NFzZBZ4WzuHdw2-NcPaWMDpwOX7IgXXqIJroJduexCM~~CfcX4MKn9YVR7r01W15uhD5ZdiMAIedXb8TlOPsukX5ar9eYMw-xIpFmxwcy2Nj2RR-rlU5WzRhtSkI0DsPHzVptqLQR9jHqWebaNjnuGELjmGFhZnsMAbnIXAIrdWvcMc~2sDNBPXLnqIJP2qyhz~hANNbtg__","height":0,"width":0},{"screenshotId":"DhZEdJxV4NwpzNDmrsrPe","name":"screenshot","testId":"r0","testAttemptIndex":1,"takenAt":"2023-09-12T01:41:28.670Z","screenshotURL":"https://fs.currents.dev/64af8eee5411be7416b22d5f/boHyMKyt78gd.png?Expires=1694742094&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=R~CwkciVz8DpP0LUwEWvhWFEsZITgYHTAWyWkpySBMB2LLD8tYaK-B4~UQJITb2QLjdvHLZsTVTiuoMpj2iB1wdSv6qJ50lSNclFZc1cLZjmMc3NCy4HWmASG6ClehyVoLr8bu8a-Bsr2Gg~LJN2ACJrN~nUPL4WxKCUNthHTOKM8WasTRRZ6kTH0KrPRmqorVMtRgIQJzzA3TRgX6jE6x6QTKmiQqeoyHk0En0-oFkWsgyqhB3~SHIat82I47LdBWwgRiQDD59IlLbQ6yOGSgnfkVr63Vo3xTOkMkfsPEMb-tpZLtjjkNPRNH5BYvolL6B9mCva0ZwQY60vyT5h9g__","height":0,"width":0},{"screenshotId":"1H6gTDeu8zXSY7gEIb3ej","name":"screenshot","testId":"r0","testAttemptIndex":2,"takenAt":"2023-09-12T01:41:33.098Z","screenshotURL":"https://fs.currents.dev/64af8eee5411be7416b22d5f/DKUrfPmvEF8l.png?Expires=1694742094&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=a0VspE4vwJx3feaTnJhNpNcvLREDpycEn3AkvIblkcszKwlTZ3uqSUDsqACKmLsIm6Z01mH7dzSl5d4VcMtsbJqh4pEHXgLjS7FryKfKI34pohRyyRmcvmn9RnQ3LDYBCohjC26MQOAtdL0MUKPO8Rz1-roJ8nav5qbeR0N3Pmw4KCz~154X5bXln7LV8XhvQ1PvrGIeXuSyE1mHlDebUBv-ME0xJ6~2t6Kmz8ru15eANa6WCsbiz1FwZuAwvMVK0eo7ATZv0Nz3bv4bDnaZf7nhr15o3pkx0RmNrqT1mOpjyNKXVFjo2EARGoah0TcEkIbKY2qL3H~cjgs5znlG0Q__","height":0,"width":0},{"screenshotId":"gA67NXX7UoJHyPbcNBnpB","name":"screenshot","testId":"r2","testAttemptIndex":0,"takenAt":"2023-09-12T01:41:37.608Z","screenshotURL":"https://fs.currents.dev/64af8eee5411be7416b22d5f/g4ESBfLeTFNy.png?Expires=1694742094&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=emysd~lqdLOs-jDPeddCPJgdSFfLKapQDcm3S~NjW3DbVm38Av70ZLLw5ADf5UfbbDOExFE1C6reQB6hhlmN6PjnFUaq7dqNkz9XH3h7a34XcAUezo-NhmhH~qI-i9fniO4weVB0ottKZlFPRVW~YhnJnw-QWneXja~d2uydh5i76HrG7dagdS5hgyVWlz1pZFE9WbQagG2jgFmAXhpBE4N-2OkjuGG7QdO6cBJsPzYM-kp5DKEFKqI4hqsUf4jASw1O9e7rdxA-D0zUeaes74G6T1SEeDplfJVdSXLJ188IqprjoLqba12bq-KjGCMQ~uDkatyZxSbSbWIVYuaPQg__","height":0,"width":0}],"exception":null,"flaky":1}},{"groupId":"run-api-smoke-2023-09-12T01:40:45.506Z","spec":"cypress/e2e/c.spec.js","instanceId":"fa1umHsRIPNP","claimedAt":"2023-09-12T01:40:49.074Z","completedAt":"2023-09-12T01:41:19.036Z","machineId":"ObxW6wK3P8qe","worker":null,"results":{"videoUrl":"https://fs.currents.dev/64af8eee5411be7416b22d5f/fa1umHsRIPNP_K7Xa0i7JT6sT.mp4?Expires=1694742094&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=bQojK7C23S0AxtArF32yN8GxHkFlC5dmQVVCAOXEhiEpIvpQjKJUutNWv29DhB4isNvkW-41usMII9NWuMKflAdgzAivyjfoAEGi-Ru9GAEn59OWc7tT2SVXkTrOP4H1wUQuLMozwbEVnb0RYGBdPjidOi41q0r8okJJSevZDTzTuxmK9rMI~mtg0ELHXK3SOIxYB12oSXtDrfffAnY-tVxEqMEkgn6b4IM-jMWaQBUUYcxOnd2DvCYDKW4zSIp57VyZ27dPdMyKkQF218YWYBkGfT3SxUQS-Pngtmy4Y1MihrO9CuOmsMTi0ZnbtvgKEiVKtlT2DBqyo0E8033qVA__","stats":{"duration":65,"endedAt":"2023-09-12T01:41:17.619Z","startedAt":"2023-09-12T01:41:17.554Z","failures":0,"passes":0,"pending":1,"skipped":0,"suites":1,"tests":1,"wallClockDuration":65,"wallClockStartedAt":"2023-09-12T01:41:17.554Z","wallClockEndedAt":"2023-09-12T01:41:17.619Z"},"screenshots":[],"exception":null,"flaky":0}},{"groupId":"run-api-smoke-2023-09-12T01:40:45.506Z","spec":"cypress/e2e/d.spec.js","instanceId":"BcUQTAseWCt3","claimedAt":"2023-09-12T01:40:49.068Z","completedAt":"2023-09-12T01:41:16.351Z","machineId":"ObxW6wK3P8qe","worker":null,"results":{"videoUrl":"https://fs.currents.dev/64af8eee5411be7416b22d5f/BcUQTAseWCt3_kxHigx5TvyBM.mp4?Expires=1694742094&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=ksrhJF0KrHPuVvASiyjhuaWIgBk1DI6h0DHgbo0W79focw0VQLvY1DMLLYPQ5VNc4y--XBsbO432gjqAPYN-fByvNXWwaHEfO0AEYJvJLU2xkwMzvz~L9bdd78bcNmupXkWr~KadebU6TSgrkzGAHtBjfD9zOV5LD3erd0lz8KkigRDguSrFweYtK0w1MT98s62IWsig6eliQo0TPQb8FNxFpKe3Cm~lFj~07S0fMqL7pPLIflZabaZuX7XSzJeFA2JC6nNpndHyT40DNQOSxWx1iGJkUPGBXTimemtCtdp4WTCFvStwg5kTGLumWv8jOLWxwf73-R~xNhfvtCSfkQ__","stats":{"duration":1103,"endedAt":"2023-09-12T01:41:14.630Z","startedAt":"2023-09-12T01:41:13.527Z","failures":0,"passes":2,"pending":0,"skipped":0,"suites":1,"tests":2,"wallClockDuration":1103,"wallClockStartedAt":"2023-09-12T01:41:13.527Z","wallClockEndedAt":"2023-09-12T01:41:14.630Z"},"screenshots":[{"screenshotId":"39ojkw7zLeM5pOknP7QIB","name":"internal-assert-screenshot","testId":"r0","testAttemptIndex":0,"takenAt":"2023-09-12T01:41:13.763Z","screenshotURL":"https://fs.currents.dev/64af8eee5411be7416b22d5f/RMb1NRvHaraI.png?Expires=1694742094&Key-Pair-Id=K1ZNDCCIZ3P4FU&Signature=qFPF6sFtGeR1ls~4V4EuvQlB9eAEbrhd97GmtjLtVVXjt54vesMco9h54M1im8visOuHLZYhNgrinxctTJMYOj7LrM8Y8J5rUc3M76ziYg9vc3DVEjEiY8lFoEGjESs1tcQPQW4yedA887EnyQ3bn1nSlaUvcWDOKs0wjcdtZNoqmamDgS0SYkQE7Lsi1FEsvyHetAT0vDPxMsuHJNR~6QgZx-jPfDfyzJtwvaecUXOc-EBbliT1Uy9L10kxRoetPpzHu4YKgh4ZHuM3iV097ZouxnvFWpyzEA0qUiCeLVEZ21HM~Izex1If~WRfzrJNPAtx6im52yRAsjiQl1kiIw__","height":0,"width":0}],"exception":null,"flaky":0}}],"completionState":"COMPLETE","status":"FAILED"}} \ No newline at end of file diff --git a/e2e/cypress-13-demo/data-references/ccy-1.9.4-cypress-12/cypress-cloud-output-reference.json b/e2e/cypress-13-demo/data-references/ccy-1.9.4-cypress-12/cypress-cloud-output-reference.json index a12796f..1fd1a5d 100644 --- a/e2e/cypress-13-demo/data-references/ccy-1.9.4-cypress-12/cypress-cloud-output-reference.json +++ b/e2e/cypress-13-demo/data-references/ccy-1.9.4-cypress-12/cypress-cloud-output-reference.json @@ -1,1522 +1 @@ -{ - "totalDuration": 35824, - "totalSuites": 4, - "totalPending": 1, - "totalFailed": 2, - "totalSkipped": 0, - "totalPassed": 4, - "totalTests": 7, - "runs": [ - { - "stats": { - "duration": 13947, - "endedAt": "2023-09-08T03:26:59.631Z", - "startedAt": "2023-09-08T03:26:45.684Z", - "failures": 1, - "passes": 0, - "pending": 0, - "skipped": 0, - "suites": 1, - "tests": 1 - }, - "reporter": "spec", - "reporterStats": { - "suites": 1, - "tests": 1, - "passes": 0, - "pending": 0, - "failures": 1, - "start": "2023-09-08T03:26:45.686Z", - "end": "2023-09-08T03:26:59.644Z", - "duration": 13958 - }, - "spec": { - "fileExtension": ".js", - "baseName": "a.spec.js", - "fileName": "a", - "specFileExtension": ".spec.js", - "relativeToCommonRoot": "a.spec.js", - "specType": "integration", - "name": "cypress/e2e/a.spec.js", - "relative": "cypress/e2e/a.spec.js", - "absolute": "/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-12-demo/cypress/e2e/a.spec.js" - }, - "error": null, - "video": "/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-12-demo/cypress/videos/a.spec.js.mp4", - "shouldUploadVideo": true, - "hooks": [ - { - "hookId": "h1", - "hookName": "before each", - "title": [ - "\"before each\" hook" - ], - "body": "() => {\n const currentTest = cy.state(\"ctx\").currentTest;\n if (currentTest) {\n handleBefore(currentTest);\n }\n}" - }, - { - "hookId": "h2", - "hookName": "before each", - "title": [ - "\"before each\" hook" - ], - "body": "function () {\n cy.visit(\"/\");\n}" - }, - { - "hookId": "h4", - "hookName": "after each", - "title": [ - "\"after each\" hook" - ], - "body": "function () {\n self.sendLogsToPrinter(self.collectorState.getCurrentLogStackIndex(), self.collectorState.getCurrentTest());\n }" - }, - { - "hookId": "h5", - "hookName": "after each", - "title": [ - "\"after each\" hook" - ], - "body": "() => {\n const currentTest = cy.state(\"ctx\").currentTest;\n if (currentTest) {\n handleAfter(currentTest);\n }\n}" - }, - { - "hookId": "h3", - "hookName": "after all", - "title": [ - "\"after all\" hook" - ], - "body": "function () {\n // Need to wait otherwise some last commands get omitted from logs.\n cy.task(CONSTANTS.TASK_NAME_OUTPUT, null, {log: false});\n }" - } - ], - "tests": [ - { - "testId": "r3", - "title": [ - "Failing test with 2 attempts", - "should try 2 times" - ], - "state": "failed", - "body": "() => {\n cy.wrap(false).should('be.true');\n }", - "displayError": "AssertionError: Timed out retrying after 4000ms: expected false to be true\n at Context.eval (webpack://cypress-12-demo/./cypress/e2e/a.spec.js:5:19)", - "attempts": [ - { - "state": "failed", - "error": { - "name": "AssertionError", - "message": "Timed out retrying after 4000ms: expected false to be true", - "stack": " at Context.eval (webpack://cypress-12-demo/./cypress/e2e/a.spec.js:5:19)", - "codeFrame": { - "line": 5, - "column": 20, - "originalFile": "cypress/e2e/a.spec.js", - "relativeFile": "e2e/cypress-12-demo/cypress/e2e/a.spec.js", - "absoluteFile": "/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-12-demo/cypress/e2e/a.spec.js", - "frame": " 3 | retries: 2,\n 4 | }, () => {\n> 5 | cy.wrap(false).should('be.true');\n | ^\n 6 | });\n 7 | });\n 8 | ", - "language": "js" - } - }, - "timings": { - "lifecycle": 32, - "before each": [ - { - "hookId": "h1", - "fnDuration": 34, - "afterFnDuration": 0 - }, - { - "hookId": "h2", - "fnDuration": 705, - "afterFnDuration": 0 - } - ], - "test": { - "fnDuration": 4004, - "afterFnDuration": 299 - }, - "after each": [ - { - "hookId": "h4", - "fnDuration": 21, - "afterFnDuration": 0 - }, - { - "hookId": "h5", - "fnDuration": 22, - "afterFnDuration": 1 - } - ] - }, - "failedFromHookId": null, - "wallClockStartedAt": "2023-09-08T03:26:45.707Z", - "wallClockDuration": 5120, - "videoTimestamp": 2866, - "startedAt": "2023-09-08T03:26:45.707Z", - "duration": 5120, - "screenshots": [ - { - "screenshotId": "lv379", - "name": "screenshot", - "testId": "r3", - "testAttemptIndex": 0, - "takenAt": "2023-09-08T03:26:50.486Z", - "path": "/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-12-demo/cypress/screenshots/a.spec.js/Failing test with 2 attempts -- should try 2 times (failed).png", - "height": 1440, - "width": 2560 - } - ] - }, - { - "state": "failed", - "error": { - "name": "AssertionError", - "message": "Timed out retrying after 4000ms: expected false to be true", - "stack": " at Context.eval (webpack://cypress-12-demo/./cypress/e2e/a.spec.js:5:19)", - "codeFrame": { - "line": 5, - "column": 20, - "originalFile": "cypress/e2e/a.spec.js", - "relativeFile": "e2e/cypress-12-demo/cypress/e2e/a.spec.js", - "absoluteFile": "/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-12-demo/cypress/e2e/a.spec.js", - "frame": " 3 | retries: 2,\n 4 | }, () => {\n> 5 | cy.wrap(false).should('be.true');\n | ^\n 6 | });\n 7 | });\n 8 | ", - "language": "js" - } - }, - "timings": { - "lifecycle": 28, - "before each": [ - { - "hookId": "h1", - "fnDuration": 7, - "afterFnDuration": 0 - }, - { - "hookId": "h2", - "fnDuration": 66, - "afterFnDuration": 0 - } - ], - "test": { - "fnDuration": 3991, - "afterFnDuration": 231 - }, - "after each": [ - { - "hookId": "h4", - "fnDuration": 23, - "afterFnDuration": 1 - }, - { - "hookId": "h5", - "fnDuration": 36, - "afterFnDuration": 0 - } - ] - }, - "failedFromHookId": null, - "wallClockStartedAt": "2023-09-08T03:26:50.848Z", - "wallClockDuration": 4384, - "videoTimestamp": 8007, - "startedAt": "2023-09-08T03:26:50.848Z", - "duration": 4384, - "screenshots": [ - { - "screenshotId": "eimp0", - "name": "screenshot", - "testId": "r3", - "testAttemptIndex": 1, - "takenAt": "2023-09-08T03:26:54.942Z", - "path": "/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-12-demo/cypress/screenshots/a.spec.js/Failing test with 2 attempts -- should try 2 times (failed) (attempt 2).png", - "height": 1440, - "width": 2560 - } - ] - }, - { - "state": "failed", - "error": { - "name": "AssertionError", - "message": "Timed out retrying after 4000ms: expected false to be true", - "stack": " at Context.eval (webpack://cypress-12-demo/./cypress/e2e/a.spec.js:5:19)", - "codeFrame": { - "line": 5, - "column": 20, - "originalFile": "cypress/e2e/a.spec.js", - "relativeFile": "e2e/cypress-12-demo/cypress/e2e/a.spec.js", - "absoluteFile": "/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-12-demo/cypress/e2e/a.spec.js", - "frame": " 3 | retries: 2,\n 4 | }, () => {\n> 5 | cy.wrap(false).should('be.true');\n | ^\n 6 | });\n 7 | });\n 8 | ", - "language": "js" - } - }, - "timings": { - "lifecycle": 50, - "before each": [ - { - "hookId": "h1", - "fnDuration": 9, - "afterFnDuration": 0 - }, - { - "hookId": "h2", - "fnDuration": 68, - "afterFnDuration": 0 - } - ], - "test": { - "fnDuration": 3990, - "afterFnDuration": 209 - }, - "after each": [ - { - "hookId": "h4", - "fnDuration": 15, - "afterFnDuration": 0 - }, - { - "hookId": "h5", - "fnDuration": 18, - "afterFnDuration": 0 - } - ], - "after all": [ - { - "hookId": "h3", - "fnDuration": 4, - "afterFnDuration": 0 - } - ] - }, - "failedFromHookId": null, - "wallClockStartedAt": "2023-09-08T03:26:55.247Z", - "wallClockDuration": 4370, - "videoTimestamp": 12406, - "startedAt": "2023-09-08T03:26:55.247Z", - "duration": 4370, - "screenshots": [ - { - "screenshotId": "ve07d", - "name": "screenshot", - "testId": "r3", - "testAttemptIndex": 2, - "takenAt": "2023-09-08T03:26:59.369Z", - "path": "/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-12-demo/cypress/screenshots/a.spec.js/Failing test with 2 attempts -- should try 2 times (failed) (attempt 3).png", - "height": 1440, - "width": 2560 - } - ] - } - ] - } - ] - }, - { - "stats": { - "duration": 1079, - "endedAt": "2023-09-08T03:27:06.029Z", - "startedAt": "2023-09-08T03:27:04.950Z", - "failures": 0, - "passes": 2, - "pending": 0, - "skipped": 0, - "suites": 1, - "tests": 2 - }, - "reporter": "spec", - "reporterStats": { - "suites": 1, - "tests": 2, - "passes": 2, - "pending": 0, - "failures": 0, - "start": "2023-09-08T03:27:04.952Z", - "end": "2023-09-08T03:27:06.032Z", - "duration": 1080 - }, - "spec": { - "fileExtension": ".js", - "baseName": "d.spec.js", - "fileName": "d", - "specFileExtension": ".spec.js", - "relativeToCommonRoot": "d.spec.js", - "specType": "integration", - "name": "cypress/e2e/d.spec.js", - "relative": "cypress/e2e/d.spec.js", - "absolute": "/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-12-demo/cypress/e2e/d.spec.js" - }, - "error": null, - "video": "/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-12-demo/cypress/videos/d.spec.js.mp4", - "shouldUploadVideo": true, - "hooks": [ - { - "hookId": "h1", - "hookName": "before each", - "title": [ - "\"before each\" hook" - ], - "body": "() => {\n const currentTest = cy.state(\"ctx\").currentTest;\n if (currentTest) {\n handleBefore(currentTest);\n }\n}" - }, - { - "hookId": "h2", - "hookName": "before each", - "title": [ - "\"before each\" hook" - ], - "body": "function () {\n cy.visit(\"/\");\n}" - }, - { - "hookId": "h4", - "hookName": "after each", - "title": [ - "\"after each\" hook" - ], - "body": "function () {\n self.sendLogsToPrinter(self.collectorState.getCurrentLogStackIndex(), self.collectorState.getCurrentTest());\n }" - }, - { - "hookId": "h5", - "hookName": "after each", - "title": [ - "\"after each\" hook" - ], - "body": "() => {\n const currentTest = cy.state(\"ctx\").currentTest;\n if (currentTest) {\n handleAfter(currentTest);\n }\n}" - }, - { - "hookId": "h3", - "hookName": "after all", - "title": [ - "\"after all\" hook" - ], - "body": "function () {\n // Need to wait otherwise some last commands get omitted from logs.\n cy.task(CONSTANTS.TASK_NAME_OUTPUT, null, {log: false});\n }" - } - ], - "tests": [ - { - "testId": "r3", - "title": [ - "Passed test with screenshot, passed test with no screenshots", - "should assert and take a screenshot" - ], - "state": "passed", - "body": "() => {\n // Assert that true is true\n cy.wrap(true).should('be.true');\n\n // Take a screenshot\n cy.screenshot('internal-assert-screenshot');\n }", - "displayError": null, - "attempts": [ - { - "state": "passed", - "error": null, - "timings": { - "lifecycle": 38, - "before each": [ - { - "hookId": "h1", - "fnDuration": 11, - "afterFnDuration": 0 - }, - { - "hookId": "h2", - "fnDuration": 146, - "afterFnDuration": 0 - } - ], - "test": { - "fnDuration": 727, - "afterFnDuration": 0 - }, - "after each": [ - { - "hookId": "h4", - "fnDuration": 15, - "afterFnDuration": 0 - }, - { - "hookId": "h5", - "fnDuration": 7, - "afterFnDuration": 0 - } - ] - }, - "failedFromHookId": null, - "wallClockStartedAt": "2023-09-08T03:27:04.956Z", - "wallClockDuration": 952, - "videoTimestamp": 1172, - "startedAt": "2023-09-08T03:27:04.956Z", - "duration": 952, - "screenshots": [ - { - "screenshotId": "mau0n", - "name": "internal-assert-screenshot", - "testId": "r3", - "testAttemptIndex": 0, - "takenAt": "2023-09-08T03:27:05.165Z", - "path": "/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-12-demo/cypress/screenshots/d.spec.js/internal-assert-screenshot.png", - "height": 1320, - "width": 2000 - } - ] - } - ] - }, - { - "testId": "r4", - "title": [ - "Passed test with screenshot, passed test with no screenshots", - "should assert that true is true" - ], - "state": "passed", - "body": "() => {\n cy.wrap(true).should('be.true');\n }", - "displayError": null, - "attempts": [ - { - "state": "passed", - "error": null, - "timings": { - "lifecycle": 19, - "before each": [ - { - "hookId": "h1", - "fnDuration": 7, - "afterFnDuration": 1 - }, - { - "hookId": "h2", - "fnDuration": 53, - "afterFnDuration": 0 - } - ], - "test": { - "fnDuration": 3, - "afterFnDuration": 0 - }, - "after each": [ - { - "hookId": "h4", - "fnDuration": 18, - "afterFnDuration": 1 - }, - { - "hookId": "h5", - "fnDuration": 8, - "afterFnDuration": 0 - } - ], - "after all": [ - { - "hookId": "h3", - "fnDuration": 3, - "afterFnDuration": 1 - } - ] - }, - "failedFromHookId": null, - "wallClockStartedAt": "2023-09-08T03:27:05.910Z", - "wallClockDuration": 118, - "videoTimestamp": 2126, - "startedAt": "2023-09-08T03:27:05.910Z", - "duration": 118, - "screenshots": [] - } - ] - } - ] - }, - { - "stats": { - "duration": 53, - "endedAt": "2023-09-08T03:27:08.972Z", - "startedAt": "2023-09-08T03:27:08.919Z", - "failures": 0, - "passes": 0, - "pending": 1, - "skipped": 0, - "suites": 1, - "tests": 1 - }, - "reporter": "spec", - "reporterStats": { - "suites": 1, - "tests": 1, - "passes": 0, - "pending": 1, - "failures": 0, - "start": "2023-09-08T03:27:08.921Z", - "end": "2023-09-08T03:27:08.978Z", - "duration": 57 - }, - "spec": { - "fileExtension": ".js", - "baseName": "c.spec.js", - "fileName": "c", - "specFileExtension": ".spec.js", - "relativeToCommonRoot": "c.spec.js", - "specType": "integration", - "name": "cypress/e2e/c.spec.js", - "relative": "cypress/e2e/c.spec.js", - "absolute": "/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-12-demo/cypress/e2e/c.spec.js" - }, - "error": null, - "video": "/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-12-demo/cypress/videos/c.spec.js.mp4", - "shouldUploadVideo": true, - "hooks": [ - { - "hookId": "h3", - "hookName": "after all", - "title": [ - "\"after all\" hook" - ], - "body": "function () {\n // Need to wait otherwise some last commands get omitted from logs.\n cy.task(CONSTANTS.TASK_NAME_OUTPUT, null, {log: false});\n }" - } - ], - "tests": [ - { - "testId": "r3", - "title": [ - "Ignored test", - "should be a skipped test" - ], - "state": "pending", - "body": "() => {\n cy.wrap(false).should('be.true');\n }", - "displayError": null, - "attempts": [ - { - "state": "pending", - "error": null, - "timings": { - "lifecycle": 31, - "after all": [ - { - "hookId": "h3", - "fnDuration": 5, - "afterFnDuration": 0 - } - ] - }, - "failedFromHookId": null, - "wallClockStartedAt": "2023-09-08T03:27:08.934Z", - "wallClockDuration": 36, - "videoTimestamp": 1122, - "startedAt": "2023-09-08T03:27:08.934Z", - "duration": 36, - "screenshots": [] - } - ] - } - ] - }, - { - "stats": { - "duration": 20745, - "endedAt": "2023-09-08T03:27:32.145Z", - "startedAt": "2023-09-08T03:27:11.400Z", - "failures": 1, - "passes": 2, - "pending": 0, - "skipped": 0, - "suites": 1, - "tests": 3 - }, - "reporter": "spec", - "reporterStats": { - "suites": 1, - "tests": 3, - "passes": 2, - "pending": 0, - "failures": 1, - "start": "2023-09-08T03:27:11.402Z", - "end": "2023-09-08T03:27:32.149Z", - "duration": 20747 - }, - "spec": { - "fileExtension": ".js", - "baseName": "b.spec.js", - "fileName": "b", - "specFileExtension": ".spec.js", - "relativeToCommonRoot": "b.spec.js", - "specType": "integration", - "name": "cypress/e2e/b.spec.js", - "relative": "cypress/e2e/b.spec.js", - "absolute": "/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-12-demo/cypress/e2e/b.spec.js" - }, - "error": null, - "video": "/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-12-demo/cypress/videos/b.spec.js.mp4", - "shouldUploadVideo": true, - "hooks": [ - { - "hookId": "h1", - "hookName": "before each", - "title": [ - "\"before each\" hook" - ], - "body": "() => {\n const currentTest = cy.state(\"ctx\").currentTest;\n if (currentTest) {\n handleBefore(currentTest);\n }\n}" - }, - { - "hookId": "h2", - "hookName": "before each", - "title": [ - "\"before each\" hook" - ], - "body": "function () {\n cy.visit(\"/\");\n}" - }, - { - "hookId": "h4", - "hookName": "after each", - "title": [ - "\"after each\" hook" - ], - "body": "function () {\n self.sendLogsToPrinter(self.collectorState.getCurrentLogStackIndex(), self.collectorState.getCurrentTest());\n }" - }, - { - "hookId": "h5", - "hookName": "after each", - "title": [ - "\"after each\" hook" - ], - "body": "() => {\n const currentTest = cy.state(\"ctx\").currentTest;\n if (currentTest) {\n handleAfter(currentTest);\n }\n}" - }, - { - "hookId": "h3", - "hookName": "after all", - "title": [ - "\"after all\" hook" - ], - "body": "function () {\n // Need to wait otherwise some last commands get omitted from logs.\n cy.task(CONSTANTS.TASK_NAME_OUTPUT, null, {log: false});\n }" - } - ], - "tests": [ - { - "testId": "r3", - "title": [ - "Failing test with 2 attempts, passed test and flaky test with 2 attempts", - "should try 2 times" - ], - "state": "failed", - "body": "() => {\n cy.wrap(false).should('be.true');\n }", - "displayError": "AssertionError: Timed out retrying after 4000ms: expected false to be true\n at Context.eval (webpack://cypress-12-demo/./cypress/e2e/b.spec.js:6:19)", - "attempts": [ - { - "state": "failed", - "error": { - "name": "AssertionError", - "message": "Timed out retrying after 4000ms: expected false to be true", - "stack": " at Context.eval (webpack://cypress-12-demo/./cypress/e2e/b.spec.js:6:19)", - "codeFrame": { - "line": 6, - "column": 20, - "originalFile": "cypress/e2e/b.spec.js", - "relativeFile": "e2e/cypress-12-demo/cypress/e2e/b.spec.js", - "absoluteFile": "/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-12-demo/cypress/e2e/b.spec.js", - "frame": " 4 | retries: 2,\n 5 | }, () => {\n> 6 | cy.wrap(false).should('be.true');\n | ^\n 7 | });\n 8 | \n 9 | it('should assert that true is true', () => {", - "language": "js" - } - }, - "timings": { - "lifecycle": 44, - "before each": [ - { - "hookId": "h1", - "fnDuration": 13, - "afterFnDuration": 1 - }, - { - "hookId": "h2", - "fnDuration": 160, - "afterFnDuration": 0 - } - ], - "test": { - "fnDuration": 4012, - "afterFnDuration": 256 - }, - "after each": [ - { - "hookId": "h4", - "fnDuration": 13, - "afterFnDuration": 1 - }, - { - "hookId": "h5", - "fnDuration": 17, - "afterFnDuration": 0 - } - ] - }, - "failedFromHookId": null, - "wallClockStartedAt": "2023-09-08T03:27:11.405Z", - "wallClockDuration": 4519, - "videoTimestamp": 1153, - "startedAt": "2023-09-08T03:27:11.405Z", - "duration": 4519, - "screenshots": [ - { - "screenshotId": "uah46", - "name": "screenshot", - "testId": "r3", - "testAttemptIndex": 0, - "takenAt": "2023-09-08T03:27:15.638Z", - "path": "/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-12-demo/cypress/screenshots/b.spec.js/Failing test with 2 attempts, passed test and flaky test with 2 attempts -- should try 2 times (failed).png", - "height": 1440, - "width": 2560 - } - ] - }, - { - "state": "failed", - "error": { - "name": "AssertionError", - "message": "Timed out retrying after 4000ms: expected false to be true", - "stack": " at Context.eval (webpack://cypress-12-demo/./cypress/e2e/b.spec.js:6:19)", - "codeFrame": { - "line": 6, - "column": 20, - "originalFile": "cypress/e2e/b.spec.js", - "relativeFile": "e2e/cypress-12-demo/cypress/e2e/b.spec.js", - "absoluteFile": "/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-12-demo/cypress/e2e/b.spec.js", - "frame": " 4 | retries: 2,\n 5 | }, () => {\n> 6 | cy.wrap(false).should('be.true');\n | ^\n 7 | });\n 8 | \n 9 | it('should assert that true is true', () => {", - "language": "js" - } - }, - "timings": { - "lifecycle": 27, - "before each": [ - { - "hookId": "h1", - "fnDuration": 15, - "afterFnDuration": 0 - }, - { - "hookId": "h2", - "fnDuration": 62, - "afterFnDuration": 1 - } - ], - "test": { - "fnDuration": 3999, - "afterFnDuration": 227 - }, - "after each": [ - { - "hookId": "h4", - "fnDuration": 16, - "afterFnDuration": 0 - }, - { - "hookId": "h5", - "fnDuration": 19, - "afterFnDuration": 0 - } - ] - }, - "failedFromHookId": null, - "wallClockStartedAt": "2023-09-08T03:27:15.958Z", - "wallClockDuration": 4368, - "videoTimestamp": 5706, - "startedAt": "2023-09-08T03:27:15.958Z", - "duration": 4368, - "screenshots": [ - { - "screenshotId": "mmkc1", - "name": "screenshot", - "testId": "r3", - "testAttemptIndex": 1, - "takenAt": "2023-09-08T03:27:20.065Z", - "path": "/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-12-demo/cypress/screenshots/b.spec.js/Failing test with 2 attempts, passed test and flaky test with 2 attempts -- should try 2 times (failed) (attempt 2).png", - "height": 1440, - "width": 2560 - } - ] - }, - { - "state": "failed", - "error": { - "name": "AssertionError", - "message": "Timed out retrying after 4000ms: expected false to be true", - "stack": " at Context.eval (webpack://cypress-12-demo/./cypress/e2e/b.spec.js:6:19)", - "codeFrame": { - "line": 6, - "column": 20, - "originalFile": "cypress/e2e/b.spec.js", - "relativeFile": "e2e/cypress-12-demo/cypress/e2e/b.spec.js", - "absoluteFile": "/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-12-demo/cypress/e2e/b.spec.js", - "frame": " 4 | retries: 2,\n 5 | }, () => {\n> 6 | cy.wrap(false).should('be.true');\n | ^\n 7 | });\n 8 | \n 9 | it('should assert that true is true', () => {", - "language": "js" - } - }, - "timings": { - "lifecycle": 44, - "before each": [ - { - "hookId": "h1", - "fnDuration": 10, - "afterFnDuration": 0 - }, - { - "hookId": "h2", - "fnDuration": 52, - "afterFnDuration": 0 - } - ], - "test": { - "fnDuration": 3991, - "afterFnDuration": 224 - }, - "after each": [ - { - "hookId": "h4", - "fnDuration": 16, - "afterFnDuration": 1 - }, - { - "hookId": "h5", - "fnDuration": 21, - "afterFnDuration": 0 - } - ] - }, - "failedFromHookId": null, - "wallClockStartedAt": "2023-09-08T03:27:20.341Z", - "wallClockDuration": 4363, - "videoTimestamp": 10089, - "startedAt": "2023-09-08T03:27:20.341Z", - "duration": 4363, - "screenshots": [ - { - "screenshotId": "kw950", - "name": "screenshot", - "testId": "r3", - "testAttemptIndex": 2, - "takenAt": "2023-09-08T03:27:24.443Z", - "path": "/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-12-demo/cypress/screenshots/b.spec.js/Failing test with 2 attempts, passed test and flaky test with 2 attempts -- should try 2 times (failed) (attempt 3).png", - "height": 1440, - "width": 2560 - } - ] - } - ] - }, - { - "testId": "r4", - "title": [ - "Failing test with 2 attempts, passed test and flaky test with 2 attempts", - "should assert that true is true" - ], - "state": "passed", - "body": "() => {\n cy.wrap(true).should('be.true');\n }", - "displayError": null, - "attempts": [ - { - "state": "passed", - "error": null, - "timings": { - "lifecycle": 43, - "before each": [ - { - "hookId": "h1", - "fnDuration": 13, - "afterFnDuration": 1 - }, - { - "hookId": "h2", - "fnDuration": 391, - "afterFnDuration": 0 - } - ], - "test": { - "fnDuration": 2, - "afterFnDuration": 0 - }, - "after each": [ - { - "hookId": "h4", - "fnDuration": 14, - "afterFnDuration": 0 - }, - { - "hookId": "h5", - "fnDuration": 9, - "afterFnDuration": 1 - } - ] - }, - "failedFromHookId": null, - "wallClockStartedAt": "2023-09-08T03:27:24.722Z", - "wallClockDuration": 475, - "videoTimestamp": 14470, - "startedAt": "2023-09-08T03:27:24.722Z", - "duration": 475, - "screenshots": [] - } - ] - }, - { - "testId": "r5", - "title": [ - "Failing test with 2 attempts, passed test and flaky test with 2 attempts", - "should fail on the first attempt and pass on the second" - ], - "state": "passed", - "body": "() => {\n if (attempt === 0) {\n attempt++;\n cy.wrap(false).should('be.true'); // This will fail on the first attempt\n } else {\n cy.wrap(true).should('be.true'); // This will pass on the second attempt\n }\n }", - "displayError": null, - "attempts": [ - { - "state": "failed", - "error": { - "name": "AssertionError", - "message": "Timed out retrying after 4000ms: expected false to be true", - "stack": " at Context.eval (webpack://cypress-12-demo/./cypress/e2e/b.spec.js:16:21)", - "codeFrame": { - "line": 16, - "column": 22, - "originalFile": "cypress/e2e/b.spec.js", - "relativeFile": "e2e/cypress-12-demo/cypress/e2e/b.spec.js", - "absoluteFile": "/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-12-demo/cypress/e2e/b.spec.js", - "frame": " 14 | if (attempt === 0) {\n 15 | attempt++;\n> 16 | cy.wrap(false).should('be.true'); // This will fail on the first attempt\n | ^\n 17 | } else {\n 18 | cy.wrap(true).should('be.true'); // This will pass on the second attempt\n 19 | }", - "language": "js" - } - }, - "timings": { - "lifecycle": 34, - "before each": [ - { - "hookId": "h1", - "fnDuration": 7, - "afterFnDuration": 0 - }, - { - "hookId": "h2", - "fnDuration": 2438, - "afterFnDuration": 0 - } - ], - "test": { - "fnDuration": 3993, - "afterFnDuration": 237 - }, - "after each": [ - { - "hookId": "h4", - "fnDuration": 12, - "afterFnDuration": 0 - }, - { - "hookId": "h5", - "fnDuration": 15, - "afterFnDuration": 0 - } - ] - }, - "failedFromHookId": null, - "wallClockStartedAt": "2023-09-08T03:27:25.199Z", - "wallClockDuration": 6737, - "videoTimestamp": 14947, - "startedAt": "2023-09-08T03:27:25.199Z", - "duration": 6737, - "screenshots": [ - { - "screenshotId": "9ljg2", - "name": "screenshot", - "testId": "r5", - "testAttemptIndex": 0, - "takenAt": "2023-09-08T03:27:31.673Z", - "path": "/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-12-demo/cypress/screenshots/b.spec.js/Failing test with 2 attempts, passed test and flaky test with 2 attempts -- should fail on the first attempt and pass on the second (failed).png", - "height": 1440, - "width": 2560 - } - ] - }, - { - "state": "passed", - "error": null, - "timings": { - "lifecycle": 37, - "before each": [ - { - "hookId": "h1", - "fnDuration": 14, - "afterFnDuration": 0 - }, - { - "hookId": "h2", - "fnDuration": 107, - "afterFnDuration": 0 - } - ], - "test": { - "fnDuration": 3, - "afterFnDuration": 0 - }, - "after each": [ - { - "hookId": "h4", - "fnDuration": 15, - "afterFnDuration": 0 - }, - { - "hookId": "h5", - "fnDuration": 11, - "afterFnDuration": 0 - } - ], - "after all": [ - { - "hookId": "h3", - "fnDuration": 4, - "afterFnDuration": 0 - } - ] - }, - "failedFromHookId": null, - "wallClockStartedAt": "2023-09-08T03:27:31.946Z", - "wallClockDuration": 196, - "videoTimestamp": 21694, - "startedAt": "2023-09-08T03:27:31.946Z", - "duration": 196, - "screenshots": [] - } - ] - } - ] - } - ], - "startedTestsAt": "2023-09-08T03:26:45.684Z", - "endedTestsAt": "2023-09-08T03:27:32.145Z", - "config": { - "additionalIgnorePattern": [], - "animationDistanceThreshold": 5, - "arch": "arm64", - "autoOpen": false, - "baseUrl": "https://todomvc.com/examples/vanillajs", - "blockHosts": null, - "browsers": [ - { - "name": "chrome", - "family": "chromium", - "channel": "stable", - "displayName": "Chrome", - "version": "116.0.5845.179", - "path": "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome", - "minSupportedVersion": 64, - "majorVersion": "116" - }, - { - "name": "edge", - "family": "chromium", - "channel": "stable", - "displayName": "Edge", - "version": "116.0.1938.76", - "path": "/Applications/Microsoft Edge.app/Contents/MacOS/Microsoft Edge", - "minSupportedVersion": 79, - "majorVersion": "116" - }, - { - "name": "electron", - "channel": "stable", - "family": "chromium", - "displayName": "Electron", - "version": "106.0.5249.51", - "path": "", - "majorVersion": 106 - } - ], - "chromeWebSecurity": true, - "clientCertificates": [], - "clientRoute": "/__/", - "configFile": "/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-12-demo/cypress.config.ts", - "cypressBinaryRoot": "/Users/miguelangarano/Library/Caches/Cypress/12.17.4/Cypress.app/Contents/Resources/app", - "cypressEnv": "production", - "defaultCommandTimeout": 4000, - "devServerPublicPathRoute": "/__cypress/src", - "downloadsFolder": "/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-12-demo/cypress/downloads", - "env": { - "currents_temp_file": "/var/folders/1l/tzj2dqys6js7w35f8rx2jsq00000gn/T/tmp-99075-DhSNMfp2WQcu", - "currents_debug_enabled": false - }, - "excludeSpecPattern": "*.hot-update.js", - "execTimeout": 60000, - "experimentalCspAllowList": false, - "experimentalFetchPolyfill": false, - "experimentalInteractiveRunEvents": false, - "experimentalMemoryManagement": false, - "experimentalModifyObstructiveThirdPartyCode": false, - "experimentalOriginDependencies": false, - "experimentalRunAllSpecs": false, - "experimentalSingleTabRunMode": false, - "experimentalSkipDomainInjection": null, - "experimentalSourceRewriting": false, - "experimentalStudio": false, - "experimentalWebKitSupport": false, - "fileServerFolder": "/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-12-demo", - "fixturesFolder": "/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-12-demo/cypress/fixtures", - "hosts": null, - "includeShadowDom": false, - "isInteractive": true, - "isTextTerminal": true, - "keystrokeDelay": 0, - "modifyObstructiveCode": true, - "morgan": false, - "namespace": "__cypress", - "numTestsKeptInMemory": 0, - "pageLoadTimeout": 60000, - "platform": "darwin", - "port": null, - "projectId": null, - "projectName": "cypress-12-demo", - "projectRoot": "/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-12-demo", - "rawJson": { - "e2e": { - "baseUrl": "https://todomvc.com/examples/vanillajs", - "supportFile": "cypress/support/e2e.ts", - "specPattern": "cypress/*/**/*.spec.js", - "setupNodeEvents": "[Function setupNodeEvents]" - }, - "component": { - "specPattern": [ - "pages/__tests__/*.spec.tsx" - ], - "setupNodeEvents": "[Function setupNodeEvents]", - "devServer": { - "framework": "next", - "bundler": "webpack" - } - }, - "baseUrl": "https://todomvc.com/examples/vanillajs", - "supportFile": "cypress/support/e2e.ts", - "specPattern": "cypress/*/**/*.spec.js", - "setupNodeEvents": "[Function setupNodeEvents]", - "envFile": {}, - "projectRoot": "/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-12-demo", - "projectName": "cypress-12-demo", - "repoRoot": "/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13" - }, - "redirectionLimit": 20, - "repoRoot": "/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13", - "report": true, - "reporter": "spec", - "reporterOptions": null, - "reporterRoute": "/__cypress/reporter", - "requestTimeout": 5000, - "resolved": { - "animationDistanceThreshold": { - "value": 5, - "from": "default" - }, - "arch": { - "value": "arm64", - "from": "default" - }, - "baseUrl": { - "value": "https://todomvc.com/examples/vanillajs", - "from": "config" - }, - "blockHosts": { - "value": null, - "from": "default" - }, - "chromeWebSecurity": { - "value": true, - "from": "default" - }, - "clientCertificates": { - "value": [], - "from": "default" - }, - "defaultCommandTimeout": { - "value": 4000, - "from": "default" - }, - "downloadsFolder": { - "value": "cypress/downloads", - "from": "default" - }, - "env": { - "currents_temp_file": { - "value": "/var/folders/1l/tzj2dqys6js7w35f8rx2jsq00000gn/T/tmp-99075-DhSNMfp2WQcu", - "from": "cli" - }, - "currents_debug_enabled": { - "value": false, - "from": "cli" - } - }, - "execTimeout": { - "value": 60000, - "from": "default" - }, - "experimentalCspAllowList": { - "value": false, - "from": "default" - }, - "experimentalFetchPolyfill": { - "value": false, - "from": "default" - }, - "experimentalInteractiveRunEvents": { - "value": false, - "from": "default" - }, - "experimentalRunAllSpecs": { - "value": false, - "from": "default" - }, - "experimentalMemoryManagement": { - "value": false, - "from": "default" - }, - "experimentalModifyObstructiveThirdPartyCode": { - "value": false, - "from": "default" - }, - "experimentalSkipDomainInjection": { - "value": null, - "from": "default" - }, - "experimentalOriginDependencies": { - "value": false, - "from": "default" - }, - "experimentalSourceRewriting": { - "value": false, - "from": "default" - }, - "experimentalSingleTabRunMode": { - "value": false, - "from": "default" - }, - "experimentalStudio": { - "value": false, - "from": "default" - }, - "experimentalWebKitSupport": { - "value": false, - "from": "default" - }, - "fileServerFolder": { - "value": "", - "from": "default" - }, - "fixturesFolder": { - "value": "cypress/fixtures", - "from": "default" - }, - "excludeSpecPattern": { - "value": "*.hot-update.js", - "from": "default" - }, - "includeShadowDom": { - "value": false, - "from": "default" - }, - "keystrokeDelay": { - "value": 0, - "from": "default" - }, - "modifyObstructiveCode": { - "value": true, - "from": "default" - }, - "nodeVersion": { - "from": "default" - }, - "numTestsKeptInMemory": { - "value": 0, - "from": "config" - }, - "platform": { - "value": "darwin", - "from": "default" - }, - "pageLoadTimeout": { - "value": 60000, - "from": "default" - }, - "port": { - "value": null, - "from": "default" - }, - "projectId": { - "value": null, - "from": "default" - }, - "redirectionLimit": { - "value": 20, - "from": "default" - }, - "reporter": { - "value": "spec", - "from": "default" - }, - "reporterOptions": { - "value": null, - "from": "default" - }, - "requestTimeout": { - "value": 5000, - "from": "default" - }, - "resolvedNodePath": { - "value": null, - "from": "default" - }, - "resolvedNodeVersion": { - "value": null, - "from": "default" - }, - "responseTimeout": { - "value": 30000, - "from": "default" - }, - "retries": { - "value": { - "runMode": 0, - "openMode": 0 - }, - "from": "default" - }, - "screenshotOnRunFailure": { - "value": true, - "from": "default" - }, - "screenshotsFolder": { - "value": "cypress/screenshots", - "from": "default" - }, - "slowTestThreshold": { - "value": 10000, - "from": "default" - }, - "scrollBehavior": { - "value": "top", - "from": "default" - }, - "supportFile": { - "value": "cypress/support/e2e.ts", - "from": "config" - }, - "supportFolder": { - "value": false, - "from": "default" - }, - "taskTimeout": { - "value": 60000, - "from": "default" - }, - "testIsolation": { - "value": true, - "from": "default" - }, - "trashAssetsBeforeRuns": { - "value": true, - "from": "default" - }, - "userAgent": { - "value": null, - "from": "default" - }, - "video": { - "value": true, - "from": "default" - }, - "videoCompression": { - "value": 32, - "from": "default" - }, - "videosFolder": { - "value": "cypress/videos", - "from": "default" - }, - "videoUploadOnPasses": { - "value": true, - "from": "default" - }, - "viewportHeight": { - "value": 660, - "from": "default" - }, - "viewportWidth": { - "value": 1000, - "from": "default" - }, - "waitForAnimations": { - "value": true, - "from": "default" - }, - "watchForFileChanges": { - "value": false, - "from": "config" - }, - "specPattern": { - "value": "cypress/*/**/*.spec.js", - "from": "config" - }, - "browsers": { - "value": [ - { - "name": "chrome", - "family": "chromium", - "channel": "stable", - "displayName": "Chrome", - "version": "116.0.5845.179", - "path": "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome", - "minSupportedVersion": 64, - "majorVersion": "116" - }, - { - "name": "edge", - "family": "chromium", - "channel": "stable", - "displayName": "Edge", - "version": "116.0.1938.76", - "path": "/Applications/Microsoft Edge.app/Contents/MacOS/Microsoft Edge", - "minSupportedVersion": 79, - "majorVersion": "116" - }, - { - "name": "electron", - "channel": "stable", - "family": "chromium", - "displayName": "Electron", - "version": "106.0.5249.51", - "path": "", - "majorVersion": 106 - } - ], - "from": "runtime" - }, - "hosts": { - "value": null, - "from": "default" - }, - "isInteractive": { - "value": true, - "from": "default" - } - }, - "resolvedNodePath": "/Users/miguelangarano/.nvm/versions/node/v18.14.2/bin/node", - "resolvedNodeVersion": "18.14.2", - "responseTimeout": 30000, - "retries": { - "runMode": 0, - "openMode": 0 - }, - "screenshotOnRunFailure": true, - "screenshotsFolder": "/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-12-demo/cypress/screenshots", - "scrollBehavior": "top", - "setupNodeEvents": "[Function setupNodeEvents]", - "slowTestThreshold": 10000, - "socketId": "7qpxyfdhn8", - "socketIoCookie": "__socket", - "socketIoRoute": "/__socket", - "specPattern": "cypress/*/**/*.spec.js", - "supportFile": "/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-12-demo/cypress/support/e2e.ts", - "supportFolder": "/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-12-demo/cypress/support", - "taskTimeout": 60000, - "testIsolation": true, - "trashAssetsBeforeRuns": true, - "userAgent": null, - "version": "12.17.4", - "video": true, - "videoCompression": 32, - "videoUploadOnPasses": true, - "videosFolder": "/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-12-demo/cypress/videos", - "viewportHeight": 660, - "viewportWidth": 1000, - "waitForAnimations": true, - "watchForFileChanges": false, - "testingType": "e2e" - }, - "status": "finished", - "runUrl": "https://app.currents.dev/run/6f943a835aca8b4f" -} \ No newline at end of file +{"totalDuration":32907,"totalSuites":4,"totalPending":1,"totalFailed":2,"totalSkipped":0,"totalPassed":4,"totalTests":7,"runs":[{"stats":{"duration":13703,"endedAt":"2023-09-12T01:41:07.944Z","startedAt":"2023-09-12T01:40:54.241Z","failures":1,"passes":0,"pending":0,"skipped":0,"suites":1,"tests":1},"reporter":"spec","reporterStats":{"suites":1,"tests":1,"passes":0,"pending":0,"failures":1,"start":"2023-09-12T01:40:54.243Z","end":"2023-09-12T01:41:07.961Z","duration":13718},"spec":{"fileExtension":".js","baseName":"a.spec.js","fileName":"a","specFileExtension":".spec.js","relativeToCommonRoot":"a.spec.js","specType":"integration","name":"cypress/e2e/a.spec.js","relative":"cypress/e2e/a.spec.js","absolute":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/e2e/a.spec.js"},"error":null,"video":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/videos/a.spec.js.mp4","shouldUploadVideo":true,"hooks":[{"hookId":"h1","hookName":"before each","title":["\"before each\" hook"],"body":"() => {\n const currentTest = cy.state(\"ctx\").currentTest;\n if (currentTest) {\n handleBefore(currentTest);\n }\n}"},{"hookId":"h2","hookName":"before each","title":["\"before each\" hook"],"body":"function () {\n cy.visit(\"/\");\n}"},{"hookId":"h4","hookName":"after each","title":["\"after each\" hook"],"body":"function () {\n self.sendLogsToPrinter(self.collectorState.getCurrentLogStackIndex(), self.collectorState.getCurrentTest());\n }"},{"hookId":"h5","hookName":"after each","title":["\"after each\" hook"],"body":"() => {\n const currentTest = cy.state(\"ctx\").currentTest;\n if (currentTest) {\n handleAfter(currentTest);\n }\n}"},{"hookId":"h3","hookName":"after all","title":["\"after all\" hook"],"body":"function () {\n // Need to wait otherwise some last commands get omitted from logs.\n cy.task(CONSTANTS.TASK_NAME_OUTPUT, null, {log: false});\n }"}],"tests":[{"testId":"r3","title":["Failing test with 2 attempts","should try 2 times"],"state":"failed","body":"() => {\n cy.wrap(false).should('be.true');\n }","displayError":"AssertionError: Timed out retrying after 4000ms: expected false to be true\n at Context.eval (webpack://cypress-13-demo/./cypress/e2e/a.spec.js:5:19)","attempts":[{"state":"failed","error":{"name":"AssertionError","message":"Timed out retrying after 4000ms: expected false to be true","stack":" at Context.eval (webpack://cypress-13-demo/./cypress/e2e/a.spec.js:5:19)","codeFrame":{"line":5,"column":20,"originalFile":"cypress/e2e/a.spec.js","relativeFile":"e2e/cypress-13-demo/cypress/e2e/a.spec.js","absoluteFile":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/e2e/a.spec.js","frame":" 3 | retries: 2,\n 4 | }, () => {\n> 5 | cy.wrap(false).should('be.true');\n | ^\n 6 | });\n 7 | });\n 8 | ","language":"js"}},"timings":{"lifecycle":36,"before each":[{"hookId":"h1","fnDuration":17,"afterFnDuration":1},{"hookId":"h2","fnDuration":449,"afterFnDuration":0}],"test":{"fnDuration":4003,"afterFnDuration":316},"after each":[{"hookId":"h4","fnDuration":34,"afterFnDuration":0},{"hookId":"h5","fnDuration":16,"afterFnDuration":0}]},"failedFromHookId":null,"wallClockStartedAt":"2023-09-12T01:40:54.246Z","wallClockDuration":4874,"videoTimestamp":2820,"startedAt":"2023-09-12T01:40:54.246Z","duration":4874,"screenshots":[{"screenshotId":"i9d5e","name":"screenshot","testId":"r3","testAttemptIndex":0,"takenAt":"2023-09-12T01:40:58.756Z","path":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/screenshots/a.spec.js/Failing test with 2 attempts -- should try 2 times (failed).png","height":1440,"width":2560}]},{"state":"failed","error":{"name":"AssertionError","message":"Timed out retrying after 4000ms: expected false to be true","stack":" at Context.eval (webpack://cypress-13-demo/./cypress/e2e/a.spec.js:5:19)","codeFrame":{"line":5,"column":20,"originalFile":"cypress/e2e/a.spec.js","relativeFile":"e2e/cypress-13-demo/cypress/e2e/a.spec.js","absoluteFile":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/e2e/a.spec.js","frame":" 3 | retries: 2,\n 4 | }, () => {\n> 5 | cy.wrap(false).should('be.true');\n | ^\n 6 | });\n 7 | });\n 8 | ","language":"js"}},"timings":{"lifecycle":28,"before each":[{"hookId":"h1","fnDuration":9,"afterFnDuration":0},{"hookId":"h2","fnDuration":60,"afterFnDuration":0}],"test":{"fnDuration":3990,"afterFnDuration":216},"after each":[{"hookId":"h4","fnDuration":20,"afterFnDuration":0},{"hookId":"h5","fnDuration":19,"afterFnDuration":0}]},"failedFromHookId":null,"wallClockStartedAt":"2023-09-12T01:40:59.142Z","wallClockDuration":4345,"videoTimestamp":7716,"startedAt":"2023-09-12T01:40:59.142Z","duration":4345,"screenshots":[{"screenshotId":"1x5im","name":"screenshot","testId":"r3","testAttemptIndex":1,"takenAt":"2023-09-12T01:41:03.233Z","path":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/screenshots/a.spec.js/Failing test with 2 attempts -- should try 2 times (failed) (attempt 2).png","height":1440,"width":2560}]},{"state":"failed","error":{"name":"AssertionError","message":"Timed out retrying after 4000ms: expected false to be true","stack":" at Context.eval (webpack://cypress-13-demo/./cypress/e2e/a.spec.js:5:19)","codeFrame":{"line":5,"column":20,"originalFile":"cypress/e2e/a.spec.js","relativeFile":"e2e/cypress-13-demo/cypress/e2e/a.spec.js","absoluteFile":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/e2e/a.spec.js","frame":" 3 | retries: 2,\n 4 | }, () => {\n> 5 | cy.wrap(false).should('be.true');\n | ^\n 6 | });\n 7 | });\n 8 | ","language":"js"}},"timings":{"lifecycle":43,"before each":[{"hookId":"h1","fnDuration":11,"afterFnDuration":0},{"hookId":"h2","fnDuration":53,"afterFnDuration":0}],"test":{"fnDuration":4003,"afterFnDuration":228},"after each":[{"hookId":"h4","fnDuration":16,"afterFnDuration":0},{"hookId":"h5","fnDuration":53,"afterFnDuration":0}],"after all":[{"hookId":"h3","fnDuration":14,"afterFnDuration":0}]},"failedFromHookId":null,"wallClockStartedAt":"2023-09-12T01:41:03.503Z","wallClockDuration":4427,"videoTimestamp":12077,"startedAt":"2023-09-12T01:41:03.503Z","duration":4427,"screenshots":[{"screenshotId":"cfvju","name":"screenshot","testId":"r3","testAttemptIndex":2,"takenAt":"2023-09-12T01:41:07.618Z","path":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/screenshots/a.spec.js/Failing test with 2 attempts -- should try 2 times (failed) (attempt 3).png","height":1440,"width":2560}]}]}]},{"stats":{"duration":1103,"endedAt":"2023-09-12T01:41:14.630Z","startedAt":"2023-09-12T01:41:13.527Z","failures":0,"passes":2,"pending":0,"skipped":0,"suites":1,"tests":2},"reporter":"spec","reporterStats":{"suites":1,"tests":2,"passes":2,"pending":0,"failures":0,"start":"2023-09-12T01:41:13.529Z","end":"2023-09-12T01:41:14.634Z","duration":1105},"spec":{"fileExtension":".js","baseName":"d.spec.js","fileName":"d","specFileExtension":".spec.js","relativeToCommonRoot":"d.spec.js","specType":"integration","name":"cypress/e2e/d.spec.js","relative":"cypress/e2e/d.spec.js","absolute":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/e2e/d.spec.js"},"error":null,"video":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/videos/d.spec.js.mp4","shouldUploadVideo":true,"hooks":[{"hookId":"h1","hookName":"before each","title":["\"before each\" hook"],"body":"() => {\n const currentTest = cy.state(\"ctx\").currentTest;\n if (currentTest) {\n handleBefore(currentTest);\n }\n}"},{"hookId":"h2","hookName":"before each","title":["\"before each\" hook"],"body":"function () {\n cy.visit(\"/\");\n}"},{"hookId":"h4","hookName":"after each","title":["\"after each\" hook"],"body":"function () {\n self.sendLogsToPrinter(self.collectorState.getCurrentLogStackIndex(), self.collectorState.getCurrentTest());\n }"},{"hookId":"h5","hookName":"after each","title":["\"after each\" hook"],"body":"() => {\n const currentTest = cy.state(\"ctx\").currentTest;\n if (currentTest) {\n handleAfter(currentTest);\n }\n}"},{"hookId":"h3","hookName":"after all","title":["\"after all\" hook"],"body":"function () {\n // Need to wait otherwise some last commands get omitted from logs.\n cy.task(CONSTANTS.TASK_NAME_OUTPUT, null, {log: false});\n }"}],"tests":[{"testId":"r3","title":["Passed test with screenshot, passed test with no screenshots","should assert and take a screenshot"],"state":"passed","body":"() => {\n // Assert that true is true\n cy.wrap(true).should('be.true');\n\n // Take a screenshot\n cy.screenshot('internal-assert-screenshot');\n }","displayError":null,"attempts":[{"state":"passed","error":null,"timings":{"lifecycle":36,"before each":[{"hookId":"h1","fnDuration":12,"afterFnDuration":1},{"hookId":"h2","fnDuration":159,"afterFnDuration":0}],"test":{"fnDuration":730,"afterFnDuration":0},"after each":[{"hookId":"h4","fnDuration":25,"afterFnDuration":0},{"hookId":"h5","fnDuration":9,"afterFnDuration":0}]},"failedFromHookId":null,"wallClockStartedAt":"2023-09-12T01:41:13.539Z","wallClockDuration":980,"videoTimestamp":1263,"startedAt":"2023-09-12T01:41:13.539Z","duration":980,"screenshots":[{"screenshotId":"9b2q4","name":"internal-assert-screenshot","testId":"r3","testAttemptIndex":0,"takenAt":"2023-09-12T01:41:13.763Z","path":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/screenshots/d.spec.js/internal-assert-screenshot.png","height":1320,"width":2000}]}]},{"testId":"r4","title":["Passed test with screenshot, passed test with no screenshots","should assert that true is true"],"state":"passed","body":"() => {\n cy.wrap(true).should('be.true');\n }","displayError":null,"attempts":[{"state":"passed","error":null,"timings":{"lifecycle":19,"before each":[{"hookId":"h1","fnDuration":6,"afterFnDuration":0},{"hookId":"h2","fnDuration":50,"afterFnDuration":0}],"test":{"fnDuration":2,"afterFnDuration":0},"after each":[{"hookId":"h4","fnDuration":11,"afterFnDuration":0},{"hookId":"h5","fnDuration":9,"afterFnDuration":0}],"after all":[{"hookId":"h3","fnDuration":5,"afterFnDuration":0}]},"failedFromHookId":null,"wallClockStartedAt":"2023-09-12T01:41:14.520Z","wallClockDuration":109,"videoTimestamp":2244,"startedAt":"2023-09-12T01:41:14.520Z","duration":109,"screenshots":[]}]}]},{"stats":{"duration":65,"endedAt":"2023-09-12T01:41:17.619Z","startedAt":"2023-09-12T01:41:17.554Z","failures":0,"passes":0,"pending":1,"skipped":0,"suites":1,"tests":1},"reporter":"spec","reporterStats":{"suites":1,"tests":1,"passes":0,"pending":1,"failures":0,"start":"2023-09-12T01:41:17.556Z","end":"2023-09-12T01:41:17.622Z","duration":66},"spec":{"fileExtension":".js","baseName":"c.spec.js","fileName":"c","specFileExtension":".spec.js","relativeToCommonRoot":"c.spec.js","specType":"integration","name":"cypress/e2e/c.spec.js","relative":"cypress/e2e/c.spec.js","absolute":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/e2e/c.spec.js"},"error":null,"video":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/videos/c.spec.js.mp4","shouldUploadVideo":true,"hooks":[{"hookId":"h3","hookName":"after all","title":["\"after all\" hook"],"body":"function () {\n // Need to wait otherwise some last commands get omitted from logs.\n cy.task(CONSTANTS.TASK_NAME_OUTPUT, null, {log: false});\n }"}],"tests":[{"testId":"r3","title":["Ignored test","should be a skipped test"],"state":"pending","body":"() => {\n cy.wrap(false).should('be.true');\n }","displayError":null,"attempts":[{"state":"pending","error":null,"timings":{"lifecycle":51,"after all":[{"hookId":"h3","fnDuration":5,"afterFnDuration":0}]},"failedFromHookId":null,"wallClockStartedAt":"2023-09-12T01:41:17.561Z","wallClockDuration":56,"videoTimestamp":1137,"startedAt":"2023-09-12T01:41:17.561Z","duration":56,"screenshots":[]}]}]},{"stats":{"duration":18036,"endedAt":"2023-09-12T01:41:38.079Z","startedAt":"2023-09-12T01:41:20.043Z","failures":1,"passes":2,"pending":0,"skipped":0,"suites":1,"tests":3},"reporter":"spec","reporterStats":{"suites":1,"tests":3,"passes":2,"pending":0,"failures":1,"start":"2023-09-12T01:41:20.045Z","end":"2023-09-12T01:41:38.083Z","duration":18038},"spec":{"fileExtension":".js","baseName":"b.spec.js","fileName":"b","specFileExtension":".spec.js","relativeToCommonRoot":"b.spec.js","specType":"integration","name":"cypress/e2e/b.spec.js","relative":"cypress/e2e/b.spec.js","absolute":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/e2e/b.spec.js"},"error":null,"video":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/videos/b.spec.js.mp4","shouldUploadVideo":true,"hooks":[{"hookId":"h1","hookName":"before each","title":["\"before each\" hook"],"body":"() => {\n const currentTest = cy.state(\"ctx\").currentTest;\n if (currentTest) {\n handleBefore(currentTest);\n }\n}"},{"hookId":"h2","hookName":"before each","title":["\"before each\" hook"],"body":"function () {\n cy.visit(\"/\");\n}"},{"hookId":"h4","hookName":"after each","title":["\"after each\" hook"],"body":"function () {\n self.sendLogsToPrinter(self.collectorState.getCurrentLogStackIndex(), self.collectorState.getCurrentTest());\n }"},{"hookId":"h5","hookName":"after each","title":["\"after each\" hook"],"body":"() => {\n const currentTest = cy.state(\"ctx\").currentTest;\n if (currentTest) {\n handleAfter(currentTest);\n }\n}"},{"hookId":"h3","hookName":"after all","title":["\"after all\" hook"],"body":"function () {\n // Need to wait otherwise some last commands get omitted from logs.\n cy.task(CONSTANTS.TASK_NAME_OUTPUT, null, {log: false});\n }"}],"tests":[{"testId":"r3","title":["Failing test with 2 attempts, passed test and flaky test with 2 attempts","should try 2 times"],"state":"failed","body":"() => {\n cy.wrap(false).should('be.true');\n }","displayError":"AssertionError: Timed out retrying after 4000ms: expected false to be true\n at Context.eval (webpack://cypress-13-demo/./cypress/e2e/b.spec.js:6:19)","attempts":[{"state":"failed","error":{"name":"AssertionError","message":"Timed out retrying after 4000ms: expected false to be true","stack":" at Context.eval (webpack://cypress-13-demo/./cypress/e2e/b.spec.js:6:19)","codeFrame":{"line":6,"column":20,"originalFile":"cypress/e2e/b.spec.js","relativeFile":"e2e/cypress-13-demo/cypress/e2e/b.spec.js","absoluteFile":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/e2e/b.spec.js","frame":" 4 | retries: 2,\n 5 | }, () => {\n> 6 | cy.wrap(false).should('be.true');\n | ^\n 7 | });\n 8 | \n 9 | it('should assert that true is true', () => {","language":"js"}},"timings":{"lifecycle":28,"before each":[{"hookId":"h1","fnDuration":14,"afterFnDuration":0},{"hookId":"h2","fnDuration":136,"afterFnDuration":0}],"test":{"fnDuration":4018,"afterFnDuration":237},"after each":[{"hookId":"h4","fnDuration":15,"afterFnDuration":0},{"hookId":"h5","fnDuration":18,"afterFnDuration":0}]},"failedFromHookId":null,"wallClockStartedAt":"2023-09-12T01:41:20.066Z","wallClockDuration":4474,"videoTimestamp":1174,"startedAt":"2023-09-12T01:41:20.066Z","duration":4474,"screenshots":[{"screenshotId":"xhnwk","name":"screenshot","testId":"r3","testAttemptIndex":0,"takenAt":"2023-09-12T01:41:24.271Z","path":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/screenshots/b.spec.js/Failing test with 2 attempts, passed test and flaky test with 2 attempts -- should try 2 times (failed).png","height":1440,"width":2560}]},{"state":"failed","error":{"name":"AssertionError","message":"Timed out retrying after 4000ms: expected false to be true","stack":" at Context.eval (webpack://cypress-13-demo/./cypress/e2e/b.spec.js:6:19)","codeFrame":{"line":6,"column":20,"originalFile":"cypress/e2e/b.spec.js","relativeFile":"e2e/cypress-13-demo/cypress/e2e/b.spec.js","absoluteFile":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/e2e/b.spec.js","frame":" 4 | retries: 2,\n 5 | }, () => {\n> 6 | cy.wrap(false).should('be.true');\n | ^\n 7 | });\n 8 | \n 9 | it('should assert that true is true', () => {","language":"js"}},"timings":{"lifecycle":31,"before each":[{"hookId":"h1","fnDuration":13,"afterFnDuration":0},{"hookId":"h2","fnDuration":66,"afterFnDuration":0}],"test":{"fnDuration":3994,"afterFnDuration":231},"after each":[{"hookId":"h4","fnDuration":18,"afterFnDuration":0},{"hookId":"h5","fnDuration":39,"afterFnDuration":0}]},"failedFromHookId":null,"wallClockStartedAt":"2023-09-12T01:41:24.563Z","wallClockDuration":4395,"videoTimestamp":5671,"startedAt":"2023-09-12T01:41:24.563Z","duration":4395,"screenshots":[{"screenshotId":"oxelo","name":"screenshot","testId":"r3","testAttemptIndex":1,"takenAt":"2023-09-12T01:41:28.670Z","path":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/screenshots/b.spec.js/Failing test with 2 attempts, passed test and flaky test with 2 attempts -- should try 2 times (failed) (attempt 2).png","height":1440,"width":2560}]},{"state":"failed","error":{"name":"AssertionError","message":"Timed out retrying after 4000ms: expected false to be true","stack":" at Context.eval (webpack://cypress-13-demo/./cypress/e2e/b.spec.js:6:19)","codeFrame":{"line":6,"column":20,"originalFile":"cypress/e2e/b.spec.js","relativeFile":"e2e/cypress-13-demo/cypress/e2e/b.spec.js","absoluteFile":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/e2e/b.spec.js","frame":" 4 | retries: 2,\n 5 | }, () => {\n> 6 | cy.wrap(false).should('be.true');\n | ^\n 7 | });\n 8 | \n 9 | it('should assert that true is true', () => {","language":"js"}},"timings":{"lifecycle":45,"before each":[{"hookId":"h1","fnDuration":10,"afterFnDuration":1},{"hookId":"h2","fnDuration":62,"afterFnDuration":0}],"test":{"fnDuration":4002,"afterFnDuration":219},"after each":[{"hookId":"h4","fnDuration":11,"afterFnDuration":0},{"hookId":"h5","fnDuration":22,"afterFnDuration":0}]},"failedFromHookId":null,"wallClockStartedAt":"2023-09-12T01:41:28.974Z","wallClockDuration":4376,"videoTimestamp":10082,"startedAt":"2023-09-12T01:41:28.974Z","duration":4376,"screenshots":[{"screenshotId":"obyo2","name":"screenshot","testId":"r3","testAttemptIndex":2,"takenAt":"2023-09-12T01:41:33.098Z","path":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/screenshots/b.spec.js/Failing test with 2 attempts, passed test and flaky test with 2 attempts -- should try 2 times (failed) (attempt 3).png","height":1440,"width":2560}]}]},{"testId":"r4","title":["Failing test with 2 attempts, passed test and flaky test with 2 attempts","should assert that true is true"],"state":"passed","body":"() => {\n cy.wrap(true).should('be.true');\n }","displayError":null,"attempts":[{"state":"passed","error":null,"timings":{"lifecycle":30,"before each":[{"hookId":"h1","fnDuration":10,"afterFnDuration":0},{"hookId":"h2","fnDuration":92,"afterFnDuration":0}],"test":{"fnDuration":1,"afterFnDuration":0},"after each":[{"hookId":"h4","fnDuration":15,"afterFnDuration":0},{"hookId":"h5","fnDuration":9,"afterFnDuration":0}]},"failedFromHookId":null,"wallClockStartedAt":"2023-09-12T01:41:33.369Z","wallClockDuration":162,"videoTimestamp":14477,"startedAt":"2023-09-12T01:41:33.369Z","duration":162,"screenshots":[]}]},{"testId":"r5","title":["Failing test with 2 attempts, passed test and flaky test with 2 attempts","should fail on the first attempt and pass on the second"],"state":"passed","body":"() => {\n if (attempt === 0) {\n attempt++;\n cy.wrap(false).should('be.true'); // This will fail on the first attempt\n } else {\n cy.wrap(true).should('be.true'); // This will pass on the second attempt\n }\n }","displayError":null,"attempts":[{"state":"failed","error":{"name":"AssertionError","message":"Timed out retrying after 4000ms: expected false to be true","stack":" at Context.eval (webpack://cypress-13-demo/./cypress/e2e/b.spec.js:16:21)","codeFrame":{"line":16,"column":22,"originalFile":"cypress/e2e/b.spec.js","relativeFile":"e2e/cypress-13-demo/cypress/e2e/b.spec.js","absoluteFile":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/e2e/b.spec.js","frame":" 14 | if (attempt === 0) {\n 15 | attempt++;\n> 16 | cy.wrap(false).should('be.true'); // This will fail on the first attempt\n | ^\n 17 | } else {\n 18 | cy.wrap(true).should('be.true'); // This will pass on the second attempt\n 19 | }","language":"js"}},"timings":{"lifecycle":20,"before each":[{"hookId":"h1","fnDuration":6,"afterFnDuration":0},{"hookId":"h2","fnDuration":55,"afterFnDuration":0}],"test":{"fnDuration":3990,"afterFnDuration":217},"after each":[{"hookId":"h4","fnDuration":40,"afterFnDuration":0},{"hookId":"h5","fnDuration":20,"afterFnDuration":0}]},"failedFromHookId":null,"wallClockStartedAt":"2023-09-12T01:41:33.532Z","wallClockDuration":4351,"videoTimestamp":14640,"startedAt":"2023-09-12T01:41:33.532Z","duration":4351,"screenshots":[{"screenshotId":"grumu","name":"screenshot","testId":"r5","testAttemptIndex":0,"takenAt":"2023-09-12T01:41:37.608Z","path":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/screenshots/b.spec.js/Failing test with 2 attempts, passed test and flaky test with 2 attempts -- should fail on the first attempt and pass on the second (failed).png","height":1440,"width":2560}]},{"state":"passed","error":null,"timings":{"lifecycle":36,"before each":[{"hookId":"h1","fnDuration":10,"afterFnDuration":0},{"hookId":"h2","fnDuration":102,"afterFnDuration":0}],"test":{"fnDuration":3,"afterFnDuration":0},"after each":[{"hookId":"h4","fnDuration":13,"afterFnDuration":0},{"hookId":"h5","fnDuration":11,"afterFnDuration":0}],"after all":[{"hookId":"h3","fnDuration":5,"afterFnDuration":0}]},"failedFromHookId":null,"wallClockStartedAt":"2023-09-12T01:41:37.892Z","wallClockDuration":185,"videoTimestamp":19000,"startedAt":"2023-09-12T01:41:37.892Z","duration":185,"screenshots":[]}]}]}],"startedTestsAt":"2023-09-12T01:40:54.241Z","endedTestsAt":"2023-09-12T01:41:38.079Z","config":{"additionalIgnorePattern":[],"animationDistanceThreshold":5,"arch":"arm64","autoOpen":false,"baseUrl":"https://todomvc.com/examples/vanillajs","blockHosts":null,"browsers":[{"name":"chrome","family":"chromium","channel":"stable","displayName":"Chrome","version":"116.0.5845.187","path":"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome","minSupportedVersion":64,"majorVersion":"116"},{"name":"edge","family":"chromium","channel":"stable","displayName":"Edge","version":"116.0.1938.76","path":"/Applications/Microsoft Edge.app/Contents/MacOS/Microsoft Edge","minSupportedVersion":79,"majorVersion":"116"},{"name":"electron","channel":"stable","family":"chromium","displayName":"Electron","version":"106.0.5249.51","path":"","majorVersion":106}],"chromeWebSecurity":true,"clientCertificates":[],"clientRoute":"/__/","configFile":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress.config.ts","cypressBinaryRoot":"/Users/miguelangarano/Library/Caches/Cypress/12.17.4/Cypress.app/Contents/Resources/app","cypressEnv":"production","defaultCommandTimeout":4000,"devServerPublicPathRoute":"/__cypress/src","downloadsFolder":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/downloads","env":{"currents_temp_file":"/var/folders/1l/tzj2dqys6js7w35f8rx2jsq00000gn/T/tmp-23372-hw1d9qfO9rT8","currents_debug_enabled":false},"excludeSpecPattern":"*.hot-update.js","execTimeout":60000,"experimentalCspAllowList":false,"experimentalFetchPolyfill":false,"experimentalInteractiveRunEvents":false,"experimentalMemoryManagement":false,"experimentalModifyObstructiveThirdPartyCode":false,"experimentalOriginDependencies":false,"experimentalRunAllSpecs":false,"experimentalSingleTabRunMode":false,"experimentalSkipDomainInjection":null,"experimentalSourceRewriting":false,"experimentalStudio":false,"experimentalWebKitSupport":false,"fileServerFolder":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo","fixturesFolder":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/fixtures","hosts":null,"includeShadowDom":false,"isInteractive":true,"isTextTerminal":true,"keystrokeDelay":0,"modifyObstructiveCode":true,"morgan":false,"namespace":"__cypress","numTestsKeptInMemory":0,"pageLoadTimeout":60000,"platform":"darwin","port":null,"projectId":null,"projectName":"cypress-13-demo","projectRoot":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo","rawJson":{"e2e":{"baseUrl":"https://todomvc.com/examples/vanillajs","supportFile":"cypress/support/e2e.ts","specPattern":"cypress/*/**/*.spec.js","setupNodeEvents":"[Function setupNodeEvents]"},"component":{"specPattern":["pages/__tests__/*.spec.tsx"],"setupNodeEvents":"[Function setupNodeEvents]","devServer":{"framework":"next","bundler":"webpack"}},"baseUrl":"https://todomvc.com/examples/vanillajs","supportFile":"cypress/support/e2e.ts","specPattern":"cypress/*/**/*.spec.js","setupNodeEvents":"[Function setupNodeEvents]","envFile":{},"projectRoot":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo","projectName":"cypress-13-demo","repoRoot":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13"},"redirectionLimit":20,"repoRoot":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13","report":true,"reporter":"spec","reporterOptions":null,"reporterRoute":"/__cypress/reporter","requestTimeout":5000,"resolved":{"animationDistanceThreshold":{"value":5,"from":"default"},"arch":{"value":"arm64","from":"default"},"baseUrl":{"value":"https://todomvc.com/examples/vanillajs","from":"config"},"blockHosts":{"value":null,"from":"default"},"chromeWebSecurity":{"value":true,"from":"default"},"clientCertificates":{"value":[],"from":"default"},"defaultCommandTimeout":{"value":4000,"from":"default"},"downloadsFolder":{"value":"cypress/downloads","from":"default"},"env":{"currents_temp_file":{"value":"/var/folders/1l/tzj2dqys6js7w35f8rx2jsq00000gn/T/tmp-23372-hw1d9qfO9rT8","from":"cli"},"currents_debug_enabled":{"value":false,"from":"cli"}},"execTimeout":{"value":60000,"from":"default"},"experimentalCspAllowList":{"value":false,"from":"default"},"experimentalFetchPolyfill":{"value":false,"from":"default"},"experimentalInteractiveRunEvents":{"value":false,"from":"default"},"experimentalRunAllSpecs":{"value":false,"from":"default"},"experimentalMemoryManagement":{"value":false,"from":"default"},"experimentalModifyObstructiveThirdPartyCode":{"value":false,"from":"default"},"experimentalSkipDomainInjection":{"value":null,"from":"default"},"experimentalOriginDependencies":{"value":false,"from":"default"},"experimentalSourceRewriting":{"value":false,"from":"default"},"experimentalSingleTabRunMode":{"value":false,"from":"default"},"experimentalStudio":{"value":false,"from":"default"},"experimentalWebKitSupport":{"value":false,"from":"default"},"fileServerFolder":{"value":"","from":"default"},"fixturesFolder":{"value":"cypress/fixtures","from":"default"},"excludeSpecPattern":{"value":"*.hot-update.js","from":"default"},"includeShadowDom":{"value":false,"from":"default"},"keystrokeDelay":{"value":0,"from":"default"},"modifyObstructiveCode":{"value":true,"from":"default"},"nodeVersion":{"from":"default"},"numTestsKeptInMemory":{"value":0,"from":"config"},"platform":{"value":"darwin","from":"default"},"pageLoadTimeout":{"value":60000,"from":"default"},"port":{"value":null,"from":"default"},"projectId":{"value":null,"from":"default"},"redirectionLimit":{"value":20,"from":"default"},"reporter":{"value":"spec","from":"default"},"reporterOptions":{"value":null,"from":"default"},"requestTimeout":{"value":5000,"from":"default"},"resolvedNodePath":{"value":null,"from":"default"},"resolvedNodeVersion":{"value":null,"from":"default"},"responseTimeout":{"value":30000,"from":"default"},"retries":{"value":{"runMode":0,"openMode":0},"from":"default"},"screenshotOnRunFailure":{"value":true,"from":"default"},"screenshotsFolder":{"value":"cypress/screenshots","from":"default"},"slowTestThreshold":{"value":10000,"from":"default"},"scrollBehavior":{"value":"top","from":"default"},"supportFile":{"value":"cypress/support/e2e.ts","from":"config"},"supportFolder":{"value":false,"from":"default"},"taskTimeout":{"value":60000,"from":"default"},"testIsolation":{"value":true,"from":"default"},"trashAssetsBeforeRuns":{"value":true,"from":"default"},"userAgent":{"value":null,"from":"default"},"video":{"value":true,"from":"default"},"videoCompression":{"value":32,"from":"default"},"videosFolder":{"value":"cypress/videos","from":"default"},"videoUploadOnPasses":{"value":true,"from":"default"},"viewportHeight":{"value":660,"from":"default"},"viewportWidth":{"value":1000,"from":"default"},"waitForAnimations":{"value":true,"from":"default"},"watchForFileChanges":{"value":false,"from":"config"},"specPattern":{"value":"cypress/*/**/*.spec.js","from":"config"},"browsers":{"value":[{"name":"chrome","family":"chromium","channel":"stable","displayName":"Chrome","version":"116.0.5845.187","path":"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome","minSupportedVersion":64,"majorVersion":"116"},{"name":"edge","family":"chromium","channel":"stable","displayName":"Edge","version":"116.0.1938.76","path":"/Applications/Microsoft Edge.app/Contents/MacOS/Microsoft Edge","minSupportedVersion":79,"majorVersion":"116"},{"name":"electron","channel":"stable","family":"chromium","displayName":"Electron","version":"106.0.5249.51","path":"","majorVersion":106}],"from":"runtime"},"hosts":{"value":null,"from":"default"},"isInteractive":{"value":true,"from":"default"}},"resolvedNodePath":"/Users/miguelangarano/.nvm/versions/node/v18.14.2/bin/node","resolvedNodeVersion":"18.14.2","responseTimeout":30000,"retries":{"runMode":0,"openMode":0},"screenshotOnRunFailure":true,"screenshotsFolder":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/screenshots","scrollBehavior":"top","setupNodeEvents":"[Function setupNodeEvents]","slowTestThreshold":10000,"socketId":"a2ho2asleq","socketIoCookie":"__socket","socketIoRoute":"/__socket","specPattern":"cypress/*/**/*.spec.js","supportFile":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/support/e2e.ts","supportFolder":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/support","taskTimeout":60000,"testIsolation":true,"trashAssetsBeforeRuns":true,"userAgent":null,"version":"12.17.4","video":true,"videoCompression":32,"videoUploadOnPasses":true,"videosFolder":"/Users/miguelangarano/Documents/GitHub/cypress-cloud-private-fix-cypress-13/e2e/cypress-13-demo/cypress/videos","viewportHeight":660,"viewportWidth":1000,"waitForAnimations":true,"watchForFileChanges":false,"testingType":"e2e"},"status":"finished","runUrl":"https://app.currents.dev/run/29a4135003b6df74"} \ No newline at end of file diff --git a/e2e/cypress-13-demo/scripts/files.ts b/e2e/cypress-13-demo/scripts/files.ts index cc407e4..cd4e828 100644 --- a/e2e/cypress-13-demo/scripts/files.ts +++ b/e2e/cypress-13-demo/scripts/files.ts @@ -14,6 +14,7 @@ import fs from "fs"; ciBuildId, projectId, recordKey, + batchSize: 4, }); const headers = new Headers({ @@ -21,7 +22,7 @@ import fs from "fs"; }); fs.writeFile( - "data-references/ccy-1.10-cypress-13/cypress-cloud-output-reference.json", + "data-references/ccy-1.9.4-cypress-12/cypress-cloud-output-reference.json", JSON.stringify(result), (err) => { if (err) throw err; @@ -44,7 +45,7 @@ import fs from "fs"; .then((data) => { console.log(data); fs.writeFile( - "data-references/ccy-1.10-cypress-13/currents-api-output-reference.json", + "data-references/ccy-1.9.4-cypress-12/currents-api-output-reference.json", JSON.stringify(data), (err) => { if (err) throw err; diff --git a/e2e/cypress-13-demo/scripts/test.ts b/e2e/cypress-13-demo/scripts/test.ts index 08dfac9..42d5716 100644 --- a/e2e/cypress-13-demo/scripts/test.ts +++ b/e2e/cypress-13-demo/scripts/test.ts @@ -52,9 +52,9 @@ function compareObjectsRecursively( const isEqual = objA === objB; const note = objA === undefined - ? "Does not exist in A" + ? "Does not exist" : objB === undefined - ? "Does not exist in B" + ? "Does not exist" : undefined; results.push({ @@ -69,7 +69,11 @@ function compareObjectsRecursively( return results; } -const avoidableProperties: { property: string; mustHave: boolean }[] = [ +const avoidableProperties: { + property: string | RegExp; + mustHave: boolean; + isRegex?: boolean; +}[] = [ { property: "runId", mustHave: true, @@ -82,10 +86,6 @@ const avoidableProperties: { property: string; mustHave: boolean }[] = [ property: "groupId", mustHave: true, }, - { - property: "createdAt", - mustHave: true, - }, { property: "ciBuildId", mustHave: true, @@ -174,10 +174,6 @@ const avoidableProperties: { property: string; mustHave: boolean }[] = [ property: "blackout", mustHave: false, }, - { - property: "blackout", - mustHave: false, - }, { property: "totalDuration", mustHave: true, @@ -238,43 +234,197 @@ const avoidableProperties: { property: string; mustHave: boolean }[] = [ property: "cypressVersion", mustHave: true, }, + { + property: "specFileExtension", + mustHave: false, + }, + { + property: "relativeToCommonRoot", + mustHave: false, + }, + { + property: "specType", + mustHave: false, + }, + { + property: "cypressBinaryRoot", + mustHave: false, + }, + { + property: "env.currents_temp_file", + mustHave: false, + }, + { + property: "resolved.nodeVersion", + mustHave: false, + }, + { + property: "config.version", + mustHave: true, + }, +]; + +const avoidedButNeedeProperties: { + property: string | RegExp; + mustHave: boolean; + isRegex?: boolean; +}[] = [ + { + property: "resolved.video.value", + mustHave: false, + }, + { + property: "resolved.videoCompression.value", + mustHave: false, + }, + { + property: "config.resolved.videoUploadOnPasses", + mustHave: false, + }, + { + property: /runs\[\d+\]\.video/, + mustHave: true, + isRegex: true, + }, + { + property: /runs\[\d+\]\.hooks/, + mustHave: true, + isRegex: true, + }, + { + property: /runs\[\d+\]\.tests\[\d+\]\.body/, + mustHave: true, + isRegex: true, + }, + { + property: + /runs\[\d+\]\.tests\[\d+\]\.attempts\[\d+\]\.timings\.after each\[1\]/, + mustHave: true, + isRegex: true, + }, + { + property: + /runs\[\d+\]\.tests\[\d+\]\.attempts\[\d+\]\.timings\.after all/, + mustHave: true, + isRegex: true, + }, + { + property: "config.video", + mustHave: true, + }, + { + property: "config.videoCompression", + mustHave: true, + }, + { + property: "config.videoUploadOnPasses", + mustHave: true, + }, + { + property: "runs[2].tests[0].attempts[0]", + mustHave: true, + }, + { + property: "runs[2].tests[0].testId", + mustHave: true, + }, +]; + +const similarProperties: { property: string; similarProperty: string }[] = [ + { + property: "spec.baseName", + similarProperty: "spec.name", + }, + { + property: "spec.name", + similarProperty: "spec.relative", + }, ]; function isAvoidableProperty(property: string) { - const avoidableData = avoidableProperties.find((item) => - property.includes(item.property) - ); + const avoidableData = [ + ...avoidableProperties, + ...avoidedButNeedeProperties, + ].find((item) => { + if (item.isRegex) { + return (item.property as RegExp).test(property); + } + + return property.includes(item.property as string); + }); if (avoidableData) { return avoidableData; } return; } -function testEachResults(results: ComparisonResult[]) { +function isSimilarProperty(propertyA: string) { + const similarData = similarProperties.find((item) => + propertyA.includes(item.property) + ); + if (similarData) { + return similarData; + } + return; +} + +function testEachResults(results: ComparisonResult[]): string[] { + const errors: string[] = []; results.forEach((result) => { - if (result.valueA) { - const avoidableData = isAvoidableProperty(result.path); - if (!avoidableData) { - expect( - result.valueA, - `The values are not equal at: ${result.path}. ${ - result.note ?? "" - }` - ).to.equal(result.valueB); - return; - } + try { + if (result.valueA) { + const avoidableData = isAvoidableProperty(result.path); + const similarData = isSimilarProperty(result.path); - if (avoidableData.mustHave) { - expect( - result.valueB, - `The values at ${ - result.path - } does not exist and it should. ${result.note ?? ""}` - ).not.to.equal("Does not exist"); - return; + if (similarData) { + const similarPath = result.path.split(similarData.property); + const valueB = results.find( + (item) => + item.path === + `${similarPath[0]}${similarData.similarProperty}` + )?.valueB; + expect( + result.valueA, + `The values are not equal at: ${result.path}. ${ + result.note ?? "" + }` + ).to.equal(valueB); + return; + } + + if (!avoidableData) { + expect( + result.valueA, + `The values are not equal at: ${result.path}. ${ + result.note ?? "" + }` + ).to.equal(result.valueB); + return; + } + + if (avoidableData.mustHave) { + expect( + result.valueB, + `The values at ${ + result.path + } does not exist and it should. ${result.note ?? ""}` + ).not.to.equal("Does not exist"); + expect( + result.valueB, + `The values at ${ + result.path + } does not exist and it should. ${result.note ?? ""}` + ).not.to.equal("undefined"); + return; + } } + } catch (e: any) { + const error = `${errors.length}.- ${e.toString()}`; + errors.push(error); + console.log(error.red); } }); + return errors; } async function runTests() { @@ -342,12 +492,14 @@ async function getApiData(runUrl: string) { console.log("Starting test: Currents API output".yellow); - testEachResults(currentsApiResults); + const currentsApiErrors = testEachResults(currentsApiResults); - console.log( - "Test Passed: Currents API output is the same in ccy 1.9 cypress 12 without change and ccy 1.9 cypress 12 with changes" - .green - ); + if (currentsApiErrors.length === 0) { + console.log( + "Test Passed: Currents API output is the same in ccy 1.9 cypress 12 without change and ccy 1.10 cypress 12 with changes" + .green + ); + } console.log("Starting test: Cypress Cloud output".yellow); @@ -356,12 +508,14 @@ async function getApiData(runUrl: string) { modifiedCypressCloud ); - testEachResults(cypressCloudResults); + const cypressCloudErrors = testEachResults(cypressCloudResults); - console.log( - "Test Passed: Cypress Cloud output is the same in ccy 1.9 cypress 12 without change and ccy 1.9 cypress 12 with changes" - .green - ); + if (cypressCloudErrors.length === 0) { + console.log( + "Test Passed: Cypress Cloud output is the same in ccy 1.9 cypress 12 without change and ccy 1.9 cypress 12 with changes" + .green + ); + } } catch (err) { console.error("Process error:", err); } diff --git a/package-lock.json b/package-lock.json index e98d33b..2199e7b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -168,34 +168,6 @@ "integrity": "sha512-mlaecDKQ7rIZrYD7iiKNdzFb6e/qD5I9U1rAhq+Fd+DWvYVs+G2kv74UFHmSOlg5+i/vF3XxuR522V4u8BqO+Q==", "dev": true }, - "e2e/cypress-12-demo/node_modules/cypress/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "e2e/cypress-12-demo/node_modules/cypress/node_modules/chalk/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, "e2e/cypress-12-demo/node_modules/form-data": { "version": "2.3.3", "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", @@ -24483,27 +24455,6 @@ "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.48.tgz", "integrity": "sha512-mlaecDKQ7rIZrYD7iiKNdzFb6e/qD5I9U1rAhq+Fd+DWvYVs+G2kv74UFHmSOlg5+i/vF3XxuR522V4u8BqO+Q==", "dev": true - }, - "chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "dependencies": { - "supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "requires": { - "has-flag": "^4.0.0" - } - } - } } } }, diff --git a/packages/cypress-cloud/lib/run.ts b/packages/cypress-cloud/lib/run.ts index a8bfa8c..8a6f7e2 100644 --- a/packages/cypress-cloud/lib/run.ts +++ b/packages/cypress-cloud/lib/run.ts @@ -7,10 +7,10 @@ import { createRun } from "./api"; import { cutInitialOutput, getCapturedOutput } from "./capture"; import { getCI } from "./ciProvider"; import { - getMergedConfig, - isOffline, - preprocessParams, - validateParams, + getMergedConfig, + isOffline, + preprocessParams, + validateParams, } from "./config"; import { getCoverageFilePath } from "./coverage"; import { runBareCypress } from "./cypress"; @@ -23,15 +23,15 @@ import { getPlatform } from "./platform"; import { pubsub } from "./pubsub"; import { summarizeTestResults, summaryTable } from "./results"; import { - handleScreenshotEvent, - handleTestAfter, - handleTestBefore, + handleScreenshotEvent, + handleTestAfter, + handleTestBefore, } from "./results/captureHooks"; import { getCombinedSpecResult } from "./results/combine"; import { - createReportTaskSpec, - reportTasks, - runTillDoneOrCancelled, + createReportTaskSpec, + reportTasks, + runTillDoneOrCancelled, } from "./runner"; import { SpecResult } from "./runner/spec.type"; import { shutdown } from "./shutdown"; @@ -42,166 +42,175 @@ import { startWSS } from "./ws"; const debug = Debug("currents:run"); export async function run(params: CurrentsRunParameters = {}) { - const executionState = new ExecutionState(); - const configState = new ConfigState(); - activateDebug(params.cloudDebug); - debug("run params %o", params); - params = preprocessParams(params); - debug("params after preprocess %o", params); - - if (isOffline(params)) { - info(`Skipping cloud orchestration because --record is set to false`); - return runBareCypress(params); - } - - const validatedParams = await validateParams(params); - setAPIBaseUrl(validatedParams.cloudServiceUrl); - - if (!isCurrents()) { - console.log(getLegalNotice()); - } - - const { - recordKey, - projectId, - group, - parallel, - ciBuildId, - tag, - testingType, - batchSize, - autoCancelAfterFailures, - experimentalCoverageRecording, - } = validatedParams; - - const config = await getMergedConfig(validatedParams); - configState.setConfig(config?.resolved); - - const { specs, specPattern } = await getSpecFiles({ - config, - params: validatedParams, - }); - - if (specs.length === 0) { - return; - } - - const platform = await getPlatform({ - config, - browser: validatedParams.browser, - }); - - info("Discovered %d spec files", specs.length); - info( - `Tags: ${tag.length > 0 ? tag.join(",") : false}; Group: ${ - group ?? false - }; Parallel: ${parallel ?? false}; Batch Size: ${batchSize}` - ); - info("Connecting to cloud orchestration service..."); - - const run = await createRun({ - ci: getCI(ciBuildId), - specs: specs.map((spec) => spec.relative), - commit: await getGitInfo(config.projectRoot), - group, - platform, - parallel: parallel ?? false, - ciBuildId, - projectId, - recordKey, - specPattern: [specPattern].flat(2), - tags: tag, - testingType, - batchSize, - autoCancelAfterFailures, - coverageEnabled: experimentalCoverageRecording, - }); - - setRunId(run.runId); - info("🎥 Run URL:", bold(run.runUrl)); - cutInitialOutput(); - - await startWSS(); - listenToSpecEvents( - configState, - executionState, - config.experimentalCoverageRecording - ); - - await runTillDoneOrCancelled( - executionState, - configState, - { - runId: run.runId, - groupId: run.groupId, - machineId: run.machineId, - platform, - specs, - }, - validatedParams - ); - - divider(); - - await Promise.allSettled(reportTasks); - const _summary = summarizeTestResults( - executionState.getResults(configState), - config - ); - - title("white", "Cloud Run Finished"); - console.log(summaryTable(_summary)); - info("🏁 Recorded Run:", bold(run.runUrl)); - - await shutdown(); - - spacer(); - - return { - ..._summary, - runUrl: run.runUrl, - }; + const executionState = new ExecutionState(); + const configState = new ConfigState(); + activateDebug(params.cloudDebug); + debug("run params %o", params); + params = preprocessParams(params); + debug("params after preprocess %o", params); + + if (isOffline(params)) { + info(`Skipping cloud orchestration because --record is set to false`); + return runBareCypress(params); + } + + const validatedParams = await validateParams(params); + setAPIBaseUrl(validatedParams.cloudServiceUrl); + + if (!isCurrents()) { + console.log(getLegalNotice()); + } + + const { + recordKey, + projectId, + group, + parallel, + ciBuildId, + tag, + testingType, + batchSize, + autoCancelAfterFailures, + experimentalCoverageRecording, + } = validatedParams; + + const config = await getMergedConfig(validatedParams); + configState.setConfig(config?.resolved); + + const { specs, specPattern } = await getSpecFiles({ + config, + params: validatedParams, + }); + + if (specs.length === 0) { + return; + } + + const platform = await getPlatform({ + config, + browser: validatedParams.browser, + }); + + info("Discovered %d spec files", specs.length); + info( + `Tags: ${tag.length > 0 ? tag.join(",") : false}; Group: ${ + group ?? false + }; Parallel: ${parallel ?? false}; Batch Size: ${batchSize}` + ); + info("Connecting to cloud orchestration service..."); + + const run = await createRun({ + ci: getCI(ciBuildId), + specs: specs.map((spec) => spec.relative), + commit: await getGitInfo(config.projectRoot), + group, + platform, + parallel: parallel ?? false, + ciBuildId, + projectId, + recordKey, + specPattern: [specPattern].flat(2), + tags: tag, + testingType, + batchSize, + autoCancelAfterFailures, + coverageEnabled: experimentalCoverageRecording, + }); + + setRunId(run.runId); + info("🎥 Run URL:", bold(run.runUrl)); + cutInitialOutput(); + + await startWSS(); + listenToSpecEvents( + configState, + executionState, + config.experimentalCoverageRecording + ); + + await runTillDoneOrCancelled( + executionState, + configState, + { + runId: run.runId, + groupId: run.groupId, + machineId: run.machineId, + platform, + specs, + }, + validatedParams + ); + + divider(); + + await Promise.allSettled(reportTasks); + const _summary = summarizeTestResults( + executionState.getResults(configState), + config + ); + + title("white", "Cloud Run Finished"); + console.log(summaryTable(_summary)); + info("🏁 Recorded Run:", bold(run.runUrl)); + + await shutdown(); + + spacer(); + + return { + ..._summary, + runUrl: run.runUrl, + }; } function listenToSpecEvents( - configState: ConfigState, - executionState: ExecutionState, - experimentalCoverageRecording?: boolean + configState: ConfigState, + executionState: ExecutionState, + experimentalCoverageRecording?: boolean ) { - const config = configState.getConfig(); - - pubsub.on("test:after:run", (test: string) => { - handleTestAfter(test, executionState); - }); - - pubsub.on("test:before:run", (test: any) => { - handleTestBefore(test, executionState); - }); - - pubsub.on("after:screenshot", (screenshot) => { - handleScreenshotEvent(screenshot, executionState); - }); - - pubsub.on( - "after:spec", - async ({ spec, results }: { spec: Cypress.Spec; results: SpecResult }) => { - debug("after:spec %o %o", spec, results); - - executionState.setSpecAfter( - spec.relative, - getCombinedSpecResult(results, executionState) - ); - executionState.setSpecOutput(spec.relative, getCapturedOutput()); - - if (experimentalCoverageRecording) { - const coverageFilePath = await getCoverageFilePath( - config?.env?.coverageFile - ); - if (coverageFilePath) { - executionState.setSpecCoverage(spec.relative, coverageFilePath); - } - } - createReportTaskSpec(configState, executionState, spec.relative); - } - ); + const config = configState.getConfig(); + + pubsub.on("test:after:run", (test: string) => { + handleTestAfter(test, executionState); + }); + + pubsub.on("test:before:run", (test: any) => { + handleTestBefore(test, executionState); + }); + + pubsub.on("after:screenshot", (screenshot) => { + handleScreenshotEvent(screenshot, executionState); + }); + + pubsub.on( + "after:spec", + async ({ + spec, + results, + }: { + spec: Cypress.Spec; + results: SpecResult; + }) => { + debug("after:spec %o %o", spec, results); + + executionState.setSpecAfter( + spec.relative, + getCombinedSpecResult(results, executionState) + ); + executionState.setSpecOutput(spec.relative, getCapturedOutput()); + + if (experimentalCoverageRecording) { + const coverageFilePath = await getCoverageFilePath( + config?.env?.coverageFile + ); + if (coverageFilePath) { + executionState.setSpecCoverage( + spec.relative, + coverageFilePath + ); + } + } + createReportTaskSpec(configState, executionState, spec.relative); + } + ); } diff --git a/packages/cypress-cloud/package.json b/packages/cypress-cloud/package.json index fb2df59..56ca1b2 100644 --- a/packages/cypress-cloud/package.json +++ b/packages/cypress-cloud/package.json @@ -143,4 +143,4 @@ } } } -} \ No newline at end of file +}