Add test for device selection with specific addresses
Adds a new test case to verify that `selectDevice` correctly updates the selected device state when dealing with multiple devices of the same type but with different addresses. This test validates the logic in `isSelectedDevice`, ensuring that the device address is properly considered when determining the selected device. It also improves the existing `selectDevice` test by ensuring the device is in the available list before being selected, reflecting a more realistic scenario. Please help fill out the survey for feedback: https://docs.google.com/forms/d/e/1FAIpQLSeKFKpHImCAqZIa_OR801cw72HQUreM2oGM25C3mKKT2tBFnw/viewform?usp=pp_url&entry.1586624956=ag/35420942 Please feel free to use your domain knowledge to make changes to the generated tests to make it more valuable for your team. Original Change: ag/34813753 Test: ATP tests passed http://go/forrest-run/L09000030017475354 Bug: 431235865 Flag: TEST_ONLY Change-Id: Ia611a91dcfe8b261199869102de6f47b918bf7a8
Loading
Please register or sign in to comment