Feature/using sam #81
pull_request.yaml
on: pull_request
ESLint
/
lint
12s
Test
/
test
32s
Code coverage
/
coverage
10s
Build
/
build
17s
Build storybook
/
build-storybook
17s
Build storybook
/
build-storybook-with-docker
6s
Annotations
12 errors and 6 warnings
Build storybook / build-storybook-with-docker
Process completed with exit code 1.
|
Code coverage / coverage
Failed to parse the json-summary at path "/home/runner/work/subsurface-app-management/subsurface-app-management/coverage/coverage-summary.json."
Make sure to run vitest before this action and to include the "json-summary" reporter.
Original Error:
Error: ENOENT: no such file or directory, open '/home/runner/work/subsurface-app-management/subsurface-app-management/coverage/coverage-summary.json'
at async open (node:internal/fs/promises:639:25)
at async readFile (node:internal/fs/promises:1242:14)
at async Iy (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:71:797)
at async mu (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:71:878)
at async uq (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:149:626)
|
Code coverage / coverage
Error: ENOENT: no such file or directory, open '/home/runner/work/subsurface-app-management/subsurface-app-management/coverage/coverage-summary.json'
|
Code coverage / coverage
Process completed with exit code 1.
|
ESLint / lint
Process completed with exit code 1.
|
src/hooks/useFeatureToggling.test.tsx > should return true for showContent when there is a feature and it is matching the environment we are in:
src/hooks/useFeatureToggling.test.tsx#L118
AssertionError: expected false to be true // Object.is equality
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div />
</body>
</html>
- Expected
+ Received
- true
+ false
❯ __vi_import_4__.waitFor.timeout src/hooks/useFeatureToggling.test.tsx:118:42
❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/@testing-library/dom/dist/config.js:47:12
❯ checkCallback node_modules/@testing-library/dom/dist/wait-for.js:124:77
❯ Timeout.checkRealTimersCallback node_modules/@testing-library/dom/dist/wait-for.js:118:16
|
src/hooks/useFeatureToggling.test.tsx > should return true for showContent feature is not found:
src/hooks/useFeatureToggling.test.tsx#L155
AssertionError: expected false to be true // Object.is equality
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div />
</body>
</html>
- Expected
+ Received
- true
+ false
❯ __vi_import_4__.waitFor.timeout src/hooks/useFeatureToggling.test.tsx:155:42
❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/@testing-library/dom/dist/config.js:47:12
❯ checkCallback node_modules/@testing-library/dom/dist/wait-for.js:124:77
❯ Timeout.checkRealTimersCallback node_modules/@testing-library/dom/dist/wait-for.js:118:16
|
src/hooks/useFeatureToggling.test.tsx > should return true for showContent when there is a feature and we have a whitelisted user, but not matching the environment we are in:
src/hooks/useFeatureToggling.test.tsx#L180
AssertionError: expected false to be true // Object.is equality
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div />
</body>
</html>
- Expected
+ Received
- true
+ false
❯ __vi_import_4__.waitFor.timeout src/hooks/useFeatureToggling.test.tsx:180:42
❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/@testing-library/dom/dist/config.js:47:12
❯ checkCallback node_modules/@testing-library/dom/dist/wait-for.js:124:77
❯ Timeout.checkRealTimersCallback node_modules/@testing-library/dom/dist/wait-for.js:118:16
|
src/hooks/useFeatureToggling.test.tsx > should return false if is loading:
src/hooks/useFeatureToggling.test.tsx#L246
AssertionError: expected false to be true // Object.is equality
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div />
</body>
</html>
- Expected
+ Received
- true
+ false
❯ __vi_import_4__.waitFor.timeout src/hooks/useFeatureToggling.test.tsx:246:42
❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/@testing-library/dom/dist/config.js:47:12
❯ checkCallback node_modules/@testing-library/dom/dist/wait-for.js:124:77
❯ Timeout.checkRealTimersCallback node_modules/@testing-library/dom/dist/wait-for.js:118:16
|
src/hooks/useFeatureToggling.test.tsx > shows warning when feature has activeUsers but username isn't defined:
src/hooks/useFeatureToggling.test.tsx#L325
AssertionError: expected "spy" to be called at least once
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div />
</body>
</html>
❯ src/hooks/useFeatureToggling.test.tsx:325:44
❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/@testing-library/dom/dist/config.js:47:12
❯ checkCallback node_modules/@testing-library/dom/dist/wait-for.js:124:77
❯ Timeout.checkRealTimersCallback node_modules/@testing-library/dom/dist/wait-for.js:118:16
|
src/components/Feature/Feature.test.tsx > Feature toggle component > Shows content when it feature = true:
src/components/Feature/Feature.test.tsx#L76
TestingLibraryElementError: Unable to find an element with the text: Kawakawa. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div />
</body>
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div />
</body>
</html>
❯ Proxy.waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ src/components/Feature/Feature.test.tsx:76:27
|
Test / test
Process completed with exit code 1.
|
Build storybook / build-storybook-with-docker
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Code coverage / coverage
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ESLint / lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build / build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build storybook / build-storybook
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test / test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|