Skip to content

Commit eb124fe

Browse files
committed
fix(element): target textbox without text
1 parent 262e05c commit eb124fe

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

i18n/texts.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ export const texts = {
55
choose: "Choose file",
66
description: "Add a descriptive title to your document",
77
done: "Done",
8-
content: "Text editor for creating content",
98
post: "Pst",
109
},
1110
cz: {
@@ -14,7 +13,6 @@ export const texts = {
1413
choose: "Vybrat soubor",
1514
description: "Přidejte popisný název svého dokumentu",
1615
done: "Hotovo",
17-
content: "O čem chcete napsat?",
1816
post: "Zeveřejnit",
1917
},
2018
} as const;

tests/linked_in_post.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ test("test", async ({ page }) => {
4545
await page.getByPlaceholder(texts[lang].description).fill(altOfFile);
4646
await page.getByRole("button", { name: texts[lang].done }).click();
4747

48-
await page.getByRole("textbox", { name: texts[lang].content }).fill(postText);
48+
await page.getByRole("textbox").fill(postText);
4949
await page.waitForSelector(".share-creation-state iframe");
5050
await page.getByRole("button", { name: texts[lang].post }).click();
5151
});

0 commit comments

Comments
 (0)