Skip to content

Commit

Permalink
Cleanup Index patterns after the test (#1473)
Browse files Browse the repository at this point in the history
* Cleanup Index patterns after the test

Signed-off-by: Suchit Sahoo <[email protected]>

* Fix Embed Flaky test

Signed-off-by: Suchit Sahoo <[email protected]>

---------

Signed-off-by: Suchit Sahoo <[email protected]>
(cherry picked from commit 6ec13d8)
  • Loading branch information
LDrago27 authored and github-actions[bot] committed Aug 1, 2024
1 parent 9594a70 commit 8262dc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ describe('index pattern without field spec', () => {
testFixtureHandler.clearJSONMapping(
'cypress/fixtures/dashboard/opensearch_dashboards/data_explorer/index_pattern_without_timefield/mappings.json.txt'
);
cy.deleteSavedObjectByType('index-pattern');
});

it('should not display a timepicker', () => {
Expand Down
2 changes: 1 addition & 1 deletion cypress/utils/dashboards/vis_type_table/table.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,5 +119,5 @@ Cypress.Commands.add('tbClickFilterFromExpand', (action) => {
cy.get('[class="euiPopoverFooter"]')
.find('[class="euiFlexItem"]')
.find(`[data-test-subj=${actionButton}]`)
.click();
.click({ force: true });
});

0 comments on commit 8262dc3

Please sign in to comment.