amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

amp-bind: Integration tests

Open dreamofabear opened this issue 9 years ago • 3 comments

Currently, amp-bind and each component that amp-bind interfaces with (e.g. amp-carousel) have individual unit tests. It'd be good to have an integration test for each (amp-bind, <other component>) tuple to prevent regressions across this interface.

/cc @kul3r4 @kmh287

dreamofabear avatar Feb 06 '17 15:02 dreamofabear

@choumx is this a prioritized FR?

adelinamart avatar Feb 06 '17 19:02 adelinamart

@cramforce:

I think something super simple should work like:

  • load page with image
  • click button
  • observe that image source changed to new value

This should give us some confidence that things are working end to end while details are tested in unit tests.

dreamofabear avatar Feb 13 '17 21:02 dreamofabear

We now have integration tests for all currently supported components.

kmh287 avatar Mar 27 '17 17:03 kmh287