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 удалений

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

@@ -81,7 +81,7 @@ const onPremServerConfig = (): Partial<TestAdminConfig> => {
};
// Should be based only from the generated default config from ./server via "make config-reset"
// Based on v9.8 server
// Based on v10.0 server
const defaultServerConfig: AdminConfig = {
ServiceSettings: {
SiteURL: '',
@@ -133,7 +133,7 @@ const defaultServerConfig: AdminConfig = {
CorsDebug: false,
AllowCookiesForSubdomains: false,
ExtendSessionLengthWithActivity: true,
TerminateSessionsOnPasswordChange: false,
TerminateSessionsOnPasswordChange: true,
SessionLengthWebInDays: 30,
SessionLengthWebInHours: 720,
SessionLengthMobileInDays: 30,
@@ -191,11 +191,11 @@ const defaultServerConfig: AdminConfig = {
CollapsedThreads: CollapsedThreads.ALWAYS_ON,
ManagedResourcePaths: '',
EnableCustomGroups: true,
SelfHostedPurchase: true,
AllowSyncedDrafts: true,
UniqueEmojiReactionLimitPerPost: 50,
RefreshPostStatsRunTime: '00:00',
MaximumPayloadSizeBytes: 300000,
MaximumURLLength: 2048,
},
TeamSettings: {
SiteName: 'Mattermost',
@@ -260,7 +260,6 @@ const defaultServerConfig: AdminConfig = {
VerboseDiagnostics: false,
EnableSentry: true,
AdvancedLoggingJSON: {},
AdvancedLoggingConfig: '',
MaxFieldSize: 2048,
},
ExperimentalAuditSettings: {
@@ -272,7 +271,6 @@ const defaultServerConfig: AdminConfig = {
FileCompress: false,
FileMaxQueueSize: 1000,
AdvancedLoggingJSON: {},
AdvancedLoggingConfig: '',
},
NotificationLogSettings: {
EnableConsole: true,
@@ -284,7 +282,6 @@ const defaultServerConfig: AdminConfig = {
FileJson: true,
FileLocation: '',
AdvancedLoggingJSON: {},
AdvancedLoggingConfig: '',
},
PasswordSettings: {
MinimumLength: 8,
@@ -497,7 +494,6 @@ const defaultServerConfig: AdminConfig = {
LoginButtonColor: '#0000',
LoginButtonBorderColor: '#2389D7',
LoginButtonTextColor: '#2389D7',
Trace: false,
},
ComplianceSettings: {
Enable: false,
@@ -552,6 +548,12 @@ const defaultServerConfig: AdminConfig = {
AndroidAppDownloadLink: 'https://mattermost.com/pl/android-app/',
IosAppDownloadLink: 'https://mattermost.com/pl/ios-app/',
},
CacheSettings: {
CacheType: 'lru',
RedisAddress: '',
RedisPassword: '',
RedisDB: -1,
},
ClusterSettings: {
Enable: false,
ClusterName: '',
@@ -569,6 +571,8 @@ const defaultServerConfig: AdminConfig = {
Enable: false,
BlockProfileRate: 0,
ListenAddress: ':8067',
EnableClientMetrics: true,
EnableNotificationMetrics: true,
},
ExperimentalSettings: {
ClientSideCertEnable: false,
@@ -580,6 +584,8 @@ const defaultServerConfig: AdminConfig = {
DisableAppBar: false,
DisableRefetchingOnBrowserFocus: false,
DelayChannelAutocomplete: false,
DisableWakeUpReconnectHandler: false,
UsersStatusAndProfileFetchingPollIntervalMilliseconds: 3000,
YoutubeReferrerPolicy: false,
},
AnalyticsSettings: {
@@ -587,9 +593,9 @@ const defaultServerConfig: AdminConfig = {
},
ElasticsearchSettings: {
ConnectionURL: 'http://localhost:9200',
Backend: 'elasticsearch',
Username: 'elastic',
Password: 'changeme',
Backend: 'elasticsearch',
EnableIndexing: false,
EnableSearching: false,
EnableAutocomplete: false,
@@ -603,7 +609,7 @@ const defaultServerConfig: AdminConfig = {
AggregatePostsAfterDays: 365,
PostsAggregatorJobStartTime: '03:00',
IndexPrefix: '',
LiveIndexingBatchSize: 1,
LiveIndexingBatchSize: 10,
BatchSize: 10000,
RequestTimeoutSeconds: 30,
SkipTLSVerification: false,
@@ -657,7 +663,6 @@ const defaultServerConfig: AdminConfig = {
CleanupJobsThresholdDays: -1,
CleanupConfigThresholdDays: -1,
},
ProductSettings: {},
PluginSettings: {
Enable: true,
EnableUploads: false,
@@ -712,14 +717,12 @@ const defaultServerConfig: AdminConfig = {
TestFeature: 'off',
TestBoolFeature: false,
EnableRemoteClusterService: false,
AppsEnabled: true,
AppsEnabled: false,
PermalinkPreviews: false,
CallsEnabled: true,
NormalizeLdapDNs: false,
WysiwygEditor: false,
OnboardingTourTips: true,
DeprecateCloudFree: false,
CloudReverseTrial: false,
EnableExportDirectDownload: false,
MoveThreadsEnabled: false,
StreamlinedMarketplace: true,
@@ -728,8 +731,9 @@ const defaultServerConfig: AdminConfig = {
CloudAnnualRenewals: false,
CloudDedicatedExportUI: false,
ChannelBookmarks: false,
WebSocketEventScope: false,
WebSocketEventScope: true,
NotificationMonitoring: true,
ExperimentalAuditSettingsSystemConsoleUI: false,
},
ImportSettings: {
Directory: './import',