test(backend-test): enable all tests (#3608)
This commit is contained in:
parent
9f17363bee
commit
cae9a570ab
@ -51,6 +51,10 @@ describe('Test Backend Editorial Workflow', () => {
|
||||
cy.task('setupBackend', { backend: 'test' });
|
||||
});
|
||||
|
||||
beforeEach(() => {
|
||||
cy.task('updateConfig', { collections: [{ publish: true }] });
|
||||
});
|
||||
|
||||
it('successfully loads', () => {
|
||||
login();
|
||||
});
|
||||
@ -192,7 +196,7 @@ describe('Test Backend Editorial Workflow', () => {
|
||||
cy.contains('button', 'Publish new entry').should('not.exist');
|
||||
});
|
||||
|
||||
it.only('can create a new entry, publish and create new', () => {
|
||||
it('can create a new entry, publish and create new', () => {
|
||||
login();
|
||||
createPost(entry1);
|
||||
updateWorkflowStatusInEditor(editorStatus.ready);
|
||||
@ -200,7 +204,7 @@ describe('Test Backend Editorial Workflow', () => {
|
||||
publishAndCreateNewEntryInEditor(entry1);
|
||||
});
|
||||
|
||||
it.only('can create a new entry, publish and duplicate', () => {
|
||||
it('can create a new entry, publish and duplicate', () => {
|
||||
login();
|
||||
createPost(entry1);
|
||||
updateWorkflowStatusInEditor(editorStatus.ready);
|
||||
|
@ -23,7 +23,7 @@
|
||||
"test:e2e": "run-s build:demo test:e2e:run",
|
||||
"test:e2e:ci": "run-s build:demo test:e2e:run-ci",
|
||||
"test:e2e:dev": "run-p clean && start-test develop 8080 test:e2e:exec-dev",
|
||||
"test:e2e:serve": "http-server dev-test",
|
||||
"test:e2e:serve": "http-server -c-1 dev-test",
|
||||
"test:e2e:exec": "cypress run --browser chrome --headless",
|
||||
"test:e2e:exec-ci": "cypress run --browser chrome --headless --record --parallel --ci-build-id $GITHUB_SHA --group 'GitHub CI' displayName: 'Run Cypress tests'",
|
||||
"test:e2e:exec-dev": "cypress open",
|
||||
|
Loading…
x
Reference in New Issue
Block a user