Skip to content
#

e2e-testing

Here are 305 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

AndrewRMillar
AndrewRMillar commented Jan 28, 2022

Add the tests missing from the repo README todo list

Cart

  • it merges an already existing cart when a customer logs in

MiniCart

  • it can open the cart slider by clicking on the cart icon in the header
  • it can change the quantity of an item in the cart slider

Homepage

  • it add products shown on the homepage to the cart when a add to cart button is present

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