You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pm.environment.set('trigger', 0)
let trigger = pm.environment.get('trigger')
if (trigger === 0) {
pm.test("trigger is 0", function() {
pm.expect(trigger).to.eql(0)
})
}
else {
pm.test("trigger is 1", function() {
pm.expect(trigger).to.eql(1)
})
}
If I run this test in Postman or newman, it will show me correct results (1 test passed).
But if send this test in ReportPortal, it will show me incorrect results (1 test passed and 1 In Progress forever).
I've tried to use switch-case, but issue still exists.
The text was updated successfully, but these errors were encountered:
I have simple test (see code below):
If I run this test in Postman or newman, it will show me correct results (1 test passed).
But if send this test in ReportPortal, it will show me incorrect results (1 test passed and 1 In Progress forever).
I've tried to use switch-case, but issue still exists.
The text was updated successfully, but these errors were encountered: