feat(angular): implement link_component for native Rust linker #108
ci.yml
on: pull_request
Test
1m 37s
NAPI Build
4m 28s
Annotations
13 errors and 1 notice
|
Test
clone of 'https://github.com/angular/angular.git' into submodule path '/home/runner/work/oxc-angular-compiler/oxc-angular-compiler/crates/oxc_angular_compiler/angular' failed
|
|
Test
the remote end hung up unexpectedly
|
|
Test
could not read Username for 'https://github.com': terminal prompts disabled
|
|
[chromium] › e2e/tests/hmr-css.spec.ts:101:3 › CSS Style HMR › adding new CSS class via HMR works correctly:
napi/angular-compiler/e2e/tests/hmr-css.spec.ts#L133
4) [chromium] › e2e/tests/hmr-css.spec.ts:101:3 › CSS Style HMR › adding new CSS class via HMR works correctly
Error: expect(received).toContain(expected) // indexOf
Expected substring: "rgb(0, 255, 0)"
Received string: "0px none rgb(0, 0, 255)"
131 | return getComputedStyle(el).border
132 | })
> 133 | expect(border).toContain('rgb(0, 255, 0)')
| ^
134 |
135 | // No reload
136 | expect(await hmrDetector.sentinelExists(sentinelId)).toBe(true)
at /home/runner/work/oxc-angular-compiler/oxc-angular-compiler/napi/angular-compiler/e2e/tests/hmr-css.spec.ts:133:20
|
|
[chromium] › e2e/tests/hmr-css.spec.ts:67:3 › CSS Style HMR › multiple CSS changes trigger multiple HMR updates:
napi/angular-compiler/e2e/tests/hmr-css.spec.ts#L84
3) [chromium] › e2e/tests/hmr-css.spec.ts:67:3 › CSS Style HMR › multiple CSS changes trigger multiple HMR updates
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "rgb(255, 0, 0)"
Received: "rgba(0, 0, 0, 0)"
82 | return getComputedStyle(el).backgroundColor
83 | })
> 84 | expect(bgColor).toBe('rgb(255, 0, 0)')
| ^
85 |
86 | // Second change - change to blue background
87 | await fileModifier.modifyFile('app.css', (content) => {
at /home/runner/work/oxc-angular-compiler/oxc-angular-compiler/napi/angular-compiler/e2e/tests/hmr-css.spec.ts:84:21
|
|
[chromium] › e2e/tests/hmr-css.spec.ts:67:3 › CSS Style HMR › multiple CSS changes trigger multiple HMR updates:
napi/angular-compiler/e2e/tests/hmr-css.spec.ts#L84
3) [chromium] › e2e/tests/hmr-css.spec.ts:67:3 › CSS Style HMR › multiple CSS changes trigger multiple HMR updates
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "rgb(255, 0, 0)"
Received: "rgba(0, 0, 0, 0)"
82 | return getComputedStyle(el).backgroundColor
83 | })
> 84 | expect(bgColor).toBe('rgb(255, 0, 0)')
| ^
85 |
86 | // Second change - change to blue background
87 | await fileModifier.modifyFile('app.css', (content) => {
at /home/runner/work/oxc-angular-compiler/oxc-angular-compiler/napi/angular-compiler/e2e/tests/hmr-css.spec.ts:84:21
|
|
[chromium] › e2e/tests/hmr-css.spec.ts:67:3 › CSS Style HMR › multiple CSS changes trigger multiple HMR updates:
napi/angular-compiler/e2e/tests/hmr-css.spec.ts#L84
3) [chromium] › e2e/tests/hmr-css.spec.ts:67:3 › CSS Style HMR › multiple CSS changes trigger multiple HMR updates
Error: expect(received).toBe(expected) // Object.is equality
Expected: "rgb(255, 0, 0)"
Received: "rgba(0, 0, 0, 0)"
82 | return getComputedStyle(el).backgroundColor
83 | })
> 84 | expect(bgColor).toBe('rgb(255, 0, 0)')
| ^
85 |
86 | // Second change - change to blue background
87 | await fileModifier.modifyFile('app.css', (content) => {
at /home/runner/work/oxc-angular-compiler/oxc-angular-compiler/napi/angular-compiler/e2e/tests/hmr-css.spec.ts:84:21
|
|
[chromium] › e2e/tests/hmr-css.spec.ts:41:3 › CSS Style HMR › CSS variable changes apply via HMR without reload:
napi/angular-compiler/e2e/tests/hmr-css.spec.ts#L64
2) [chromium] › e2e/tests/hmr-css.spec.ts:41:3 › CSS Style HMR › CSS variable changes apply via HMR without reload
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "rgb(255, 0, 0)"
Received: "rgb(0, 0, 255)"
62 | return getComputedStyle(el).color
63 | })
> 64 | expect(newColor).toBe('rgb(255, 0, 0)')
| ^
65 | })
66 |
67 | test('multiple CSS changes trigger multiple HMR updates', async ({
at /home/runner/work/oxc-angular-compiler/oxc-angular-compiler/napi/angular-compiler/e2e/tests/hmr-css.spec.ts:64:22
|
|
[chromium] › e2e/tests/hmr-css.spec.ts:41:3 › CSS Style HMR › CSS variable changes apply via HMR without reload:
napi/angular-compiler/e2e/tests/hmr-css.spec.ts#L64
2) [chromium] › e2e/tests/hmr-css.spec.ts:41:3 › CSS Style HMR › CSS variable changes apply via HMR without reload
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "rgb(255, 0, 0)"
Received: "rgb(0, 0, 255)"
62 | return getComputedStyle(el).color
63 | })
> 64 | expect(newColor).toBe('rgb(255, 0, 0)')
| ^
65 | })
66 |
67 | test('multiple CSS changes trigger multiple HMR updates', async ({
at /home/runner/work/oxc-angular-compiler/oxc-angular-compiler/napi/angular-compiler/e2e/tests/hmr-css.spec.ts:64:22
|
|
[chromium] › e2e/tests/hmr-css.spec.ts:41:3 › CSS Style HMR › CSS variable changes apply via HMR without reload:
napi/angular-compiler/e2e/tests/hmr-css.spec.ts#L64
2) [chromium] › e2e/tests/hmr-css.spec.ts:41:3 › CSS Style HMR › CSS variable changes apply via HMR without reload
Error: expect(received).toBe(expected) // Object.is equality
Expected: "rgb(255, 0, 0)"
Received: "rgb(0, 0, 255)"
62 | return getComputedStyle(el).color
63 | })
> 64 | expect(newColor).toBe('rgb(255, 0, 0)')
| ^
65 | })
66 |
67 | test('multiple CSS changes trigger multiple HMR updates', async ({
at /home/runner/work/oxc-angular-compiler/oxc-angular-compiler/napi/angular-compiler/e2e/tests/hmr-css.spec.ts:64:22
|
|
[chromium] › e2e/tests/hmr-css.spec.ts:9:3 › CSS Style HMR › modifying .css file triggers HMR update without page reload:
napi/angular-compiler/e2e/tests/hmr-css.spec.ts#L37
1) [chromium] › e2e/tests/hmr-css.spec.ts:9:3 › CSS Style HMR › modifying .css file triggers HMR update without page reload
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "rgb(255, 0, 0)"
Received: "rgb(0, 0, 255)"
35 | return getComputedStyle(el).color
36 | })
> 37 | expect(newColor).toBe('rgb(255, 0, 0)')
| ^
38 | expect(newColor).not.toBe(initialColor)
39 | })
40 |
at /home/runner/work/oxc-angular-compiler/oxc-angular-compiler/napi/angular-compiler/e2e/tests/hmr-css.spec.ts:37:22
|
|
[chromium] › e2e/tests/hmr-css.spec.ts:9:3 › CSS Style HMR › modifying .css file triggers HMR update without page reload:
napi/angular-compiler/e2e/tests/hmr-css.spec.ts#L37
1) [chromium] › e2e/tests/hmr-css.spec.ts:9:3 › CSS Style HMR › modifying .css file triggers HMR update without page reload
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "rgb(255, 0, 0)"
Received: "rgb(0, 0, 255)"
35 | return getComputedStyle(el).color
36 | })
> 37 | expect(newColor).toBe('rgb(255, 0, 0)')
| ^
38 | expect(newColor).not.toBe(initialColor)
39 | })
40 |
at /home/runner/work/oxc-angular-compiler/oxc-angular-compiler/napi/angular-compiler/e2e/tests/hmr-css.spec.ts:37:22
|
|
[chromium] › e2e/tests/hmr-css.spec.ts:9:3 › CSS Style HMR › modifying .css file triggers HMR update without page reload:
napi/angular-compiler/e2e/tests/hmr-css.spec.ts#L37
1) [chromium] › e2e/tests/hmr-css.spec.ts:9:3 › CSS Style HMR › modifying .css file triggers HMR update without page reload
Error: expect(received).toBe(expected) // Object.is equality
Expected: "rgb(255, 0, 0)"
Received: "rgb(0, 0, 255)"
35 | return getComputedStyle(el).color
36 | })
> 37 | expect(newColor).toBe('rgb(255, 0, 0)')
| ^
38 | expect(newColor).not.toBe(initialColor)
39 | })
40 |
at /home/runner/work/oxc-angular-compiler/oxc-angular-compiler/napi/angular-compiler/e2e/tests/hmr-css.spec.ts:37:22
|
|
🎭 Playwright Run Summary
7 failed
[chromium] › e2e/tests/hmr-css.spec.ts:9:3 › CSS Style HMR › modifying .css file triggers HMR update without page reload
[chromium] › e2e/tests/hmr-css.spec.ts:41:3 › CSS Style HMR › CSS variable changes apply via HMR without reload
[chromium] › e2e/tests/hmr-css.spec.ts:67:3 › CSS Style HMR › multiple CSS changes trigger multiple HMR updates
[chromium] › e2e/tests/hmr-css.spec.ts:101:3 › CSS Style HMR › adding new CSS class via HMR works correctly
[chromium] › e2e/tests/hmr-html.spec.ts:9:3 › HTML Template HMR › modifying .html file triggers HMR update without page reload
[chromium] › e2e/tests/hmr-html.spec.ts:37:3 › HTML Template HMR › multiple template changes trigger multiple HMR updates without reload
[chromium] › e2e/tests/hmr-html.spec.ts:62:3 › HTML Template HMR › modifying text content via template HMR works correctly
4 passed (2.4m)
|