Ok, Thanks Marius, I am working on my own test for the patch now, but what you have taught me about automate testing by maven is really great and I just had a try.
On Fri, May 13, 2011 at 1:54 PM, Marius Dumitru Florea < [email protected]> wrote: > Anyway, you shouldn't spend too much time on this. As I told you on IRC, > http://ci.xwiki.org/ is responsible for running all the tests. You > should run locally only the tests that you write or investigate. You > should focus on writing the test for the JIRA issue you fixed. If there > is a problem with the WYSIWYG editor tests it will show up on CI and I > will handle it. > > Thanks, > Marius > > On 05/13/2011 08:41 AM, Marius Dumitru Florea wrote: > > On 05/13/2011 04:27 AM, 许凌志(Jamesxu) wrote: > >> Hi, I run all the test under xwiki-enterprise-test-wysiwyg again, still > got > >> 2 failures and 22 errors, I upload it to google doc: > >> > https://docs.google.com/document/pub?id=1kh5emfmiMlcEkNUKOfxyZSyj9rRV0EjR8yE0ceOUsOQ > >> > >> There are a lot of > "com.thoughtworks.selenium.Wait$WaitTimedOutException: > >> The specified tree node, Blog, is not present!" errors, anyone can tell > me > >> why > > > > Are you sure you are running the tests against the latest XWiki > > Enterprise snapshot? I recently changed the XWiki Explorer tree > > specifically to fix those kind of test errors/failures. It's easy to > > check: edit a page in WYSIWYG edit mode and create a link to a wiki > > page. If the wiki page nodes in the tree have tool tips and the page > > name is used as node label then your snapshot includes my fix. Otherwise > > you have to stop any running XE instance and use > > > > mvn -U clean install -Dpattern=ClassOfTestInError -Dpattern=testInError > > > > to run just the failing/error tests against the latest snapshot (which > > will be downloaded). > > > > Hope this helps, > > Marius > > _______________________________________________ > > devs mailing list > > [email protected] > > http://lists.xwiki.org/mailman/listinfo/devs > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs > -- Best wishes, 许凌志(Jame Xu) MOE KLINNS Lab and SKLMS Lab, Xi'an Jiaotong University Department of Computer Science and Technology, Xi’an Jiaotong University _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

