F: Enable compression for backend responses
This commit is contained in:
parent
341db80e68
commit
7adbaed116
|
@ -112,6 +112,7 @@ if _domain != '':
|
|||
|
||||
|
||||
MIDDLEWARE = [
|
||||
'django.middleware.gzip.GZipMiddleware',
|
||||
'django.middleware.security.SecurityMiddleware',
|
||||
'django.contrib.sessions.middleware.SessionMiddleware',
|
||||
'corsheaders.middleware.CorsMiddleware',
|
||||
|
|
|
@ -15,7 +15,7 @@ export function NavigationButton({ icon, title, hideTitle, className, style, onC
|
|||
return (
|
||||
<button
|
||||
type='button'
|
||||
tabIndex={1}
|
||||
tabIndex={0}
|
||||
aria-label={title}
|
||||
data-tooltip-id={!!title ? globalIDs.tooltip : undefined}
|
||||
data-tooltip-hidden={hideTitle}
|
||||
|
|
|
@ -41,7 +41,6 @@ export function ValueIcon({
|
|||
onClick,
|
||||
...restProps
|
||||
}: ValueIconProps) {
|
||||
// TODO: do not add button if onClick is disabled
|
||||
return (
|
||||
<div
|
||||
className={clsx(
|
||||
|
|
|
@ -31,7 +31,7 @@ test('logout procedure and consequence', async ({ page }) => {
|
|||
await page.goto('/');
|
||||
|
||||
await page.getByRole('button', { name: 'Пользователь' }).click();
|
||||
await page.getByRole('button', { name: 'Выйти' }).click();
|
||||
await page.getByRole('button', { name: 'Выход из приложения' }).click();
|
||||
|
||||
await page.getByRole('button', { name: 'Перейти на страницу логина' }).click();
|
||||
await expect(page.getByRole('button', { name: 'Войти' })).toBeVisible();
|
||||
|
|
Loading…
Reference in New Issue
Block a user