I am working in a large scale project automation with Selenium where multiple test suites are available. When a single suite is running, it works fine. But when all suites are running all together it behaves abnormally. Sometimes shows element not found, noSuchElementFound etc though all suites works fine when run independently.
Project structure Main Suite - suite 1 - suite 2 - Suite 3 Suite 1 - LoginTestCases - DashboardTestCase Suite 2 - abcd - abcd Suite 3 - abcd - abcd Implementation - Util.py - Login.py - Dashboard.py
Tried with firefox/chrome browser head/headless options. But no luck. Full project running fails every time. Needs run failed cases again.
Python is used as automation language.
Is there any way around that can make sure full project run will be successful as all single suites runs successfully?