Skip to content

Dynamically setting baseUrl with TestConfigOverrides #22072

@PepijnSenders

Description

@PepijnSenders

Current behavior

In v9 we were able to set the baseUrl but it has disappeared from the TestConfigOverrides type.

Desired behavior

Add the e2e key to the TestConfigOverrides type.

Test code to reproduce

interface TestConfigOverrides extends Partial<Pick<ConfigOptions, 'animationDistanceThreshold' | 'blockHosts' | 'defaultCommandTimeout' | 'env' | 'execTimeout' | 'includeShadowDom' | 'numTestsKeptInMemory' | 'pageLoadTimeout' | 'redirectionLimit' | 'requestTimeout' | 'responseTimeout' | 'retries' | 'screenshotOnRunFailure' | 'slowTestThreshold' | 'scrollBehavior' | 'taskTimeout' | 'viewportHeight' | 'viewportWidth' | 'waitForAnimations' | 'experimentalSessionAndOrigin'>> {

Cypress Version

10.0.2

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugtype: typingsIssue related to Cypress types (for TypeScript)v10.0.0 🐛Issue present since 10.0.0

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions