Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "defaultPlaybackOptions" command #5

Open
tvsbrent opened this issue Jan 25, 2022 · 0 comments
Open

Add "defaultPlaybackOptions" command #5

tvsbrent opened this issue Jan 25, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@tvsbrent
Copy link
Contributor

Is your feature request related to a problem? Please describe.

In many cases, a developer will need the same playback options on all of the playback commands in a test, and it can lead to errors if the developer forgets to assign those options to a single command.

Describe the solution you'd like

A new command, something like cy.defaultPlaybackOptions that takes a playback options object. Since the playback options has a nested object, recording, we'd want to make sure that any recording options are not lost if only a top-level property, like minTimes, is passed in.

Describe alternatives you've considered

n/a

Additional context

n/a

@tvsbrent tvsbrent added the enhancement New feature or request label Jan 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant