mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-26 06:37:33 +00:00
feat(settings,admin): every tab and popup in the planner's design
This commit is contained in:
@@ -39,9 +39,9 @@ function renderSection() {
|
||||
);
|
||||
}
|
||||
|
||||
// The switch carries its row's label as its accessible name.
|
||||
function multimodalToggle(): HTMLElement {
|
||||
const row = screen.getByText('Model reads images').parentElement as HTMLElement;
|
||||
return row.querySelector('button') as HTMLElement;
|
||||
return screen.getByRole('button', { name: 'Model reads images' });
|
||||
}
|
||||
|
||||
async function pickProvider(user: ReturnType<typeof userEvent.setup>, current: RegExp, next: string) {
|
||||
|
||||
Reference in New Issue
Block a user