fix: e2e
This commit is contained in:
parent
48a7f0fd93
commit
665b251ee1
3 changed files with 11 additions and 7 deletions
|
|
@ -20,7 +20,7 @@ import {
|
|||
waitSlug,
|
||||
} from "../actions"
|
||||
import { dropdownMenuContentSelector, inlineInputSelector, workspaceItemSelector } from "../selectors"
|
||||
import { createSdk, dirSlug } from "../utils"
|
||||
import { createSdk, dirDecode, dirSlug } from "../utils"
|
||||
|
||||
async function setupWorkspaceTest(page: Page, project: { slug: string }) {
|
||||
const rootSlug = project.slug
|
||||
|
|
@ -258,7 +258,7 @@ test("can delete a workspace", async ({ page, withProject }) => {
|
|||
await clickMenuItem(menu, /^Delete$/i, { force: true })
|
||||
await confirmDialog(page, /^Delete workspace$/i)
|
||||
|
||||
await expect.poll(() => base64Decode(slugFromUrl(page.url()))).toBe(project.directory)
|
||||
await expect.poll(() => dirDecode(slugFromUrl(page.url()))).toBe(project.directory)
|
||||
|
||||
await expect
|
||||
.poll(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue