Skip to content
#

e2e-testing

Here are 306 public repositories matching this topic...

cypress
veloware
veloware commented Dec 9, 2021

Current behavior

According to the docs, https://docs.cypress.io/api/commands/wait#Aliases

and also the type definition for wait() -

wait(alias: string[], options?: Partial<WaitOptions>): Chainable<Interception[]>

a wait that accepts an array of aliases, should return an array of Interception

This doesnt seem to be the case when the array has one interception. The

playwright
pactum
emfomy
emfomy commented Sep 23, 2021

Describe the bug
Most expect methods print the request and response when the assertion fails.
However, the custom expect handler does not show these objects.

To Reproduce
Steps to reproduce the behavior:

const spec = pactum.spec();
spec.get(url);
await spec.toss();
await spec.response().to.have._((ctx) => {
  assert.fail('error');
});

*Expected behavior

enhancement good first issue

Improve this page

Add a description, image, and links to the e2e-testing topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the e2e-testing topic, visit your repo's landing page and select "manage topics."

Learn more