Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e09f19a8 authored by AI test gen's avatar AI test gen Committed by Ang Li
Browse files

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
parent 7c077e50
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment