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

sleep after running a spec #349

Closed
ASaiAnudeep opened this issue Apr 26, 2024 · 1 comment · Fixed by #354
Closed

sleep after running a spec #349

ASaiAnudeep opened this issue Apr 26, 2024 · 1 comment · Fixed by #354
Labels
enhancement New feature or request

Comments

@ASaiAnudeep
Copy link
Member

Is your feature request related to a problem? Please describe.
sleep after running a spec

Describe the solution you'd like

await spec()
  .get('/path')
  .expectStatus(200)
  .sleep(1000);

Describe alternatives you've considered

await spec()
  .get('/path')
  .expectStatus(200);

await sleep(1000);

Additional context
Can be used in spec handlers.

@ASaiAnudeep ASaiAnudeep added the enhancement New feature or request label Apr 26, 2024
@baabouj
Copy link
Contributor

baabouj commented May 13, 2024

@ASaiAnudeep I would love to work on this. Can I give it a try?

@ASaiAnudeep ASaiAnudeep linked a pull request May 17, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants