Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion admin/src/PlaytestDetailPage.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ beforeEach(() => {
describe('PlaytestDetailPage shell', () => {
it('renders header + status pill + breadcrumb', () => {
renderDetail('autumn-draft')
expect(screen.getByRole('heading', { name: 'Autumn Build', level: 2 })).toBeInTheDocument()
expect(screen.getByRole('heading', { name: 'Autumn Build', level: 3 })).toBeInTheDocument()
const pill = screen.getByTestId('playtest-status-pill')
expect(within(pill).getByText('Draft')).toBeInTheDocument()
})
Expand Down
4 changes: 2 additions & 2 deletions admin/src/PlaytestDetailPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export function PlaytestDetailPage() {
return (
<>
<div
style={{ margin: '-16px -16px 0 -16px', backgroundColor: '#fff', padding: '16px 24px 0', borderTop: '1px solid #f0f0f0' }}
style={{ marginBottom: 8 }}
data-testid="playtest-detail-page"
>
<Button
Expand All @@ -173,7 +173,7 @@ export function PlaytestDetailPage() {
</Button>
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'flex-start', gap: 16, marginBottom: 8 }}>
<div>
<Typography.Title level={2} style={{ margin: 0 }}>
<Typography.Title level={3} style={{ margin: 0 }}>
{playtest.title ?? '—'}
</Typography.Title>
<Space size={12} style={{ marginTop: 4 }}>
Expand Down
2 changes: 1 addition & 1 deletion admin/src/tabs/DistributionTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ function BuildHealthAlert({ playtest }: { playtest: V1Playtest }) {
if (status === 'OK') {
return (
<Tooltip title={checkedAt ? `Last checked: ${checkedAt}` : undefined}>
<Tag color="success" icon={<CheckCircleFilled />} data-testid="adt-build-health-alert" style={{ cursor: 'default' }}>
<Tag color="success" icon={<CheckCircleFilled />} data-testid="adt-build-health-alert" style={{ cursor: 'default', alignSelf: 'flex-start' }}>
Available
</Tag>
</Tooltip>
Expand Down
Loading