diff --git a/test/__snapshots__/all.test.e2e.js.snap b/test/__snapshots__/all.test.e2e.js.snap index ba20085180..22e85c1110 100644 --- a/test/__snapshots__/all.test.e2e.js.snap +++ b/test/__snapshots__/all.test.e2e.js.snap @@ -1,291 +1,5 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`admin-permission.test.e2e Role CRUD End to End Can get the existing permissions 1`] = ` -Object { - "conditions": Array [ - Object { - "category": "default", - "displayName": "Is creator", - "id": "admin::is-creator", - }, - Object { - "category": "default", - "displayName": "Has same role as creator", - "id": "admin::has-same-role-as-creator", - }, - ], - "sections": Object { - "contentTypes": Array [ - Object { - "action": "plugins::content-manager.explorer.create", - "displayName": "Create", - "subjects": Array [ - "plugins::users-permissions.user", - ], - }, - Object { - "action": "plugins::content-manager.explorer.delete", - "displayName": "Delete", - "subjects": Array [ - "plugins::users-permissions.user", - ], - }, - Object { - "action": "plugins::content-manager.explorer.publish", - "displayName": "Publish", - "subjects": Array [], - }, - Object { - "action": "plugins::content-manager.explorer.read", - "displayName": "Read", - "subjects": Array [ - "plugins::users-permissions.user", - ], - }, - Object { - "action": "plugins::content-manager.explorer.update", - "displayName": "Update", - "subjects": Array [ - "plugins::users-permissions.user", - ], - }, - ], - "plugins": Array [ - Object { - "action": "plugins::content-manager.collection-types.configure-view", - "displayName": "Configure view", - "plugin": "plugin::content-manager", - "subCategory": "collection types", - }, - Object { - "action": "plugins::content-manager.components.configure-layout", - "displayName": "Configure Layout", - "plugin": "plugin::content-manager", - "subCategory": "components", - }, - Object { - "action": "plugins::content-manager.single-types.configure-view", - "displayName": "Configure view", - "plugin": "plugin::content-manager", - "subCategory": "single types", - }, - Object { - "action": "plugins::content-type-builder.read", - "displayName": "Read", - "plugin": "plugin::content-type-builder", - "subCategory": "general", - }, - Object { - "action": "plugins::documentation.read", - "displayName": "Access the Documentation", - "plugin": "plugin::documentation", - "subCategory": "general", - }, - Object { - "action": "plugins::documentation.settings.regenerate", - "displayName": "Regenerate", - "plugin": "plugin::documentation", - "subCategory": "settings", - }, - Object { - "action": "plugins::documentation.settings.update", - "displayName": "Update and delete", - "plugin": "plugin::documentation", - "subCategory": "settings", - }, - Object { - "action": "plugins::upload.assets.copy-link", - "displayName": "Copy link", - "plugin": "plugin::upload", - "subCategory": "assets", - }, - Object { - "action": "plugins::upload.assets.create", - "displayName": "Create (upload)", - "plugin": "plugin::upload", - "subCategory": "assets", - }, - Object { - "action": "plugins::upload.assets.download", - "displayName": "Download", - "plugin": "plugin::upload", - "subCategory": "assets", - }, - Object { - "action": "plugins::upload.assets.update", - "displayName": "Update (crop, details, replace) + delete", - "plugin": "plugin::upload", - "subCategory": "assets", - }, - Object { - "action": "plugins::upload.read", - "displayName": "Access the Media Library", - "plugin": "plugin::upload", - "subCategory": "general", - }, - Object { - "action": "plugins::users-permissions.advanced-settings.read", - "displayName": "Read", - "plugin": "plugin::users-permissions", - "subCategory": "advancedSettings", - }, - Object { - "action": "plugins::users-permissions.advanced-settings.update", - "displayName": "Edit", - "plugin": "plugin::users-permissions", - "subCategory": "advancedSettings", - }, - Object { - "action": "plugins::users-permissions.email-templates.read", - "displayName": "Read", - "plugin": "plugin::users-permissions", - "subCategory": "emailTemplates", - }, - Object { - "action": "plugins::users-permissions.email-templates.update", - "displayName": "Edit", - "plugin": "plugin::users-permissions", - "subCategory": "emailTemplates", - }, - Object { - "action": "plugins::users-permissions.providers.read", - "displayName": "Read", - "plugin": "plugin::users-permissions", - "subCategory": "providers", - }, - Object { - "action": "plugins::users-permissions.providers.update", - "displayName": "Edit", - "plugin": "plugin::users-permissions", - "subCategory": "providers", - }, - Object { - "action": "plugins::users-permissions.roles.create", - "displayName": "Create", - "plugin": "plugin::users-permissions", - "subCategory": "roles", - }, - Object { - "action": "plugins::users-permissions.roles.delete", - "displayName": "Delete", - "plugin": "plugin::users-permissions", - "subCategory": "roles", - }, - Object { - "action": "plugins::users-permissions.roles.read", - "displayName": "Read", - "plugin": "plugin::users-permissions", - "subCategory": "roles", - }, - Object { - "action": "plugins::users-permissions.roles.update", - "displayName": "Update", - "plugin": "plugin::users-permissions", - "subCategory": "roles", - }, - ], - "settings": Array [ - Object { - "action": "admin::marketplace.plugins.install", - "category": "plugins and marketplace", - "displayName": "Install (only for dev env)", - "subCategory": "plugins", - }, - Object { - "action": "admin::marketplace.plugins.uninstall", - "category": "plugins and marketplace", - "displayName": "Uninstall (only for dev env)", - "subCategory": "plugins", - }, - Object { - "action": "admin::marketplace.read", - "category": "plugins and marketplace", - "displayName": "Access the marketplace", - "subCategory": "marketplace", - }, - Object { - "action": "admin::roles.create", - "category": "users and roles", - "displayName": "Create", - "subCategory": "roles", - }, - Object { - "action": "admin::roles.delete", - "category": "users and roles", - "displayName": "Delete", - "subCategory": "roles", - }, - Object { - "action": "admin::roles.read", - "category": "users and roles", - "displayName": "Read", - "subCategory": "roles", - }, - Object { - "action": "admin::roles.update", - "category": "users and roles", - "displayName": "Update", - "subCategory": "roles", - }, - Object { - "action": "admin::users.create", - "category": "users and roles", - "displayName": "Create (invite)", - "subCategory": "users", - }, - Object { - "action": "admin::users.delete", - "category": "users and roles", - "displayName": "Delete", - "subCategory": "users", - }, - Object { - "action": "admin::users.read", - "category": "users and roles", - "displayName": "Read", - "subCategory": "users", - }, - Object { - "action": "admin::users.update", - "category": "users and roles", - "displayName": "Update", - "subCategory": "users", - }, - Object { - "action": "admin::webhooks.create", - "category": "webhooks", - "displayName": "Create", - "subCategory": "general", - }, - Object { - "action": "admin::webhooks.delete", - "category": "webhooks", - "displayName": "Delete", - "subCategory": "general", - }, - Object { - "action": "admin::webhooks.read", - "category": "webhooks", - "displayName": "Read", - "subCategory": "general", - }, - Object { - "action": "admin::webhooks.update", - "category": "webhooks", - "displayName": "Update", - "subCategory": "general", - }, - Object { - "action": "plugins::upload.settings.read", - "category": "media library", - "displayName": "Access the Media Library settings page", - "subCategory": "general", - }, - ], - }, -} -`; - exports[`content-types.test.e2e Content Type Builder - Content types Collection Types Get collection type returns full schema and information 1`] = ` Object { "data": Object {