diff --git a/extension/src/xdevice_extension/_core/driver/drivers.py b/extension/src/xdevice_extension/_core/driver/drivers.py index b84d646ae9428493b09fddd15e2a76c1b28e8134..d071546e385b894c5a893d93bc1930904ad92460 100644 --- a/extension/src/xdevice_extension/_core/driver/drivers.py +++ b/extension/src/xdevice_extension/_core/driver/drivers.py @@ -1684,7 +1684,8 @@ class JSUnitTestDriver(IDriver): % (ability_name, package) result_value = self.config.device.hdc_command(command) - if result_value and "success" in str(result_value).lower(): + if result_value and "start ability successfully" in\ + str(result_value).lower(): setattr(self, "start_success", True) LOG.info("execute %s's testcase success. result value=%s" % (package, result_value))