googleinterns / smart-home-testing

Apache License 2.0
1 stars 2 forks source link

[Automation script] Check EXECUTE command response against Home Graph state #18

Open Fleker opened 4 years ago

Fleker commented 4 years ago

Send a request to Home Graph to get states, ensure they line up with state values from the EXECUTE response.

Note that there may be some delay between EXECUTE and Home Graph Query, so there may need to be several calls (polling) before the state is changed. Measure this as part of the latency.

It's also possible that the state is never changed, if the partner implementation is buggy, so there should be some higher timeout when the command test case should end.