Unable to find element
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)
Answers
-
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,075 ⚖️ - Guardians (admin)
Heyhey,
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,
Florian
0 -
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
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 75 Spryker News
- 919 Developer Corner
- 779 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 34 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 25 Job Opportunities
- 3.2K 📜 Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 69 Spryker Safari Questions
- 50 Random