- {BUSINESS_GROUP_COLORS.map((color) => (
-
{
- if (!window.confirm(`'${group.name}' ๊ทธ๋ฃน์ ์ญ์ ํ์๊ฒ ์ต๋๊น?`)) return;
+ if (!window.confirm("'" + group.name + "' ๊ทธ๋ฃน์ ์ญ์ ํ์๊ฒ ์ต๋๊น?")) return;
onDeleteBusinessGroup(group.id);
}}
>
diff --git a/frontend/src/components/modals/ModalCoverage.test.tsx b/frontend/src/components/modals/ModalCoverage.test.tsx
index 8732f7efa..c1a465b1b 100644
--- a/frontend/src/components/modals/ModalCoverage.test.tsx
+++ b/frontend/src/components/modals/ModalCoverage.test.tsx
@@ -262,11 +262,11 @@ describe('modal behavior coverage', () => {
/>,
)
fireEvent.change(screen.getByLabelText('๊ทธ๋ฃน ์ด๋ฆ'), { target: { value: 'New' } })
- fireEvent.click(screen.getAllByRole('button', { name: /^์์ / })[1]!)
+ fireEvent.click(screen.getAllByRole('radio', { name: /^์์ / })[1]!)
fireEvent.click(screen.getByRole('button', { name: '์ถ๊ฐ' }))
vi.spyOn(window, 'confirm').mockReturnValueOnce(true)
fireEvent.click(screen.getByRole('button', { name: 'Billing ๊ทธ๋ฃน ์ญ์ ' }))
- expect(window.confirm).toHaveBeenCalledWith("'Billing' ๊ทธ๋ฃน์ ์ญ์ ํ์๊ฒ ์ต๋๊น?")
+ expect(window.confirm).toHaveBeenCalledWith("'" + 'Billing' + "' ๊ทธ๋ฃน์ ์ญ์ ํ์๊ฒ ์ต๋๊น?")
fireEvent.change(screen.getByRole('combobox'), { target: { value: '' } })
fireEvent.click(screen.getByRole('button', { name: '์
๋ฌด ๊ทธ๋ฃน ๋ซ๊ธฐ' }))
expect(setName).toHaveBeenCalledWith('New')
diff --git a/frontend/src/styles.css b/frontend/src/styles.css
index 3605ce9fb..49a5747a9 100644
--- a/frontend/src/styles.css
+++ b/frontend/src/styles.css
@@ -943,7 +943,7 @@ button:disabled {
box-shadow: 0 0 0 1px var(--color-border);
}
-.groupManager__swatch[aria-pressed="true"] {
+.groupManager__swatch[aria-checked="true"] {
box-shadow: 0 0 0 3px var(--color-text-strong);
}