Currently, whenever phantomFlow is run, the results directory is removed. However, this is problematic if instead of running all tests, the user runs a specific test/tests via filterTests variable. In this case, the current report is only generated from the data relating to these tests.
Instead, the visual results/data should be maintained for non-run tests, so that they are included in the newest report. Made adjustments to main script to check if there are filterTests and if so, purge the dataPath, debugPath, and visualResultsPath pertinent only to the test selected.
Currently, whenever phantomFlow is run, the results directory is removed. However, this is problematic if instead of running all tests, the user runs a specific test/tests via filterTests variable. In this case, the current report is only generated from the data relating to these tests.
Instead, the visual results/data should be maintained for non-run tests, so that they are included in the newest report. Made adjustments to main script to check if there are filterTests and if so, purge the dataPath, debugPath, and visualResultsPath pertinent only to the test selected.