tanishqgandhi1908 commented on code in PR #9260:
URL: https://github.com/apache/texera/pull/9260#discussion_r4531986847


##########
frontend/src/app/dashboard/component/user/user-model/user-model-explorer/model-detail.component.spec.ts:
##########
@@ -997,7 +997,8 @@ describe("ModelDetailComponent", () => {
     // The browser owns the toolbar controls; the page keeps the two flags and 
feeds them back in.
     component.isRightBarCollapsed = true;
     fixture.detectChanges();
-    expect(fixture.nativeElement.querySelector("nz-sider")).toBeNull();
+    // Hidden, not removed, so the uploader inside keeps any upload in flight.
+    
expect(fixture.nativeElement.querySelector("nz-sider").hasAttribute("hidden")).toBe(true);

Review Comment:
   Done, it now uses ?.hasAttribute("hidden") like the others.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to