feat(backend-bitbucket): Add Git-LFS support ()

This commit is contained in:
Erez Rokah
2020-01-21 18:57:36 +02:00
committed by GitHub
parent 0755f90142
commit a48c02d852
36 changed files with 17763 additions and 7501 deletions
cypress
fixtures
BitBucket Backend Editorial Workflow__can change status on and publish multiple entries.jsonBitBucket Backend Editorial Workflow__can change workflow status.jsonBitBucket Backend Editorial Workflow__can create an entry.jsonBitBucket Backend Editorial Workflow__can delete an entry.jsonBitBucket Backend Editorial Workflow__can publish an editorial workflow entry.jsonBitBucket Backend Editorial Workflow__can update an entry.jsonBitBucket Backend Editorial Workflow__can update workflow status from within the editor.jsonBitBucket Backend Editorial Workflow__successfully loads.jsonBitBucket Backend Media Library - Large Media__can delete image from global media library.jsonBitBucket Backend Media Library - Large Media__can publish entry with image.jsonBitBucket Backend Media Library - Large Media__can save entry with image.jsonBitBucket Backend Media Library - Large Media__can upload image from entry media library.jsonBitBucket Backend Media Library - Large Media__can upload image from global media library.jsonBitBucket Backend Media Library - Large Media__should not show draft entry image in global media library.jsonBitBucket Backend Media Library - Large Media__should show published entry image in global media library.jsonBitBucket Backend Media Library - Large Media__should show published entry image in grid view.jsonBitBucket Backend Media Library - REST API__can delete image from global media library.jsonBitBucket Backend Media Library - REST API__can publish entry with image.jsonBitBucket Backend Media Library - REST API__can save entry with image.jsonBitBucket Backend Media Library - REST API__can upload image from entry media library.jsonBitBucket Backend Media Library - REST API__can upload image from global media library.jsonBitBucket Backend Media Library - REST API__should not show draft entry image in global media library.jsonBitBucket Backend Media Library - REST API__should show published entry image in global media library.jsonBitBucket Backend Media Library - REST API__should show published entry image in grid view.jsonBitBucket Backend Simple Workflow__can create an entry.jsonBitBucket Backend Simple Workflow__successfully loads.json
integration
plugins
support
utils
packages
netlify-cms-backend-bitbucket/src
netlify-cms-backend-git-gateway/src
netlify-cms-lib-util/src

@ -0,0 +1,28 @@
import fixture from './common/media_library';
import { entry1 } from './common/entries';
import * as specUtils from './common/spec_utils';
const backend = 'bitbucket';
const lfs = true;
describe('BitBucket Backend Media Library - Large Media', () => {
let taskResult = { data: {} };
before(() => {
specUtils.before(taskResult, { lfs }, backend);
});
after(() => {
specUtils.after(taskResult, backend);
});
beforeEach(() => {
specUtils.beforeEach(taskResult, backend);
});
afterEach(() => {
specUtils.afterEach(taskResult, backend);
});
fixture({ entries: [entry1], getUser: () => taskResult.data.user });
});