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
${Segments.HEADERS} | ${{[Segments.HEADERS]: {accept: Joi.string().regex(/xml/)}}} | ${{[Segments.HEADERS]: {accept: 'application/json'}}} | ${'"accept" with value "application/json" fails to match the required pattern: /xml/'}
35
39
${Segments.PARAMS} | ${{[Segments.PARAMS]: {id: Joi.string().token()}}} | ${{[Segments.PARAMS]: {id: '@@@'}}} | ${'"id" must only contain alpha-numeric and underscore characters'}
36
-
${Segments.QUERY} | ${{[Segments.QUERY]: Joi.object().keys({start: Joi.date()})}} | ${{[Segments.QUERY]: {end: random.number()}}} | ${'"end" is not allowed'}
37
-
${Segments.BODY} | ${{[Segments.BODY]: {first: Joi.string().required(),last: Joi.string(),role: Joi.number().integer()}}} | ${{[Segments.BODY]: {first: name.firstName(),last: random.number()},method: 'POST'}} | ${'"last" must be a string'}
38
-
${Segments.COOKIES} | ${{[Segments.COOKIES]: {state: Joi.string().required()}}} | ${{[Segments.COOKIES]: {state: random.number()}}} | ${'"state" must be a string'}
39
-
${Segments.SIGNEDCOOKIES} | ${{[Segments.SIGNEDCOOKIES]: {uid: Joi.string().required()}}} | ${{[Segments.SIGNEDCOOKIES]: {uid: random.number()}}} | ${'"uid" must be a string'}
40
+
${Segments.QUERY} | ${{[Segments.QUERY]: Joi.object().keys({start: Joi.date()})}} | ${{[Segments.QUERY]: {end: datatype.number()}}} | ${'"end" is not allowed'}
41
+
${Segments.BODY} | ${{[Segments.BODY]: {first: Joi.string().required(),last: Joi.string(),role: Joi.number().integer()}}} | ${{[Segments.BODY]: {first: name.firstName(),last: datatype.number()},method: 'POST'}} | ${'"last" must be a string'}
42
+
${Segments.COOKIES} | ${{[Segments.COOKIES]: {state: Joi.string().required()}}} | ${{[Segments.COOKIES]: {state: datatype.number()}}} | ${'"state" must be a string'}
43
+
${Segments.SIGNEDCOOKIES} | ${{[Segments.SIGNEDCOOKIES]: {uid: Joi.string().required()}}} | ${{[Segments.SIGNEDCOOKIES]: {uid: datatype.number()}}} | ${'"uid" must be a string'}
0 commit comments