Skip to content

Commit c950b4c

Browse files
authored
chore(deps): manually update puppeteer + @vitest/eslint-plugin (#12706)
1 parent f399dd3 commit c950b4c

File tree

3 files changed

+74
-58
lines changed

3 files changed

+74
-58
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"esbuild-plugin-polyfill-node": "^0.3.0",
8383
"eslint": "^9.18.0",
8484
"eslint-plugin-import-x": "^4.6.1",
85-
"@vitest/eslint-plugin": "^1.1.20",
85+
"@vitest/eslint-plugin": "^1.1.25",
8686
"estree-walker": "catalog:",
8787
"jsdom": "^25.0.1",
8888
"lint-staged": "^15.3.0",
@@ -95,7 +95,7 @@
9595
"prettier": "^3.4.2",
9696
"pretty-bytes": "^6.1.1",
9797
"pug": "^3.0.3",
98-
"puppeteer": "~23.3.0",
98+
"puppeteer": "~23.11.1",
9999
"rimraf": "^6.0.1",
100100
"rollup": "^4.30.1",
101101
"rollup-plugin-dts": "^6.1.1",

packages/vue/__tests__/e2e/todomvc.spec.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ describe('e2e: todomvc', () => {
1414
classList,
1515
enterValue,
1616
clearValue,
17+
timeout,
1718
} = setupPuppeteer()
1819

1920
async function removeItemAt(n: number) {
@@ -101,6 +102,7 @@ describe('e2e: todomvc', () => {
101102

102103
// active filter
103104
await click('.filters li:nth-child(2) a')
105+
await timeout(1)
104106
expect(await count('.todo')).toBe(1)
105107
expect(await count('.todo.completed')).toBe(0)
106108
// add item with filter active
@@ -109,6 +111,7 @@ describe('e2e: todomvc', () => {
109111

110112
// completed filter
111113
await click('.filters li:nth-child(3) a')
114+
await timeout(1)
112115
expect(await count('.todo')).toBe(2)
113116
expect(await count('.todo.completed')).toBe(2)
114117

@@ -128,12 +131,14 @@ describe('e2e: todomvc', () => {
128131
await click('.todo .toggle')
129132
expect(await count('.todo')).toBe(1)
130133
await click('.filters li:nth-child(2) a')
134+
await timeout(1)
131135
expect(await count('.todo')).toBe(3)
132136
await click('.todo .toggle')
133137
expect(await count('.todo')).toBe(2)
134138

135139
// editing triggered by blur
136140
await click('.filters li:nth-child(1) a')
141+
await timeout(1)
137142
await click('.todo:nth-child(1) label', { clickCount: 2 })
138143
expect(await count('.todo.editing')).toBe(1)
139144
expect(await isFocused('.todo:nth-child(1) .edit')).toBe(true)

pnpm-lock.yaml

Lines changed: 67 additions & 56 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)