Skip to content

Commit 8a06682

Browse files
committed
Prepare end-to-end tests for Home Assistant 2026.9.0
1 parent acf3948 commit 8a06682

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

.hass/config/.HA_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2026.8.3
1+
2026.9.0b3

tests/18 - debug-analytics.spec.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ test.describe('Analytics', () => {
155155
INTEGRATIONS = 'panel_visited: /config/integrations'
156156
}
157157

158+
const userNameLocatorSelector = '.subject';
158159
const userName = 'Test';
159160

160161
const clickOnElements = async (page: Page) => {
@@ -203,7 +204,7 @@ test.describe('Analytics', () => {
203204
await clickOnElements(page);
204205

205206
const logbookEntries = page.locator(SELECTORS.ENTRY_CONTAINER).filter({
206-
has: page.locator('button', { hasText: userName })
207+
has: page.locator(userNameLocatorSelector, { hasText: userName })
207208
});
208209

209210
await expect(logbookEntries).toContainText([
@@ -230,7 +231,7 @@ test.describe('Analytics', () => {
230231
await clickOnElements(page);
231232

232233
const logbookEntries = page.locator(SELECTORS.ENTRY_CONTAINER).filter({
233-
has: page.locator('button', { hasText: userName })
234+
has: page.locator(userNameLocatorSelector, { hasText: userName })
234235
});
235236

236237
await expect(logbookEntries).toContainText([
@@ -254,7 +255,7 @@ test.describe('Analytics', () => {
254255
await clickOnElements(page);
255256

256257
const logbookEntries = page.locator(SELECTORS.ENTRY_CONTAINER).filter({
257-
has: page.locator('button', { hasText: userName })
258+
has: page.locator(userNameLocatorSelector, { hasText: userName })
258259
});
259260

260261
await expect(logbookEntries).toContainText([

0 commit comments

Comments
 (0)