Skip to content

pickOneItem is opaque #21

@cer

Description

@cer
  pickOneItem: async () => {

    await waitForSelector(page, cssSel(SEL.BTN_TO_CHECKOUT).mod(MOD.ATTR_DISABLED));
    await waitForSelector(page, cssSel(SEL.INFO_TRAY_IS_EMPTY));
    await waitForSelector(page, cssSel(SEL.INFO_CART_VALUE_OF('0.00')));

What item is picking?

The above lines could be improved:

  pickOneItem: async () => {

    await checkoutButton(page).expectDisabled()
    await whatEverThisIS(page).expectVisible();
    await orderTotal(page).expectEqualTo('0.00');
  • Is this a tray or a cart?

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions