Skip to content

CHANGE @W-17053004@ Polished run command output #1517

CHANGE @W-17053004@ Polished run command output

CHANGE @W-17053004@ Polished run command output #1517

Triggered via pull request November 15, 2024 16:00
Status Failure
Total duration 9m 48s
Artifacts 7

validate-pr.yml

on: pull_request
run_tests  /  build-installable-tarball
48s
run_tests / build-installable-tarball
verify_target_branch
0s
verify_target_branch
Verify that PR title contains well-formed GUS work item tag.
2s
Verify that PR title contains well-formed GUS work item tag.
Matrix: run_tests / unit-tests
Matrix: run_tests / smoke-tests
Fit to window
Zoom out
Zoom in

Annotations

6 errors
ResultsViewer implementations › ResultsDetailDisplayer › Multi-location violations are correctly displayed: test/lib/viewers/ResultsViewer.test.ts#L180
expect(received).toContain(expected) // indexOf Expected substring: "Found 1 violation(s) across 1 file(s): === 1. stub1RuleA severity: 4 (Low) engine: stubEngine1 message: This is a message locations: /home/runner/work/sfdx-scanner/sfdx-scanner/test/sample-code/fileA.cls:20:1 (main) /home/runner/work/sfdx-scanner/sfdx-scanner/test/sample-code/fileZ.cls:2:1 This is a comment at Location 2 /home/runner/work/sfdx-scanner/sfdx-scanner/test/sample-code/fileA.cls:1:1 This is a comment at Location 3 resources: https://example.com/stub1RuleA " Received string: " === 1. stub1RuleA severity: 4 (Low) engine: stubEngine1 message: This is a message locations: /home/runner/work/sfdx-scanner/sfdx-scanner/test/sample-code/fileA.cls:20:1 (main) /home/runner/work/sfdx-scanner/sfdx-scanner/test/sample-code/fileZ.cls:2:1 This is a comment at Location 2 /home/runner/work/sfdx-scanner/sfdx-scanner/test/sample-code/fileA.cls:1:1 This is a comment at Location 3 resources: https://example.com/stub1RuleA " at Object.<anonymous> (test/lib/viewers/ResultsViewer.test.ts:180:28)
run_tests / unit-tests (lts/*, lts, ubuntu-latest)
Process completed with exit code 1.
ResultsViewer implementations › ResultsDetailDisplayer › Multi-location violations are correctly displayed: test/lib/viewers/ResultsViewer.test.ts#L180
expect(received).toContain(expected) // indexOf Expected substring: "Found 1 violation(s) across 1 file(s): === 1. stub1RuleA severity: 4 (Low) engine: stubEngine1 message: This is a message locations: /Users/runner/work/sfdx-scanner/sfdx-scanner/test/sample-code/fileA.cls:20:1 (main) /Users/runner/work/sfdx-scanner/sfdx-scanner/test/sample-code/fileZ.cls:2:1 This is a comment at Location 2 /Users/runner/work/sfdx-scanner/sfdx-scanner/test/sample-code/fileA.cls:1:1 This is a comment at Location 3 resources: https://example.com/stub1RuleA " Received string: " === 1. stub1RuleA severity: 4 (Low) engine: stubEngine1 message: This is a message locations: /Users/runner/work/sfdx-scanner/sfdx-scanner/test/sample-code/fileA.cls:20:1 (main) /Users/runner/work/sfdx-scanner/sfdx-scanner/test/sample-code/fileZ.cls:2:1 This is a comment at Location 2 /Users/runner/work/sfdx-scanner/sfdx-scanner/test/sample-code/fileA.cls:1:1 This is a comment at Location 3 resources: https://example.com/stub1RuleA " at Object.<anonymous> (test/lib/viewers/ResultsViewer.test.ts:180:28)
run_tests / unit-tests (lts/*, lts, macos-latest)
Process completed with exit code 1.
ResultsViewer implementations › ResultsDetailDisplayer › Multi-location violations are correctly displayed: test/lib/viewers/ResultsViewer.test.ts#L180
expect(received).toContain(expected) // indexOf Expected substring: "Found 1 violation(s) across 1 file(s): === 1. stub1RuleA severity: 4 (Low) engine: stubEngine1 message: This is a message locations: D:\\a\\sfdx-scanner\\sfdx-scanner\\test\\sample-code\\fileA.cls:20:1 (main) D:\\a\\sfdx-scanner\\sfdx-scanner\\test\\sample-code\\fileZ.cls:2:1 This is a comment at Location 2 D:\\a\\sfdx-scanner\\sfdx-scanner\\test\\sample-code\\fileA.cls:1:1 This is a comment at Location 3 resources: https://example.com/stub1RuleA " Received string: " === 1. stub1RuleA severity: 4 (Low) engine: stubEngine1 message: This is a message locations: D:\\a\\sfdx-scanner\\sfdx-scanner\\test\\sample-code\\fileA.cls:20:1 (main) D:\\a\\sfdx-scanner\\sfdx-scanner\\test\\sample-code\\fileZ.cls:2:1 This is a comment at Location 2 D:\\a\\sfdx-scanner\\sfdx-scanner\\test\\sample-code\\fileA.cls:1:1 This is a comment at Location 3 resources: https://example.com/stub1RuleA " at Object.<anonymous> (test/lib/viewers/ResultsViewer.test.ts:180:28)
run_tests / unit-tests (lts/*, lts, windows-latest)
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
smoke-test-results-Linux-node-lts
17.9 KB
smoke-test-results-Windows-node-lts
17.9 KB
smoke-test-results-macOS-node-lts
17.9 KB
smoke-test-tarball
281 KB
tests-Linux-lts
128 KB
tests-Windows-lts
128 KB
tests-macOS-lts
128 KB