Giter VIP home page Giter VIP logo

Comments (3)

martijn-bigbridge avatar martijn-bigbridge commented on September 20, 2024

I see now that createGuestOrder (that was a test) really generates a order in the backend, haha so that is working but one step too far.

I need to see the random product at the cy.visit('/checkout/register'); page

from e2e-testsuite-platform.

leichteckig avatar leichteckig commented on September 20, 2024

Hello @martijn-bigbridge 👋
thank you for your issue and sorry for being late 🙈

  1. Unfortunately, I can't reproduce this issue as the commands work as intended in our tests. Can you provide us more information, e.g. a gist with your full test or similar?

  2. If you want to start your test with a full cart, using order commands alone aren't enough. As the context token is not stored in the Storefront session automatically via fixture, you need to write a small handler that writes the context token into the user session.

In our tests, we use the "old school" way as it's part of the workflow the customer would do. You can find our tests in the platform repository.

Well, I hope I was able to help you already, at least a bit. Kind regards,
Ramona

from e2e-testsuite-platform.

martijn-bigbridge avatar martijn-bigbridge commented on September 20, 2024

Hi @leichteckig,

Thanks for the info.

  1. I guess i'm doing something wrong, I will test this again at a later point.
  2. I will try the 'old school' using your example for now.

from e2e-testsuite-platform.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.