Skip to content

fix: [FC-0078] Bugfixes part 1 #1185

fix: [FC-0078] Bugfixes part 1

fix: [FC-0078] Bugfixes part 1 #1185

Triggered via pull request February 14, 2025 15:12
Status Failure
Total duration 13m 8s
Artifacts 1

unit_tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 13 warnings
Tests: Course/CourseTests/Presentation/Container/CourseDownloadHelperTests.swift#L192
testPublisher_whenReceivedNotProgressEvent_ShouldSendValue, Asynchronous wait failed: Exceeded timeout of 5 seconds, with unfulfilled expectations: "wait for added event".
Tests: Course/CourseTests/Presentation/Container/CourseDownloadHelperTests.swift#L193
testPublisher_whenReceivedNotProgressEvent_ShouldSendValue, XCTAssertTrue failed - Expected: once invocations of `.getDownloadTasks()`, but was: 0.
Tests: Course/CourseTests/Presentation/Container/CourseDownloadHelperTests.swift#L194
testPublisher_whenReceivedNotProgressEvent_ShouldSendValue, XCTAssertTrue failed - Expected: once invocations of `.getCurrentDownloadTask()`, but was: 0.
Tests: Course/CourseTests/Presentation/Container/CourseDownloadHelperTests.swift#L195
testPublisher_whenReceivedNotProgressEvent_ShouldSendValue, XCTAssertEqual failed: ("0") is not equal to ("1")
Tests: Course/CourseTests/Presentation/Container/CourseDownloadHelperTests.swift#L196
testPublisher_whenReceivedNotProgressEvent_ShouldSendValue, XCTAssertEqual failed: ("nil") is not equal to ("Optional(Course.CourseDownloadValue(currentDownloadTask: Optional(Core.DownloadDataTask(id: "0_1", courseId: "123", blockId: "1", userId: 0, url: "http://test/test.mp4", fileName: "1.mp4", displayName: "", progress: 0.0, resumeData: nil, state: Core.DownloadState.waiting, type: Core.DownloadType.video, fileSize: 1000, actualSize: 0, lastModified: nil)), courseDownloadTasks: [Core.DownloadDataTask(id: "0_1", courseId: "123", blockId: "1", userId: 0, url: "http://test/test.mp4", fileName: "1.mp4", displayName: "", progress: 0.0, resumeData: nil, state: Core.DownloadState.waiting, type: Core.DownloadType.video, fileSize: 1000, actualSize: 0, lastModified: nil)], allDownloadTasks: [Core.DownloadDataTask(id: "0_1", courseId: "123", blockId: "1", userId: 0, url: "http://test/test.mp4", fileName: "1.mp4", displayName: "", progress: 0.0, resumeData: nil, state: Core.DownloadState.waiting, type: Core.DownloadType.video, fileSize: 1000, actualSize: 0, lastModified: nil)], notFinishedTasks: [Core.DownloadDataTask(id: "0_1", courseId: "123", blockId: "1", userId: 0, url: "http://test/test.mp4", fileName: "1.mp4", displayName: "", progress: 0.0, resumeData: nil, state: Core.DownloadState.waiting, type: Core.DownloadType.video, fileSize: 1000, actualSize: 0, lastModified: nil)], downloadableVerticals: Set([Course.VerticalsDownloadState(vertical: Core.CourseVertical(blockId: "", id: "", courseId: "123", displayName: "", type: Core.BlockType.vertical, completion: 0.0, childs: [Core.CourseBlock(blockId: "", id: "1", courseId: "123", topicId: Optional(""), graded: false, due: Optional(2025-02-14 15:23:24 +0000), completion: 0.0, type: Core.BlockType.video, displayName: "", studentUrl: "", webUrl: "", subtitles: nil, encodedVideo: Optional(Core.CourseBlockEncodedVideo(fallback: nil, desktopMP4: Optional(Core.CourseBlockVideo(url: Optional("http://test/test.mp4"), fileSize: Optional(1000), streamPriority: Optional(1), type: Optional(Core.CourseBlockVideoEncoding.desktopMP4))), mobileHigh: nil, mobileLow: nil, hls: nil, youtube: nil)), multiDevice: Optional(true), offlineDownload: nil)], webUrl: ""), state: Core.DownloadViewState.downloading)]), sequentialsStates: ["": Core.DownloadViewState.downloading], totalFilesSize: 1000, downloadedFilesSize: 0, largestBlocks: [], state: Course.OfflineView.DownloadAllState.cancel))")
Tests
Process completed with exit code 1.
Tests
xcodesorg/made/xcodes 1.6.0 is already installed and up-to-date. To reinstall 1.6.0, run: brew reinstall xcodes
Tests
git-lfs 3.6.1 is already installed and up-to-date. To reinstall 3.6.1, run: brew reinstall git-lfs
Tests
Cache not found for keys: macOS-gems-ecb0d46f2ceff62ba1bdf3b82fc4e8bb85ed620a71b7ba8e76beacf8dee04033, macOS-gems-
Tests: Core/Core/View/Base/Webview/WebView.swift#L118
instance method 'webView(_:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:completionHandler:)' nearly matches optional requirement 'webView(_:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:completionHandler:)' of protocol 'WKUIDelegate'
Tests: Core/Core/View/Base/Webview/Models/ReadabilityInjection.swift#L10
@preconcurrency attribute on conformance to 'Equatable' has no effect
Tests: Core/Core/View/Base/Webview/Models/ReadabilityInjection.swift#L10
@preconcurrency attribute on conformance to 'Identifiable' has no effect
Tests: Core/Core/View/Base/Webview/Models/AccessibilityInjection.swift#L13
@preconcurrency attribute on conformance to 'Equatable' has no effect
Tests: Core/Core/View/Base/Webview/Models/AccessibilityInjection.swift#L13
@preconcurrency attribute on conformance to 'Identifiable' has no effect
Tests: Core/Core/View/Base/Webview/WebViewHTML.swift#L85
instance method 'webView(_:decidePolicyFor:decisionHandler:)' nearly matches optional requirement 'webView(_:decidePolicyFor:decisionHandler:)' of protocol 'WKNavigationDelegate'
Tests: Core/Core/Network/OfflineSyncManager.swift#L58
consider using asynchronous alternative function
Tests: Core/Core/Network/OfflineSyncManager.swift#L62
consider using asynchronous alternative function
Tests: Core/Core/View/Base/Webview/WebView.swift#L118
instance method 'webView(_:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:completionHandler:)' nearly matches optional requirement 'webView(_:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:completionHandler:)' of protocol 'WKUIDelegate'
Tests: Core/Core/View/Base/Webview/Models/ReadabilityInjection.swift#L10
@preconcurrency attribute on conformance to 'Equatable' has no effect

Artifacts

Produced during runtime
Name Size
test-output Expired
5.82 KB