strapi/e2e/constants.js
Josh b9aef55175
fix(cm): create entries (#19254)
* test(e2e): add better e2e tests for EditView CM

* fix(cm): handle that the `id` might be `create`

* docs: update e2e content-type docs
2024-01-18 10:22:06 +00:00

29 lines
747 B
JavaScript

const { CUSTOM_TRANSFER_TOKEN_ACCESS_KEY } = require('./app-template/template/src/constants');
const ALLOWED_CONTENT_TYPES = [
'admin::user',
'admin::role',
'admin::permission',
'api::article.article',
'api::author.author',
'api::homepage.homepage',
'api::upcoming-match.upcoming-match',
/**
* UPLOADS
*/
'plugin::upload.file',
];
// TODO: we should start using @strapi.io addresses to have the chance one day to
// actually receive and check the emails; also: it is not nice to spam other peoples
// websites
const ADMIN_EMAIL_ADDRESS = 'test@testing.com';
const ADMIN_PASSWORD = 'Testing123!';
module.exports = {
ADMIN_EMAIL_ADDRESS,
ADMIN_PASSWORD,
ALLOWED_CONTENT_TYPES,
CUSTOM_TRANSFER_TOKEN_ACCESS_KEY,
};