fix(browser): scale iframe for non ui case #11342
Triggered via pull request
September 18, 2024 03:04
Status
Cancelled
Total duration
10m 19s
Artifacts
–
ci.yml
on: pull_request
Diff: node-latest, ubuntu-latest
7s
Lint: node-latest, ubuntu-latest
2m 23s
Matrix: test-browser
Matrix: test
Annotations
24 errors
specs/runner.test.ts > running browser tests > tests are actually running:
test/browser/specs/runner.test.ts#L27
AssertionError: expected [ { …(6) }, { …(6) }, { …(6) }, …(13) ] to have a length of 17 but got 16
- Expected
+ Received
- 17
+ 16
❯ specs/runner.test.ts:27:25
|
Browser: webkit, macos-latest
Process completed with exit code 1.
|
specs/runner.test.ts > running browser tests > tests are actually running:
test/browser/specs/runner.test.ts#L27
AssertionError: expected [ { …(6) }, { …(6) }, { …(6) }, …(13) ] to have a length of 17 but got 16
- Expected
+ Received
- 17
+ 16
❯ specs/runner.test.ts:27:25
|
Browser: webkit, ubuntu-latest
Process completed with exit code 1.
|
specs/runner.test.ts > running browser tests > tests are actually running:
test/browser/specs/runner.test.ts#L27
AssertionError: expected [ { …(6) }, { …(6) }, { …(6) }, …(13) ] to have a length of 17 but got 16
- Expected
+ Received
- 17
+ 16
❯ specs/runner.test.ts:27:25
|
Browser: firefox, ubuntu-latest
Process completed with exit code 1.
|
specs/runner.test.ts > running browser tests > tests are actually running:
test/browser/specs/runner.test.ts#L27
AssertionError: expected [ { …(6) }, { …(6) }, { …(6) }, …(13) ] to have a length of 17 but got 16
- Expected
+ Received
- 17
+ 16
❯ specs/runner.test.ts:27:25
|
Browser: webkit, windows-latest
Process completed with exit code 1.
|
specs/locators.test.ts > locators work correctly:
test/browser/specs/locators.test.ts#L10
AssertionError: expected '⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯\n\n FA…' to be '' // Object.is equality
- Expected
+ Received
+ ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯
+
+ FAIL blog.test.tsx > renders blog posts
+ AssertionError: expected [ WebdriverIOLocator{ …(3) }, …(3) ] to have a length of 3 but got 4
+
+ Failure screenshot:
+ - fixtures/locators/__screenshots__/blog.test.tsx/renders-blog-posts-1.png
+
+ - Expected
+ + Received
+
+ - 3
+ + 4
+
+ ❯ blog.test.tsx:23:45
+ 21| await userEvent.click(secondPost.getByRole('button', { name: 'Delete…
+ 22|
+ 23| expect(screen.getByRole('listitem').all()).toHaveLength(3)
+ | ^
+ 24|
+ 25| expect(screen.getByPlaceholder('non-existing').query()).not.toBeInTh…
+
+ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯
+
+
❯ specs/locators.test.ts:10:18
|
Browser: chromium, macos-latest
Process completed with exit code 1.
|
specs/runner.test.ts > running browser tests > tests are actually running:
test/browser/specs/runner.test.ts#L27
AssertionError: expected [ { …(6) }, { …(6) }, { …(6) }, …(13) ] to have a length of 17 but got 16
- Expected
+ Received
- 17
+ 16
❯ specs/runner.test.ts:27:25
|
Browser: firefox, macos-latest
Process completed with exit code 1.
|
specs/runner.test.ts > running browser tests > tests are actually running:
test/browser/specs/runner.test.ts#L27
AssertionError: expected [ { …(6) }, { …(6) }, { …(6) }, …(13) ] to have a length of 17 but got 16
- Expected
+ Received
- 17
+ 16
❯ specs/runner.test.ts:27:25
|
Browser: firefox, windows-latest
Process completed with exit code 1.
|
specs/locators.test.ts > locators work correctly:
test/browser/specs/locators.test.ts#L10
AssertionError: expected '⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯\n\n FA…' to be '' // Object.is equality
- Expected
+ Received
+ ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯
+
+ FAIL blog.test.tsx > renders blog posts
+ move target out of bounds: move target out of bounds
+ (Session info: chrome=128.0.6613.119)
+ ❯ getErrorFromResponseBody ../../../../node_modules/.pnpm/[email protected]/node_modules/webdriver/build/utils.js:195:12
+ ❯ NodeJSRequest._request ../../../../node_modules/.pnpm/[email protected]/node_modules/webdriver/build/request/index.js:193:23
+ ❯ Browser.wrapCommandFn ../../../../node_modules/.pnpm/@wdio[email protected]/node_modules/@wdio/utils/build/shim.js:90:29
+ ❯ PointerAction.perform ../../../../node_modules/.pnpm/[email protected]/node_modules/webdriverio/build/utils/actions/base.js:61:9
+ ❯ clickNested ../../../../node_modules/.pnpm/[email protected]/node_modules/webdriverio/build/commands/element/click.js:122:13
+ ❯ Element.click ../../../../node_modules/.pnpm/[email protected]/node_modules/webdriverio/build/commands/element/click.js:144:13
+ ❯ Element.wrapCommandFn ../../../../node_modules/.pnpm/@wdio[email protected]/node_modules/@wdio/utils/build/shim.js:90:29
+ ❯ Element.elementErrorHandlerCallbackFn ../../../../node_modules/.pnpm/[email protected]/node_modules/webdriverio/build/middlewares.js:19:32
+ ❯ Element.wrapCommandFn ../../../../node_modules/.pnpm/@wdio[email protected]/node_modules/@wdio/utils/build/shim.js:90:29
+
+ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/2]⎯
+
+ FAIL blog.test.tsx > renders blog posts
+ element click intercepted: element click intercepted: Element is not clickable at point (304, 453)
+ (Session info: chrome=128.0.6613.119)
+ ❯ getErrorFromResponseBody ../../../../node_modules/.pnpm/[email protected]/node_modules/webdriver/build/utils.js:195:12
+ ❯ NodeJSRequest._request ../../../../node_modules/.pnpm/[email protected]/node_modules/webdriver/build/request/index.js:193:23
+ ❯ Element.wrapCommandFn ../../../../node_modules/.pnpm/@wdio[email protected]/node_modules/@wdio/utils/build/shim.js:90:29
+ ❯ Element.wrapCommandFn ../../../../node_modules/.pnpm/@wdio[email protected]/node_modules/@wdio/utils/build/shim.js:90:29
+ ❯ Element.elementErrorHandlerCallbackFn ../../../../node_modules/.pnpm/[email protected]/node_modules/webdriverio/build/middlewares.js:19:32
+ ❯ Element.wrapCommandFn ../../../../node_modules/.pnpm/@wdio[email protected]/node_modules/@wdio/utils/build/shim.js:90:29
+ ❯ Element.saveScreenshot ../../../../node_modules/.pnpm/[email protected]/node_modules/webdriverio/build/commands/element/saveScreenshot.js:30:26
+ ❯ Element.wrapCommandFn ../../../../node_modules/.pnpm/@wdio[email protected]/node_modules/@wdio/utils/build/shim.js:90:29
+ ❯ Element.elementErrorHandlerCallbackFn ../../../../node_modules/.pnpm/[email protected]/node_modules/webdriverio/build/middlewares.js:19:32
+ ❯ Element.wrapCommandFn ../../../../node_modules/.pnpm/@wdio[email protected]/node_modules/@wdio/utils/build/shim.js:90:29
+
+ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/2]⎯
+
+
❯ specs/locators.test.ts:10:18
|
specs/server-url.test.ts > server-url http:
test/browser/specs/server-url.test.ts#L13
AssertionError: expected '\n RUN v2.1.1 /home/runner/work/vite…' to contain 'Browser runner started by webdriverio…'
- Expected
+ Received
- Browser runner started by webdriverio at http://localhost:5173/
+
+ RUN v2.1.1 /home/runner/work/vitest/vitest/test/browser/fixtures/server-url
+ Browser runner started by webdriverio at http://localhost:5174/
+
+ ✓ basic.test.ts (1 test) 1ms
+
+ Test Files 1 passed (1)
+ Tests 1 passed (1)
+ Start at 03:10:24
+ Duration 1.77s (transform 0ms, setup 0ms, collect 6ms, tests 1ms, environment 0ms, prepare 26ms)
+
+
❯ specs/server-url.test.ts:13:18
|
specs/server-url.test.ts > server-url https:
test/browser/specs/server-url.test.ts#L22
AssertionError: expected '\n RUN v2.1.1 /home/runner/work/vite…' to contain 'Browser runner started by webdriverio…'
- Expected
+ Received
- Browser runner started by webdriverio at https://localhost:5173/
+
+ RUN v2.1.1 /home/runner/work/vitest/vitest/test/browser/fixtures/server-url
+ Browser runner started by webdriverio at https://localhost:5174/
+
+ ✓ basic.test.ts (1 test) 2ms
+
+ Test Files 1 passed (1)
+ Tests 1 passed (1)
+ Start at 03:10:26
+ Duration 1.80s (transform 0ms, setup 0ms, collect 6ms, tests 2ms, environment 0ms, prepare 22ms)
+
+
❯ specs/server-url.test.ts:22:18
|
Browser: chromium, ubuntu-latest
Process completed with exit code 1.
|
Build&Test: node-20, macos-latest
Process completed with exit code 1.
|
specs/locators.test.ts > locators work correctly:
test/browser/specs/locators.test.ts#L10
AssertionError: expected '⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯\n\n FA…' to be '' // Object.is equality
- Expected
+ Received
+ ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯
+
+ FAIL blog.test.tsx > renders blog posts
+ AssertionError: expected [ WebdriverIOLocator{ …(3) }, …(3) ] to have a length of 3 but got 4
+
+ Failure screenshot:
+ - fixtures/locators/__screenshots__/blog.test.tsx/renders-blog-posts-1.png
+
+ - Expected
+ + Received
+
+ - 3
+ + 4
+
+ ❯ blog.test.tsx:23:45
+ 21| await userEvent.click(secondPost.getByRole('button', { name: 'Delete…
+ 22|
+ 23| expect(screen.getByRole('listitem').all()).toHaveLength(3)
+ | ^
+ 24|
+ 25| expect(screen.getByPlaceholder('non-existing').query()).not.toBeInTh…
+
+ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯
+
+
❯ specs/locators.test.ts:10:18
|
specs/runner.test.ts > running browser tests > tests are actually running:
test/browser/specs/runner.test.ts#L27
AssertionError: expected [ { …(6) }, { …(6) }, { …(6) }, …(13) ] to have a length of 17 but got 16
- Expected
+ Received
- 17
+ 16
❯ specs/runner.test.ts:27:25
|
Browser: chromium, windows-latest
Process completed with exit code 1.
|
Build&Test: node-20, windows-latest
Canceling since a higher priority waiting request for 'ci-6512' exists
|
Build&Test: node-20, windows-latest
The operation was canceled.
|