Re: [w3c/webcomponents] [WebDriver] Testability of web components (#771)

@diervo

> All we have done to enable this, is to provide a couple of helper methods to our WebDriver classes that facilitate navigation and traversal

What I'd like to know is why you needed those methods. Here's an example of a concrete use case.

 - I want to write an integration test, and make sure when I click on a "Done" button inside a calendar widget's shadow tree, it would reflect the change back to the timeline widget's shadow tree.
 - I want to write an unit test for a chart component, and I want to verify that when I update the data set associated with it via a method on the chart, the canvas element inside its shadow tree gets redrawn.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/771#issuecomment-440064002

Received on Monday, 19 November 2018 22:25:39 UTC