officejs_ui_test: use clickAndWait in xhtml_style

The previous pattern of using click and then pause is fragile and seems
to be the cause for test failures.
1 job for for_testrunner_1
Status Job ID Name Coverage
  External
failed ERP5.UnitTest-Zope2