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

Skip request is not working both on cli running or collection running usaing UI #1575

Open
thiagosouza opened this issue Jul 16, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@thiagosouza
Copy link

Describe the bug
I need to skip some requests in my tests. So I am trying the skip request functionality, but it is not working. I verified everything I could with no success.

To Reproduce
create two requests and in the first one add a pre-request script with the following code

if(someReasonToSkip)
  await tc.skipRequest(tc.request.id);

Expected behavior
It was supposed to not execute the second request, but it is running it anyways.

Platform:

  • OS: Windows
  • vscode version: 1.19.1.1
  • node version: 20
  • extension version: v2.24.12

Are you using the free version/paid version/trial:
paid

@thiagosouza thiagosouza added the bug Something isn't working label Jul 16, 2024
@rangav
Copy link
Collaborator

rangav commented Jul 16, 2024

@thiagosouza thanks for reporting the bug, Will verify and get back to you asap.

@rangav
Copy link
Collaborator

rangav commented Jul 18, 2024

I just now tested it's working.

Can you please create a sample collection and export and share the file.

try using actual request id - tc.skipRquest("reqID")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants