test(app): stabilize migrated e2e suite
This commit is contained in:
parent
7f5307ff30
commit
b782650dfe
5 changed files with 24 additions and 6 deletions
|
|
@ -34,6 +34,8 @@ test("dialog edit project updates name and startup script", async ({ page, proje
|
|||
await expect
|
||||
.poll(
|
||||
async () => {
|
||||
await page.reload()
|
||||
await openSidebar(page)
|
||||
const reopened = await open()
|
||||
const value = await reopened.getByLabel("Name").inputValue()
|
||||
const next = await reopened.getByLabel("Workspace startup script").inputValue()
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ import {
|
|||
clickMenuItem,
|
||||
confirmDialog,
|
||||
openSidebar,
|
||||
openProjectMenu,
|
||||
openWorkspaceMenu,
|
||||
resolveSlug,
|
||||
setWorkspacesEnabled,
|
||||
|
|
@ -19,7 +20,7 @@ import {
|
|||
waitDir,
|
||||
waitSlug,
|
||||
} from "../actions"
|
||||
import { dropdownMenuContentSelector, inlineInputSelector, workspaceItemSelector } from "../selectors"
|
||||
import { inlineInputSelector, workspaceItemSelector } from "../selectors"
|
||||
import { dirSlug } from "../utils"
|
||||
|
||||
async function setupWorkspaceTest(page: Page, project: { slug: string; trackDirectory: (directory: string) => void }) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue