E2E/Playwright: Upgrade playwright/dependencies and test server config (#26464)

* chore: upgrade playwright and test server config

* add post install script

* update config types

* fix visual test
Этот коммит содержится в:
Saturnino Abril
2024-03-19 08:09:25 +08:00
коммит произвёл GitHub
родитель 297135c5b4
Коммит 53471c7e8c
14 изменённых файлов: 705 добавлений и 502 удалений

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

@@ -75,7 +75,7 @@ const onPremServerConfig = (): Partial<TestAdminConfig> => {
};
// Should be based only from the generated default config from ./server via "make config-reset"
// Based on v9.5 server
// Based on v9.7 server
const defaultServerConfig: AdminConfig = {
ServiceSettings: {
SiteURL: '',
@@ -101,6 +101,7 @@ const defaultServerConfig: AdminConfig = {
EnableOAuthServiceProvider: true,
EnableIncomingWebhooks: true,
EnableOutgoingWebhooks: true,
EnableOutgoingOAuthConnections: false,
EnableCommands: true,
OutgoingIntegrationRequestsTimeout: 30,
EnablePostUsernameOverride: false,
@@ -700,6 +701,7 @@ const defaultServerConfig: AdminConfig = {
CWSURL: 'https://customers.mattermost.com',
CWSAPIURL: 'https://portal.internal.prod.cloud.mattermost.com',
CWSMock: false,
Disable: false,
},
FeatureFlags: {
TestFeature: 'off',
@@ -720,7 +722,8 @@ const defaultServerConfig: AdminConfig = {
CloudIPFiltering: false,
ConsumePostHook: false,
CloudAnnualRenewals: false,
OutgoingOAuthConnections: false,
CloudDedicatedExportUI: false,
WebSocketEventScope: false,
},
ImportSettings: {
Directory: './import',