From df437cdb0a78bf21acc80f39010c1d834587a0a3 Mon Sep 17 00:00:00 2001 From: Ioanna Moraiti <73000452+Ioanna2001@users.noreply.github.com> Date: Fri, 30 Jun 2023 16:54:10 +0300 Subject: [PATCH] fix: AttemptResult object (#26569) Co-authored-by: Mike Plummer Co-authored-by: Mike Plummer Co-authored-by: Lachlan Miller --- cli/CHANGELOG.md | 2 +- cli/types/cypress-npm-api.d.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cli/CHANGELOG.md b/cli/CHANGELOG.md index de7fecd2438f..456a550ce17e 100644 --- a/cli/CHANGELOG.md +++ b/cli/CHANGELOG.md @@ -13,7 +13,7 @@ _Released 07/05/2023 (PENDING)_ - Fixed an issue where chrome was not recovering from browser crashes properly. Fixes [#24650](https://github.com/cypress-io/cypress/issues/24650). - Fixed a race condition that was causing a GraphQL error to appear on the [Debug page](https://docs.cypress.io/guides/cloud/runs#Debug) when viewing a running Cypress Cloud build. Fixed in [#27134](https://github.com/cypress-io/cypress/pull/27134). - Fixed a race condition in electron where the test window exiting prematurely during the browser launch process was causing the whole test run to fail. Addressed in [#27167](https://github.com/cypress-io/cypress/pull/27167). - +- Fixed minor issues with Typescript types in the CLI. Fixes [#24110](https://github.com/cypress-io/cypress/issues/24110). **Dependency Updates:** diff --git a/cli/types/cypress-npm-api.d.ts b/cli/types/cypress-npm-api.d.ts index 41a38abfdacd..93a72b52a701 100644 --- a/cli/types/cypress-npm-api.d.ts +++ b/cli/types/cypress-npm-api.d.ts @@ -187,8 +187,8 @@ declare namespace CypressCommandLine { interface AttemptResult { state: string error: TestError | null - startedAt: dateTimeISO - duration: ms + wallClockStartedAt: dateTimeISO + wallClockDuration: ms videoTimestamp: ms screenshots: ScreenshotInformation[] }