diff --git a/tests/e2e/tests/stateAutocompletion.spec.ts b/tests/e2e/tests/stateAutocompletion.spec.ts index 1483cea10..f51e140c4 100644 --- a/tests/e2e/tests/stateAutocompletion.spec.ts +++ b/tests/e2e/tests/stateAutocompletion.spec.ts @@ -74,22 +74,22 @@ test.describe("state autocompletion", () => { .locator(`${FIELD} button.chip:text-matches("Static List")`) .click(); await page - .locator(`${FIELD} .inputKey textarea`) + .locator(`${FIELD} .inputKey input`) .fill("@{types."); await expect(page.locator(`${FIELD} .inputKey .fieldStateAutocomplete span.prop`)).toHaveText(["none", "string", "integer", "float"]); await expect(page.locator(`${FIELD} .inputKey .fieldStateAutocomplete span.type`)).toHaveText(["null", "string", "number", "number"]); page.locator(`${FIELD} .inputKey .fieldStateAutocomplete span.prop:text-matches("string")`).click(); await expect(page - .locator(`${FIELD} .inputKey textarea`)) + .locator(`${FIELD} .inputKey input`)) .toHaveValue("@{types.string"); await page - .locator(`${FIELD} .inputValue textarea`) + .locator(`${FIELD} .inputValue input`) .fill("@{types."); await expect(page.locator(`${FIELD} .inputValue .fieldStateAutocomplete span.prop`)).toHaveText(["none", "string", "integer", "float"]); await expect(page.locator(`${FIELD} .inputValue .fieldStateAutocomplete span.type`)).toHaveText(["null", "string", "number", "number"]); page.locator(`${FIELD} .inputValue .fieldStateAutocomplete span.prop:text-matches("string")`).click(); await expect(page - .locator(`${FIELD} .inputValue textarea`)) + .locator(`${FIELD} .inputValue input`)) .toHaveValue("@{types.string"); await page.locator('[data-automation-action="delete"]').click(); }); @@ -125,13 +125,13 @@ test.describe("state autocompletion", () => { .locator(`${FIELD} button.chip:text-matches("CSS")`) .click(); await page - .locator(`${FIELD} input`) + .locator(`${FIELD} .BuilderTemplateInput input`) .fill("@{types."); await expect(page.locator(`${FIELD} .fieldStateAutocomplete span.prop`)).toHaveText(["none", "string", "integer", "float"]); await expect(page.locator(`${FIELD} .fieldStateAutocomplete span.type`)).toHaveText(["null", "string", "number", "number"]); page.locator(`${FIELD} .fieldStateAutocomplete span.prop:text-matches("string")`).click(); await expect(page - .locator(`${FIELD} input`)) + .locator(`${FIELD} .BuilderTemplateInput input`)) .toHaveValue("@{types.string"); }); }