diff --git a/src/models/IDE/VisualStudioCode.py b/src/models/IDE/VisualStudioCode.py index d673271..cfbdb31 100644 --- a/src/models/IDE/VisualStudioCode.py +++ b/src/models/IDE/VisualStudioCode.py @@ -84,11 +84,13 @@ def run_simple_analysis(self, configuration_name: str): self.press_keys("enter") # Verify analysis has started + time.sleep(5) terminal_lines = self.copy_terminal_output() log_map = parse_log_string(terminal_lines[1]) assert is_date_today(log_map["time"]) - assert log_map["msg"] == "running source code analysis" + # todo: implement a function to return a list of all the messages in all the terminal lines + assert "running source code analysis" in terminal_lines def is_analysis_complete(self, timeout=300): """