File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -194,7 +194,8 @@ Cypress.Commands.add( 'test_advanced_settings', ($create_new_chart) => {
194
194
195
195
// cycle through each accordion and sub-accordion and set values in each input element.
196
196
cy . wrap ( $body ) . find ( '#settings-form' ) . within ( ( $form ) => {
197
- cy . get ( '.viz-group-title' ) . each ( ( $section ) => {
197
+ // click non disabled sections
198
+ cy . get ( '.viz-group:not(.only-pro-feature) .viz-group-title' ) . each ( ( $section ) => {
198
199
cy . wrap ( $section ) . click ( ) . then ( ( ) => {
199
200
cy . wrap ( $section ) . siblings ( '.viz-group-content' ) . first ( ) . then ( ( $tab ) => {
200
201
if ( $tab . find ( 'li.viz-subsection' ) . length > 0 ) {
@@ -240,7 +241,7 @@ Cypress.Commands.add( 'test_advanced_settings', ($create_new_chart) => {
240
241
241
242
// cycle through each accordion and sub-accordion and set values in each input element.
242
243
cy . wrap ( $body ) . find ( '#settings-form' ) . within ( ( $form ) => {
243
- cy . get ( '.viz-group-title' ) . each ( ( $section ) => {
244
+ cy . get ( '.viz-group:not(.only-pro-feature) .viz-group -title' ) . each ( ( $section ) => {
244
245
cy . wrap ( $section ) . click ( ) . then ( ( ) => {
245
246
cy . wrap ( $section ) . siblings ( '.viz-group-content' ) . first ( ) . then ( ( $tab ) => {
246
247
if ( $tab . find ( 'li.viz-subsection' ) . length > 0 ) {
You can’t perform that action at this time.
0 commit comments