Hi! I’m trying to complete this assignment but although I followed the instructions (I copied the subfolders with the requests in it) the only test that passes is “status > Get API status: contains status code test” all the remaining ones fail because of an assertion error: products > Get all products: contains status code test | AssertionError: check script: expected ‘pm.test(“Status code is 200”, functio…’ to include ‘pm.expect(pm.response.code).to.eql(20…’
All the tests pass after running the API requests folder.
Why does the first test pass and the other ones don’t? Here’s my Assignment #2 collection.
I’ll be grateful for any help.