Name the send delay slider now that the content settings hold two (#670)
This commit is contained in:
parent
38f81b7f9e
commit
8b8b518602
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ const writeComment = async (page: Page, body: string) => {
|
||||||
|
|
||||||
// The slider is initialised from the settings store on mount, so a fresh page says the client took it.
|
// The slider is initialised from the settings store on mount, so a fresh page says the client took it.
|
||||||
const setSendDelay = async (page: Page, seconds: number) => {
|
const setSendDelay = async (page: Page, seconds: number) => {
|
||||||
const slider = page.locator("input[type=range]")
|
const slider = page.getByRole("slider", {name: "Send delay"})
|
||||||
|
|
||||||
await page.goto("/settings/content")
|
await page.goto("/settings/content")
|
||||||
await slider.fill(String(seconds * 1000))
|
await slider.fill(String(seconds * 1000))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue