static-cms/cypress/e2e/_old/media_library_spec_gitlab_backend.js

28 lines
659 B
JavaScript
Raw Normal View History

import fixture from '../common/media_library';
import { entry1 } from '../common/entries';
import * as specUtils from '../common/spec_utils';
const backend = 'gitlab';
describe('GitLab Backend Media Library - REST API', () => {
let taskResult = { data: {} };
before(() => {
specUtils.before(taskResult, { publish_mode: 'editorial_workflow' }, backend);
});
after(() => {
specUtils.after(taskResult, backend);
});
beforeEach(() => {
specUtils.beforeEach(taskResult, backend);
});
afterEach(() => {
specUtils.afterEach(taskResult, backend);
});
fixture({ entries: [entry1], getUser: () => taskResult.data.user });
});