Upgrade Playwright's dependencies (#28125)

* upgrade playwright's dependencies

* fix test

* fix types

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
Saturnino Abril
2024-09-10 14:54:10 +08:00
коммит произвёл GitHub
родитель c2df4e413e
Коммит eb560fff1e
8 изменённых файлов: 371 добавлений и 358 удалений

Просмотреть файл

@@ -64,13 +64,6 @@ describe('components/admin_console/license_settings/enterprise_edition/enterpris
preferences: {
myPreferences: {},
},
admin: {
config: {
ServiceSettings: {
SelfHostedPurchase: true,
},
},
},
cloud: {
subscription: undefined,
},

Просмотреть файл

@@ -385,7 +385,6 @@ export type ServiceSettings = {
DebugSplit: boolean;
ManagedResourcePaths: string;
EnableCustomGroups: boolean;
SelfHostedPurchase: boolean;
AllowSyncedDrafts: boolean;
AllowPersistentNotifications: boolean;
AllowPersistentNotificationsForGuests: boolean;
@@ -395,6 +394,7 @@ export type ServiceSettings = {
UniqueEmojiReactionLimitPerPost: number;
RefreshPostStatsRunTime: string;
MaximumPayloadSizeBytes: number;
MaximumURLLength: number;
};
export type TeamSettings = {
@@ -461,7 +461,6 @@ export type LogSettings = {
EnableDiagnostics: boolean;
VerboseDiagnostics: boolean;
EnableSentry: boolean;
AdvancedLoggingConfig: string;
AdvancedLoggingJSON: Record<string, any>;
MaxFieldSize: number;
};
@@ -474,7 +473,6 @@ export type ExperimentalAuditSettings = {
FileMaxBackups: number;
FileCompress: boolean;
FileMaxQueueSize: number;
AdvancedLoggingConfig: string;
AdvancedLoggingJSON: Record<string, any>;
};
@@ -487,7 +485,6 @@ export type NotificationLogSettings = {
FileLevel: string;
FileJson: boolean;
FileLocation: string;
AdvancedLoggingConfig: string;
AdvancedLoggingJSON: Record<string, any>;
};
@@ -697,7 +694,6 @@ export type LdapSettings = {
LoginButtonColor: string;
LoginButtonBorderColor: string;
LoginButtonTextColor: string;
Trace: boolean;
};
export type ComplianceSettings = {
@@ -775,6 +771,8 @@ export type MetricsSettings = {
Enable: boolean;
BlockProfileRate: number;
ListenAddress: string;
EnableClientMetrics: boolean;
EnableNotificationMetrics: boolean;
};
export type ExperimentalSettings = {
@@ -787,6 +785,8 @@ export type ExperimentalSettings = {
DisableAppBar: boolean;
DisableRefetchingOnBrowserFocus: boolean;
DelayChannelAutocomplete: boolean;
DisableWakeUpReconnectHandler: boolean;
UsersStatusAndProfileFetchingPollIntervalMilliseconds: number;
YoutubeReferrerPolicy: boolean;
};
@@ -794,6 +794,13 @@ export type AnalyticsSettings = {
MaxUsersForStatistics: number;
};
export type CacheSettings = {
CacheType: string;
RedisAddress: string;
RedisPassword: string;
RedisDB: number;
};
export type ElasticsearchSettings = {
ConnectionURL: string;
Backend: string;
@@ -871,8 +878,6 @@ export type JobSettings = {
CleanupConfigThresholdDays: number;
};
export type ProductSettings = Record<string, never>;
export type PluginSettings = {
Enable: boolean;
EnableUploads: boolean;
@@ -959,12 +964,12 @@ export type AdminConfig = {
MetricsSettings: MetricsSettings;
ExperimentalSettings: ExperimentalSettings;
AnalyticsSettings: AnalyticsSettings;
CacheSettings: CacheSettings;
ElasticsearchSettings: ElasticsearchSettings;
BleveSettings: BleveSettings;
DataRetentionSettings: DataRetentionSettings;
MessageExportSettings: MessageExportSettings;
JobSettings: JobSettings;
ProductSettings: ProductSettings;
PluginSettings: PluginSettings;
DisplaySettings: DisplaySettings;
GuestAccountsSettings: GuestAccountsSettings;