Calling Developers!
We are reenergizing our code contribution process! Learn More

Unable to find element

abhaydhar Architect Posts: 4 🧑🏻‍🚀 - Cadet
edited September 2023 in Spryker Development

Trying to resolve this error on codecept. Any inputs appreciated.. Getting this issue on b2bdemoshop as well

[Facebook\WebDriver\Exception\NoSuchElementException] no such element: Unable to locate element: {"method":"css selector","selector":"#side\2D menu"}
(Session info: headless chrome=108.0.5359.125)


  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,005 ⚖️ - Guardians (admin)


    I move the thread out of the development environment category to the more general spryker category.

    Can you please provide more information? Is this a standard test which is failing? Are you sure your css-selector is correct? Based on the page there is no backslash as css-selector.

    All the best,


  • abhaydhar
    abhaydhar Architect Posts: 4 🧑🏻‍🚀 - Cadet

    The failing tests are from the b2b-demo-shop and the test case flow is to login the user , the login is failing,because the username/password seems to be hardcoded on the generated file and there is no way to override the credentials. the css selector is the post login menu, since the login fails , the overall test case fails.

    for now we have ignored the testcases which we copied from the b2b-demo-shop and only running our custom test cases