mirror of
https://github.com/lukevella/rallly.git
synced 2025-08-01 23:48:53 +02:00
✨ Add ability to change participant's name (#577)
This commit is contained in:
parent
05d2c7b1d0
commit
cb52adab01
15 changed files with 406 additions and 261 deletions
|
@ -21,11 +21,14 @@ test("should be able to vote and comment on a poll", async ({ page }) => {
|
|||
page.locator("data-testid=participant-selector").locator("text=You"),
|
||||
).toBeVisible();
|
||||
|
||||
await page.click("text=Edit");
|
||||
await page.getByTestId("participant-menu").click();
|
||||
await page.getByText("Edit votes").click();
|
||||
await page.click("data-testid=poll-option >> nth=1");
|
||||
await page.click("text=Save");
|
||||
|
||||
await page.click("data-testid=delete-participant-button");
|
||||
await page.getByTestId("participant-menu").click();
|
||||
await page.locator("button", { hasText: "Delete" }).click();
|
||||
const modal = page.getByTestId("modal");
|
||||
await modal.locator("button", { hasText: "Delete" }).click();
|
||||
await expect(page.locator("text='Test user'")).not.toBeVisible();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue