Re: [html-tests][shadow-dom-tests] Add tests for slot.assignedElements() method (#4541)

Oh yeah, we certainly don't want to duplicate tests like this. We should at minimum extract helper functions that create trees to test things.

Note that I usually prefer not having logics for assertions since I prefer test assertions being duplicated over test assertions dependent on complicated logic prone to bugs.

View on GitHub: https://github.com/w3c/web-platform-tests/pull/4541#issuecomment-274730713

Received on Tuesday, 24 January 2017 07:38:36 UTC