Skip to content

Commit

Permalink
adjust tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsonpl committed May 20, 2022
1 parent 3db3932 commit b7b4876
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ describe('ALL - Add Integration', () => {
findFormFieldByRowsLabelAndType('Name', 'Integration');
findFormFieldByRowsLabelAndType('Scheduled agent policies (optional)', '{downArrow} {enter}');
findAndClickButton('Add query');
cy.react('EuiComboBox', { props: { placeholder: 'Search for saved queries' } })
cy.react('EuiComboBox', { props: { placeholder: 'New query' } })
.click()
.type('{downArrow} {enter}');
cy.contains(/^Save$/).click();
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/osquery/cypress/screens/live_query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ export const RESULTS_TABLE = 'osqueryResultsTable';
export const RESULTS_TABLE_BUTTON = 'dataGridFullScreenButton';
export const RESULTS_TABLE_CELL_WRRAPER = 'EuiDataGridHeaderCellWrapper';
export const getSavedQueriesDropdown = () =>
cy.react('EuiComboBox', { props: { placeholder: 'Search for saved queries' } });
cy.react('EuiComboBox', { props: { placeholder: 'New query' } });

0 comments on commit b7b4876

Please sign in to comment.