From 2c2e5de77e8e1b604626a203dc2199a85082b566 Mon Sep 17 00:00:00 2001 From: Jed Reynolds Date: Tue, 30 Jun 2020 15:34:28 -0700 Subject: [PATCH] run_cv_scenario.py: adds more commands to automation script --- py-scripts/run_cv_scenario.py | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/py-scripts/run_cv_scenario.py b/py-scripts/run_cv_scenario.py index 49eb2070..9702b65c 100755 --- a/py-scripts/run_cv_scenario.py +++ b/py-scripts/run_cv_scenario.py @@ -86,19 +86,20 @@ class RunCvScenario(LFCliBase): # /gui_cli takes commands keyed on 'cmd', so we create an array of commands commands = [ "cv apply '%s'" % self.cv_scenario, - "sleep 2", "cv build", "sleep 2", "cv is_built", - "sleep 2", + "cv sync", + "sleep 1", "cv create '%s' test_ref" % self.cv_test, - "sleep 2", + "sleep 1", "cv load test_ref '%s'" % self.test_profile, - "sleep 2", - # "cv click test_ref 'Auto Save Report'", - # "cv click test_ref Start" - # "cv get rvr_instance 'Report Location:'" - "cv click test_ref Cancel" + "sleep 1", + "cv click test_ref 'Auto Save Report'", + "cv click test_ref Start" + "cv get test_ref 'Report Location:'" + "cv click test_ref Cancel", + "exit" ] response_json = [] for command in commands: