-
Notifications
You must be signed in to change notification settings - Fork 82
Description
The document doesn't have any context for completing a test.
First of all, there is no reference for the expect syntax. There are some examples for
' expect(a).to.be.a('string')
But what are the exact functions available. For example, what is the syntax for not null? expect(a).to.not.be.null()? expect(a).to.be.not.null()? expect(a).to.be.notNull()? None of those work. If this is the same syntax as chai or some other assertion tool, this needs to be specified.
Second, on the page "Tests and Script > Script > Response > Response Query", the function "res()" is described. It shows this usage:
res('order.total')
Trying this function in a script just gives the error "res is not defined". So am I supposed to import res? require res? This is not explained.