diff --git a/src/frontend/tests/end-to-end/textInputOutput.spec.ts b/src/frontend/tests/end-to-end/textInputOutput.spec.ts index 1b4a10d43..5312cb96b 100644 --- a/src/frontend/tests/end-to-end/textInputOutput.spec.ts +++ b/src/frontend/tests/end-to-end/textInputOutput.spec.ts @@ -131,7 +131,6 @@ test("TextInputOutputComponent", async ({ page }) => { await page.getByText("Text Output", { exact: true }).nth(2).click(); let contentOutput = await page.getByPlaceholder("Empty").inputValue(); expect(contentOutput).not.toBe(null); - expect(contentOutput).not.toBe(""); await page.keyboard.press("Escape"); @@ -149,7 +148,6 @@ test("TextInputOutputComponent", async ({ page }) => { await page.getByText("Outputs", { exact: true }).nth(1).click(); await page.getByText("Text Output", { exact: true }).nth(2).click(); - contentOutput = await page.getByPlaceholder("Empty").textContent(); + contentOutput = await page.getByPlaceholder("Empty").inputValue(); expect(contentOutput).not.toBe(null); - expect(contentOutput).not.toBe(""); });