Skip to content

Commit c67ac63

Browse files
committed
Better naming
1 parent 1f82b0f commit c67ac63

2 files changed

Lines changed: 24 additions & 1 deletion

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
context('Separator Block Acceptance Tests', () => {
2+
beforeEach(() => {
3+
cy.visit('/');
4+
cy.viewport('macbook-16');
5+
cy.createContent({
6+
contentType: 'Document',
7+
contentId: 'document',
8+
contentTitle: 'Document',
9+
path: '/',
10+
});
11+
cy.autologin();
12+
});
13+
14+
it('As editor I can add a Separator block', () => {
15+
cy.navigate('/document/edit');
16+
cy.get('.block .slate-editor [contenteditable=true]').click();
17+
cy.get('.button .block-add-button').click({ force: true });
18+
cy.get('.blocks-chooser .mostUsed .button.separator').click({
19+
force: true,
20+
});
21+
cy.get('#toolbar-save').click();
22+
});
23+
});

frontend/cypress/tests/addons/slider/block.cy.ts renamed to frontend/cypress/tests/addons/slider/slider-block.cy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
context('Block Acceptance Tests', () => {
1+
context('Slider Block Acceptance Tests', () => {
22
beforeEach(() => {
33
cy.visit('/');
44
cy.viewport('macbook-16');

0 commit comments

Comments
 (0)