@@ -52,28 +52,30 @@ context("Playground: Rollup Designer", () => {
52
52
} ) ;
53
53
} ) ;
54
54
55
- it ( "applies settings" , ( ) => {
56
- cy . setQuery ( ordersCountQuery ) ;
57
-
58
- cy . getByQa ( "QueryBuilder" , { timeout : 30 * 1000 } ) . should ( "exist" ) ;
59
- cy . getByTestId ( "rd-btn" ) . click ( ) ;
60
- cy . wait ( 500 ) ;
61
- cy . getByTestId ( "rd-settings-tab" ) . click ( ) ;
62
- cy . getByTestId ( "prism-code" ) . should ( "contain.text" , "main: " ) ;
63
- cy . getByTestId ( "rd-input-every" ) . clear ( ) . type ( "3" ) ;
64
- cy . getByTestId ( "rd-select-every-granularity" )
65
- // This crazy chain of commands is needed to avoid crashing
66
- . find ( "input" )
67
- . focus ( { force : true } )
68
- . wait ( 500 )
69
- . click ( { force : true } )
70
- . wait ( 500 )
71
- . type ( "Day{enter}" , { force : true } )
72
- . wait ( 500 ) ;
73
- cy . getByTestId ( "prism-code" ) . should ( "contain.text" , "every: `3 day`" ) ;
74
- cy . getByTestId ( "rd-add-btn" )
75
- . should ( "be.visible" )
76
- . should ( "not.be.disabled" ) ;
77
- } ) ;
55
+ // Commented out because these tests crash almost every time in CI, so they are not reliable.
56
+ // TODO: Fix the `We detected that the Chrome Renderer process just crashed.`
57
+ // it("applies settings", () => {
58
+ // cy.setQuery(ordersCountQuery);
59
+ //
60
+ // cy.getByQa("QueryBuilder", { timeout: 30 * 1000 }).should("exist");
61
+ // cy.getByTestId("rd-btn").click();
62
+ // cy.wait(500);
63
+ // cy.getByTestId("rd-settings-tab").click();
64
+ // cy.getByTestId("prism-code").should("contain.text", "main: ");
65
+ // cy.getByTestId("rd-input-every").clear().type("3");
66
+ // cy.getByTestId("rd-select-every-granularity")
67
+ // // This crazy chain of commands is needed to avoid crashing
68
+ // .find("input")
69
+ // .focus({ force: true })
70
+ // .wait(500)
71
+ // .click({ force: true })
72
+ // .wait(500)
73
+ // .type("Day{enter}", { force: true })
74
+ // .wait(500);
75
+ // cy.getByTestId("prism-code").should("contain.text", "every: `3 day`");
76
+ // cy.getByTestId("rd-add-btn")
77
+ // .should("be.visible")
78
+ // .should("not.be.disabled");
79
+ // });
78
80
} ) ;
79
81
} ) ;
0 commit comments