Skip to content

Commit fa50838

Browse files
fix cypress
1 parent fc864c0 commit fa50838

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

cypress/tests/block.cy.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,14 @@ context('Block Acceptance Tests', () => {
2020
cy.get('h2:contains(Heading h2)').should('be.visible');
2121
});
2222

23+
2324
it('As editor I can add a Heading H3 block ', () => {
2425
cy.visit('/document/edit');
2526
cy.addNewBlock('heading');
26-
// cy.get('#field-tag > .react-select__control').click();
27-
// cy.get('#react-select-38-option-1').click();
27+
cy.get('#field-tag > .react-select__control > .react-select__indicators >')
28+
.trigger('click')
29+
.findByText('h3')
30+
.click();
2831
cy.get('.editable').click().type('Heading h3');
2932
cy.get('#toolbar-save').click();
3033
cy.visit('/document');

0 commit comments

Comments
 (0)