My Dash app is 1.8 GB with a fairly complex directory structure.
I worked on it for ten months. The 1.0 version is now published as a Docker Image on Amazon AWS:
It is functional, but it needs a lot of testing.
For my first step, I need to be able to feed test data to a dbc.Textarea and click a dbc.Button.
However, I have been struggling to figure out how to automate testing it. I read the pytest-dash documentation and the only complete Selenium guide on Amazon. But I found out Selenium webdriver alone does not seem to work on Dash html elements. I have also reviewed the online advice, which suggests I place a copy the entire app into an app.py file (not possible). It is starting to look like I need to rewrite this app as a Flask app, so I can test it.
Can someone please tell me am I right or wrong about being able to test a large Dash app?
Am I wrong about Selenium webdriver and Dash?
If I am wrong, how should I approach the task?
What are my first steps?
Thank you for reviewing my question.
Your straightforward advice is much appreciated.
Robert