Skip to content

Commit 3036685

Browse files
committed
added cypress
1 parent 9e6d31b commit 3036685

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cypress/e2e/start_page.cy.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ describe('NeoDash E2E Tests', () => {
245245
cy.get('main .react-grid-item:eq(2) .MuiCardContent-root h1', { timeout: 45000 }).should('have.text', 'Hello');
246246
});
247247

248-
it.skip('creates a form report', () => {
248+
it.only('creates a form report', () => {
249249
enableFormsExtension();
250250
cy.checkInitialState();
251251
createReportOfType('Form', formCypherQuery, true, false);
@@ -261,8 +261,10 @@ describe('NeoDash E2E Tests', () => {
261261

262262
cy.get('main .react-grid-item:eq(2) button[aria-label="run"]').scrollIntoView().should('be.visible').click();
263263
cy.wait(500);
264+
cy.get('#form-submit').should('be.disabled');
264265
cy.get('#autocomplete').type('The Matrix');
265266
cy.get('#autocomplete-option-0').click();
267+
cy.get('#form-submit').should('not.be.disabled');
266268
cy.get('#form-submit').click();
267269
cy.wait(500);
268270
cy.get('.form-submitted-message').should('have.text', 'Form Submitted.Reset Form');

0 commit comments

Comments
 (0)