Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add data-event-id="$xxx" attributes to timeline items for easy select…
…ing in tests Split out from #653 Example test assertions: https://github.com/matrix-org/matrix-public-archive/blob/db6d3797d74104ad7c93e572ed106f1a685a90d0/test/e2e-tests.js#L248-L252 ```js // Make sure the $abc event on the page has "foobarbaz" text in it assert.match( dom.document.querySelector(`[data-event-id="$abc"]`).outerHTML, new RegExp(`.*foobarbaz.*`) ); ```
- Loading branch information