-
Notifications
You must be signed in to change notification settings - Fork 1.1k
feat: show template.display_name on Workspace pages #5082
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 4 commits
babe989
c5ed79d
1d2e1ca
f30032c
c63b6f8
ccbc60e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -271,6 +271,10 @@ describe("WorkspacePage", () => { | |
| t("workspaceStatus.deleted", { ns: "common" }), | ||
| ) | ||
| }) | ||
| it("renders the template display name", async () => { | ||
| await renderWorkspacePage() | ||
| await screen.findByText(MockWorkspace.template_display_name) | ||
| }) | ||
|
||
|
|
||
| describe("Timeline", () => { | ||
| it("shows the timeline build", async () => { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we could have a util function on
utils/workspacecalledgetWorkspaceDisplayName(workspace: Workspace): stringbut it is your call.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a util function.