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
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: