mirror of
https://github.com/enso-org/enso.git
synced 2024-11-25 21:25:20 +03:00
Increase timeout and vite version (#11492)
1. The electron test hit timeouts from time to time, probably because of slow response from the engine: increased timeout. 2. Unify vite version across packages.
This commit is contained in:
parent
014a2a7e6b
commit
86c59469d0
@ -50,7 +50,7 @@
|
||||
"fast-glob": "^3.2.12",
|
||||
"portfinder": "^1.0.32",
|
||||
"tsx": "^4.7.1",
|
||||
"vite": "^5.3.5",
|
||||
"vite": "^5.4.10",
|
||||
"playwright": "^1.45.0"
|
||||
},
|
||||
"//": [
|
||||
|
@ -5,7 +5,7 @@ export default defineConfig({
|
||||
testDir: './tests',
|
||||
forbidOnly: !!process.env.CI,
|
||||
workers: 1,
|
||||
timeout: 60000,
|
||||
timeout: 120000,
|
||||
reportSlowTests: { max: 5, threshold: 60000 },
|
||||
globalSetup: './tests/setup.ts',
|
||||
expect: {
|
||||
|
@ -10,8 +10,8 @@ electronTest('Create new project', async page => {
|
||||
await expect(page.locator('.GraphNode')).toHaveCount(1, { timeout: 60000 })
|
||||
|
||||
// We see the node type and visualization, so the engine is running the program
|
||||
await expect(page.locator('.node-type')).toHaveText('Table')
|
||||
await expect(page.locator('.TableVisualization')).toBeVisible()
|
||||
await expect(page.locator('.node-type')).toHaveText('Table', { timeout: 30000 })
|
||||
await expect(page.locator('.TableVisualization')).toBeVisible({ timeout: 30000 })
|
||||
await expect(page.locator('.TableVisualization')).toContainText('Welcome To Enso!')
|
||||
|
||||
// We can add new node and see suggestions.
|
||||
|
15468
pnpm-lock.yaml
15468
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user