Show More
@@ -257,9 +257,11 b' class JSController(TestController):' | |||||
257 | ret = super(JSController, self).wait(*pargs, **kwargs) |
|
257 | ret = super(JSController, self).wait(*pargs, **kwargs) | |
258 | # If this is a SlimerJS controller, echo the captured output. |
|
258 | # If this is a SlimerJS controller, echo the captured output. | |
259 | if self.engine == 'slimerjs': |
|
259 | if self.engine == 'slimerjs': | |
260 | print(self.stdout) |
|
260 | # Echo captured output. | |
|
261 | stdout = bytes_to_str(self.stdout) | |||
|
262 | print(stdout) | |||
261 | # Return True if a failure occured. |
|
263 | # Return True if a failure occured. | |
262 |
return self.slimer_failure.search(strip_ansi( |
|
264 | return self.slimer_failure.search(strip_ansi(stdout)) | |
263 | else: |
|
265 | else: | |
264 | return ret |
|
266 | return ret | |
265 |
|
267 |
General Comments 0
You need to be logged in to leave comments.
Login now