Skip to content

Cypress.Screenshot link is broken in index.d.ts #6359

Description

@GregLahaye

Current behavior:

It currently links to https://on.cypress.io/api/screenshot-api, which redirects to https://docs.cypress.io/api/commands/screenshot-api.html (404 Page Not Found)

index.d.ts

    /**
     * @see https://on.cypress.io/api/screenshot-api
     */
    Screenshot: {
      defaults(options: Partial<ScreenshotDefaultsOptions>): void
    }

Desired behavior:

It should link to https://on.cypress.io/screenshot-api, which redirects to https://docs.cypress.io/api/cypress-api/screenshot-api.html, the correct page

index.d.ts

    /**
     * @see https://on.cypress.io/screenshot-api
     */
    Screenshot: {
      defaults(options: Partial<ScreenshotDefaultsOptions>): void
    }

Test code to reproduce

Open index.d.ts file or use hover over Cypress.Screenshot in IDE

Versions

4.0.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions