Skip to content

Commit b5b8213

Browse files
committed
Introduce a helper function to create a freetext editor in the integration tests
Doing so has a number of advantages: - it removes code duplication, thereby improving readability; - it removes hardcoded editor IDs, by using the `getNextEditorId` helper function that was previously introduced for the highlight editor integration tests, thereby improving readability and reusability; - it removes potential for intermittent failures by not proceeding until the freetext editor is fully created and all assertions pass, which didn't happen consistently before because the code wasn't centralized.
1 parent 57334bd commit b5b8213

2 files changed

Lines changed: 319 additions & 314 deletions

File tree

0 commit comments

Comments
 (0)