Page MenuHomePhabricator

Add tests to verify initial collapsing of sections
Open, MediumPublic

Description

During research on T263832: Major performance regression on mobile site associated with 1.36.0-wmf.10 , it's appeared that adding collapsible to section was dropped during refactoring but tests show that result is correct.

So, more tests need to be added

The tests should assert that before any javascript has executed that sections appear hidden. I.e. a browser test that executes immediately on page load.

I'm not sure how we'd do this, as it feels like a browser test but requires execution prior to any Javascript loading. It's not clear if webdriver supports such a thing. Maybe testing team have some recommendations here.

Event Timeline

Jdlrobson renamed this task from Add more tests that verifies that sections are rendered as collapsible on server side to Add tests to verify initial collapsing of sections.Sep 25 2020, 7:49 PM
Jdlrobson triaged this task as Medium priority.
Jdlrobson updated the task description. (Show Details)