Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use example index pattern id to find page in import_vector_map_tab.spec.js #847

Merged
merged 1 commit into from
Sep 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,14 @@ describe('Verify the presence of import custom map tab in region map plugin', ()
cy.deleteAllIndices();
miscUtils.addSampleData();

cy.visit(`${BASE_PATH}/app/visualize#/`);

// Click on "Create Visualization" tab
cy.contains('Create visualization').click({ force: true });

// Click on "Region Map" icon
cy.contains('Region Map').click({ force: true });

// Select index source - opensearch_dashboards_sample_data_flights
cy.contains('opensearch_dashboards_sample_data_flights').click({
force: true,
});
// Load region map visualization with sample data opensearch_dashboards_sample_data_flights
cy.visit(
`${BASE_PATH}/app/visualize#/create?type=region_map&indexPattern=d3d7af60-4c81-11e8-b3d7-01146121b73d`,
{
retryOnStatusCodeFailure: true,
timeout: 60000,
}
);
});

it('checks import custom map tab is present', () => {
Expand Down
Loading