mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
fix(observer): use lifecycle item title as verb instead of hardcoded "Status" (#1709)
This commit is contained in:
@@ -121,9 +121,9 @@ export function LifecycleActivity(props: ActivityRenderClassItemProps) {
|
||||
return (
|
||||
<ActivityRow testId="transcript-lifecycle-item" title={timestampTitle}>
|
||||
<ActivityRowLabel
|
||||
object={[props.item.title, props.item.text].filter(Boolean).join(" · ")}
|
||||
object={props.item.text || undefined}
|
||||
openToneScope="none"
|
||||
verb="Status"
|
||||
verb={props.item.title}
|
||||
/>
|
||||
</ActivityRow>
|
||||
);
|
||||
|
||||
@@ -585,7 +585,7 @@ test.describe("observer feed screenshots", () => {
|
||||
},
|
||||
]);
|
||||
|
||||
await expect(feedPanel.getByText("Commands")).toBeVisible({
|
||||
await expect(feedPanel.getByText("Commands", { exact: true })).toBeVisible({
|
||||
timeout: 5_000,
|
||||
});
|
||||
await settleAnimations(feedPanel);
|
||||
|
||||
Reference in New Issue
Block a user