Commit 4ebd47f
committed
Add touch device fixture and update test payload
Add a 'test_touch' device to the test devices (features: lcd + touch, touch.platform: gt911) and modify the touch_area test to set deviceModel: 'test_touch' in the payload. The profile.touch flag was removed so the test relies on the device model to indicate touch capability when generating YAML.1 parent 66ae96c commit 4ebd47f
File tree
1 file changed
+8
-2
lines changed- custom_components/esphome_designer/frontend/tests
1 file changed
+8
-2
lines changedLines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
31 | 37 | | |
32 | 38 | | |
33 | 39 | | |
| |||
95 | 101 | | |
96 | 102 | | |
97 | 103 | | |
| 104 | + | |
98 | 105 | | |
99 | 106 | | |
100 | 107 | | |
| |||
103 | 110 | | |
104 | 111 | | |
105 | 112 | | |
106 | | - | |
107 | | - | |
| 113 | + | |
108 | 114 | | |
109 | 115 | | |
110 | 116 | | |
| |||
0 commit comments