@@ -422,6 +422,10 @@ test("editorial workbench journey keeps workspace context across core entry poin
422422 expect ( darkPalette . panelBackground ) . not . toBe ( lightPalette . panelBackground ) ;
423423 expect ( darkPalette . panelBorder ) . not . toBe ( lightPalette . panelBorder ) ;
424424 await expect ( page . locator ( ".shell-topbar-title" ) ) . toHaveCSS ( "color" , darkTextPalette . inkColor ) ;
425+ await expect ( page . locator ( '[data-sidebar-entry="account"] .sidebar-entry-label' ) ) . toHaveCSS (
426+ "color" ,
427+ darkTextPalette . highlightColor ,
428+ ) ;
425429 await expect ( page . locator ( '[data-summary-item="workspace"] strong' ) ) . toHaveCSS (
426430 "color" ,
427431 darkTextPalette . inkColor ,
@@ -433,6 +437,10 @@ test("editorial workbench journey keeps workspace context across core entry poin
433437
434438 await navigateToTab ( "博客创建" ) ;
435439 await expect ( workspaceSurface ) . toBeVisible ( ) ;
440+ await expect ( workspaceSurface . locator ( ".page-kicker" ) ) . toHaveCSS (
441+ "color" ,
442+ darkTextPalette . highlightColor ,
443+ ) ;
436444 await expect ( workspaceSurface . locator ( ".workspace-section-heading h2" ) . first ( ) ) . toHaveCSS (
437445 "color" ,
438446 darkTextPalette . inkColor ,
@@ -445,6 +453,10 @@ test("editorial workbench journey keeps workspace context across core entry poin
445453 "color" ,
446454 darkTextPalette . inkColor ,
447455 ) ;
456+ await expect ( workspaceSurface . locator ( ".page-signal .section-eyebrow" ) . first ( ) ) . toHaveCSS (
457+ "color" ,
458+ darkTextPalette . highlightColor ,
459+ ) ;
448460 await workspaceThemePreviewTrigger . click ( ) ;
449461 await expect ( workspaceThemePreviewOverlay ) . toBeVisible ( ) ;
450462 await expect ( workspaceThemePreviewOverlay . locator ( ".theme-preview-dialog-copy h3" ) ) . toHaveCSS (
@@ -465,6 +477,10 @@ test("editorial workbench journey keeps workspace context across core entry poin
465477 await expect ( themeSurface ) . toBeVisible ( ) ;
466478 await expect ( themeSurface . locator ( ".page-title" ) ) . toHaveCSS ( "color" , darkTextPalette . inkColor ) ;
467479 await expect ( themeStudioHelper ) . toHaveCSS ( "color" , darkTextPalette . mutedColor ) ;
480+ await expect ( themeSurface . locator ( ".theme-studio-heading .section-eyebrow" ) . first ( ) ) . toHaveCSS (
481+ "color" ,
482+ darkTextPalette . highlightColor ,
483+ ) ;
468484 await expect ( themeSurface . locator ( ".theme-studio-heading h2" ) . first ( ) ) . toHaveCSS (
469485 "color" ,
470486 darkTextPalette . inkColor ,
@@ -484,6 +500,10 @@ test("editorial workbench journey keeps workspace context across core entry poin
484500
485501 await navigateToTab ( "发布与备份" ) ;
486502 await expect ( publishSurface ) . toBeVisible ( ) ;
503+ await expect ( publishWorkbenchSurface . locator ( ".section-eyebrow" ) . first ( ) ) . toHaveCSS (
504+ "color" ,
505+ darkTextPalette . highlightColor ,
506+ ) ;
487507 await expect ( publishWorkbenchSurface . locator ( ".workflow-section-heading h2" ) . first ( ) ) . toHaveCSS (
488508 "color" ,
489509 darkTextPalette . inkColor ,
@@ -497,9 +517,17 @@ test("editorial workbench journey keeps workspace context across core entry poin
497517
498518 await navigateToTab ( "导入恢复" ) ;
499519 await expect ( importGithubWorkbench ) . toBeVisible ( ) ;
520+ await expect ( importSurface . locator ( ".page-kicker" ) ) . toHaveCSS (
521+ "color" ,
522+ darkTextPalette . highlightColor ,
523+ ) ;
500524 await expect ( importPageLead ) . toHaveCSS ( "color" , darkTextPalette . mutedColor ) ;
501525 await expect ( importResultNote ) . toHaveCSS ( "color" , darkTextPalette . mutedColor ) ;
502526 await expect ( importPageLink ) . toHaveCSS ( "color" , darkTextPalette . highlightColor ) ;
527+ await expect ( importSurface . locator ( "label" ) . first ( ) ) . toHaveCSS (
528+ "color" ,
529+ darkTextPalette . highlightColor ,
530+ ) ;
503531 await expect ( importDeployRepoSelect ) . toHaveValue (
504532 "https://github.com/editorial-e2e/editorial-e2e.github.io.git" ,
505533 ) ;
@@ -513,6 +541,10 @@ test("editorial workbench journey keeps workspace context across core entry poin
513541 await expect ( importDestinationInput ) . toHaveValue ( "" ) ;
514542
515543 await navigateToTab ( "教程中心" ) ;
544+ await expect ( page . locator ( "#tutorial-home .page-kicker" ) ) . toHaveCSS (
545+ "color" ,
546+ darkTextPalette . highlightColor ,
547+ ) ;
516548 await expect ( page . locator ( "#tutorial-home .tutorial-directory-card h3" ) . first ( ) ) . toHaveCSS (
517549 "color" ,
518550 darkTextPalette . inkColor ,
@@ -538,6 +570,20 @@ test("editorial workbench journey keeps workspace context across core entry poin
538570 darkTextPalette . mutedColor ,
539571 ) ;
540572
573+ await openShellPopupFromEntry ( {
574+ entry : shellAccountEntry ,
575+ activeBlock : shellAccountBlock ,
576+ } ) ;
577+ await expect ( shellAccountBlock . locator ( ".status-label" ) . first ( ) ) . toHaveCSS (
578+ "color" ,
579+ darkTextPalette . highlightColor ,
580+ ) ;
581+ await expect ( shellRefreshAuthButton ) . toBeFocused ( ) ;
582+ await expect ( shellUpdatesBlock ) . toBeVisible ( ) ;
583+ await expect ( shellEnvironmentBlock ) . toBeVisible ( ) ;
584+ await shellPopupDismiss . click ( ) ;
585+ await expect ( shellSidebarPopupOverlay ) . toBeHidden ( ) ;
586+
541587 await openShellPopupFromEntry ( {
542588 entry : shellAppearanceEntry ,
543589 activeBlock : shellAppearanceBlock ,
@@ -553,16 +599,6 @@ test("editorial workbench journey keeps workspace context across core entry poin
553599 const restoredLightPalette = await expectRepresentativeSurfacesToMatchAppearance ( "light" ) ;
554600 expect ( restoredLightPalette ) . toEqual ( lightPalette ) ;
555601
556- await openShellPopupFromEntry ( {
557- entry : shellAccountEntry ,
558- activeBlock : shellAccountBlock ,
559- } ) ;
560- await expect ( shellRefreshAuthButton ) . toBeFocused ( ) ;
561- await expect ( shellUpdatesBlock ) . toBeVisible ( ) ;
562- await expect ( shellEnvironmentBlock ) . toBeVisible ( ) ;
563- await shellPopupDismiss . click ( ) ;
564- await expect ( shellSidebarPopupOverlay ) . toBeHidden ( ) ;
565-
566602 await navigateToTab ( "博客创建" ) ;
567603 await expect ( workspaceSurface ) . toBeVisible ( ) ;
568604 await setScrollTop ( 0 ) ;
0 commit comments