Yes. But there are just some problems with that:
- it’s slower and we don’t have more agents
- it’s more fragile (more flickers) to use the WYSIWYG editor
- the minimum thing that must work in xwiki platform is the wiki editor. The wysiwyg editor is a bonus. Said differently the minimal flavor should not include the WYSIWYG editor, i.e. XWiki can be operated without a WYSIWYG editor. So from a POV of platform it makes sense to test with the wiki editor. From the POV of the XS flavor, it makes less sense but we don’t want to rerun all tests either with the WYSIWYG editor because we don’t have the agent power to do that. Func tests already take too long.
In any case all I’m looking after is some unequivocal rules so that a dev will know for sure if he has to write tests with the WYSIWYG editor not. My preference still goes to not use the WYSIWYG by default and exceptionally use it (it needs to be justified in comment when it’s used), and the dev should think hard first about how that test could be put in the CKEditor module instead.