Skip to content
Draft
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
4 changes: 3 additions & 1 deletion frontend/src/components/modals/ExportModal.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,9 @@ describe('ExportModal', () => {

expect(screen.getByText('접근 권한 관리는 프로젝트 권한 설정에서 처리합니다.')).toBeInTheDocument();
const accessManagementButton = screen.getByRole('button', { name: '접근 관리' });
expect(accessManagementButton).toBeDisabled();
expect(accessManagementButton).toHaveAttribute('aria-disabled', 'true');
accessManagementButton.focus();
expect(accessManagementButton).toHaveFocus();
Comment thread
coderabbitai[bot] marked this conversation as resolved.
expect(accessManagementButton).toHaveAttribute('aria-describedby', 'share-export-access-hint');
expect(accessManagementButton).not.toHaveAttribute('title');
});
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/components/modals/ExportModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,8 @@ export function ExportModal({
)}
<button
type="button"
disabled
aria-disabled={true}
onClick={(e) => e.preventDefault()}
Comment thread
seonghobae marked this conversation as resolved.
aria-describedby="share-export-access-hint"
className="exportModal__disabledHintButton"
>
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,8 @@ button:disabled {
}

.exportModal__disabledHintButton {
opacity: 0.9;
opacity: 0.5;
cursor: not-allowed;
}

.exportModal__hint {
Expand Down
Loading