zhengyr / rest-client

Automatically exported from code.google.com/p/rest-client
Apache License 2.0
0 stars 0 forks source link

Test Result Failures and Error sub-tabs don't clear on success #141

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. In the GUI, run a test with a test script that will assert a failure
2. Under Test Result note that the Failures tab has the failure listed
3. Run a test with a test script that will succeed
4. Under Test Result note that the Failures tab still lists the failure from 
the previous failed test run even though the Summary and Trace tabs show it as 
a success
5. Repeat the steps inducing an error, the Errors sub-tab also does not clear 
after a success.
6. Reset All does not appear to clear them, only restarting the GUI.

What is the expected output? What do you see instead?

After a successful test the Failures and Errors sub-tabs should not show 
failures from previous failed tests.

What version of the product are you using? On what operating system?

2.3.3 on Linux

Original issue reported on code.google.com by sydd.so...@gmail.com on 29 Mar 2012 at 7:01

GoogleCodeExporter commented 8 years ago
Thanks for reporting the issue. I am able to reproduce the issue.

Original comment by subwiz on 30 Mar 2012 at 4:25

GoogleCodeExporter commented 8 years ago
Fixed:

$ svn log -v
------------------------------------------------------------------------
r517 | subwiz | 2012-03-30 10:22:12 +0530 (Fri, 30 Mar 2012) | 1 line
Changed paths:
   M /trunk/restclient-ui/src/main/java/org/wiztools/restclient/ui/TestResultPanel.java

[Issue: 141] Fixed previous test results persisting.

Can you please validate:

http://dl.dropbox.com/u/2505020/restclient-ui-2.4-SNAPSHOT-jar-with-dependencies
.jar

and change the status of the issue as Verified?

Original comment by subwiz on 30 Mar 2012 at 4:59

GoogleCodeExporter commented 8 years ago
I validated this fix but did not get expected results in all cases. I'm 
attaching a text file that has more details. While it did appear to fix the 
problem stated in this bug, perhaps I uncovered another bug. If so I'd be happy 
to create another issue.

Original comment by sydd.so...@gmail.com on 30 Mar 2012 at 7:24

Attachments:

GoogleCodeExporter commented 8 years ago
Oops forgot to note that between Test 3 and Test 4 in the attachment above I 
re-ran Test 2 and confirmed that the Errors tab was cleared as expected.

Original comment by sydd.so...@gmail.com on 30 Mar 2012 at 7:27