editor functional tests: Simplify test pages and switch to tdd

Switching to tdd enables avoiding bugs when testing multiple platforms
concurrently, by storing variables within the scope of the suite.

Also raised the max-duration since the editor tests can take a few minutes.
editor functional tests: Move test page out of subdirectory