Move /e2e -> /e2e-tests
Этот коммит содержится в:
57
e2e-tests/cypress/tests/utils/constants.js
Обычный файл
57
e2e-tests/cypress/tests/utils/constants.js
Обычный файл
@@ -0,0 +1,57 @@
|
||||
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
||||
// See LICENSE.txt for license information.
|
||||
|
||||
export const FEEDBACK_EMAIL = 'test@example.com';
|
||||
export const ABOUT_LINK = 'https://docs.mattermost.com/about/product.html';
|
||||
export const ASK_COMMUNITY_LINK = 'https://mattermost.com/pl/default-ask-mattermost-community/';
|
||||
export const HELP_LINK = 'https://mattermost.com/default-help/';
|
||||
export const PRIVACY_POLICY_LINK = 'https://mattermost.com/privacy-policy/';
|
||||
export const REPORT_A_PROBLEM_LINK = 'https://mattermost.com/default-report-a-problem/';
|
||||
export const TERMS_OF_SERVICE_LINK = 'https://mattermost.com/terms-of-use/';
|
||||
|
||||
export const CLOUD = 'Cloud';
|
||||
export const E20 = 'E20';
|
||||
export const TEAM = 'Team';
|
||||
|
||||
export const FixedPublicLinks = {
|
||||
TermsOfService: 'https://mattermost.com/terms-of-use/',
|
||||
PrivacyPolicy: 'https://mattermost.com/privacy-policy/',
|
||||
};
|
||||
|
||||
export const SupportSettings = {
|
||||
ABOUT_LINK,
|
||||
ASK_COMMUNITY_LINK,
|
||||
HELP_LINK,
|
||||
PRIVACY_POLICY_LINK,
|
||||
REPORT_A_PROBLEM_LINK,
|
||||
TERMS_OF_SERVICE_LINK,
|
||||
};
|
||||
export const FixedCloudConfig = {
|
||||
EmailSettings: {
|
||||
FEEDBACK_EMAIL,
|
||||
},
|
||||
SupportSettings,
|
||||
};
|
||||
|
||||
export const ServerEdition = {
|
||||
CLOUD,
|
||||
E20,
|
||||
TEAM,
|
||||
};
|
||||
|
||||
export const Constants = {
|
||||
FixedCloudConfig,
|
||||
ServerEdition,
|
||||
};
|
||||
|
||||
export const CustomStatusDuration = {
|
||||
DONT_CLEAR: '',
|
||||
THIRTY_MINUTES: 'thirty_minutes',
|
||||
ONE_HOUR: 'one_hour',
|
||||
FOUR_HOURS: 'four_hours',
|
||||
TODAY: 'today',
|
||||
THIS_WEEK: 'this_week',
|
||||
DATE_AND_TIME: 'date_and_time',
|
||||
};
|
||||
|
||||
export default Constants;
|
||||
Ссылка в новой задаче
Block a user