kpmck / cypress-ag-grid

Cypress plugin for interacting with ag grid
30 stars 17 forks source link

MultiFilter issue #35

Closed gdeo closed 1 year ago

gdeo commented 1 year ago

On trying to test multi-filter with checkboxes, selectAllLocaleText is ignored, and the test keeps looking for the text 'Select All'.

cy.get("#myAgGrid").agGridColumnFilterCheckboxMenu({
      searchCriteria: 
      [
        {
          columnName: "Col1",
          filterValue: "option1"

          },
          {
            columnName: "Col1",
            filterValue: "option2",
            },
          ],
          selectAllLocaleText:"custom text",
          hasApplyButton: false
    })

The above has failed with the error - Timed out retrying after 30000ms: Expected to find content: 'Select All' within the element:

kpmck commented 1 year ago

Thanks for filing! This should be resolved with https://github.com/kpmck/cypress-ag-grid/pull/36