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

[FE] E2E tests for metrics #42278

Closed
50 tasks done
Tracked by #37335
ranquild opened this issue May 6, 2024 · 0 comments
Closed
50 tasks done
Tracked by #37335

[FE] E2E tests for metrics #42278

ranquild opened this issue May 6, 2024 · 0 comments
Assignees

Comments

@ranquild
Copy link
Contributor

ranquild commented May 6, 2024

metrics-editing.cy.spec.ts

location:

  • homepage
  • auto pinning

data source:

  • table
  • question single/multi stage
  • model single/multi stage
  • metric single/multi stage

joins:

  • join a table/question/model in metric queries
  • not possible to join a metric
  • not possible to join on the first stage of a metric-based query
  • join on the second stage of a metric query

columns:

  • single stage
  • multi stage
  • implicit joins
  • expression editor when the metric is already used

filters:

  • single stage
  • multi stage
  • implicit joins

breakouts:

  • timeseries/geo metrics
  • multi stage

aggregations:

  • simple operators
  • custom aggregation expressions
  • multi stage
  • multiple intermediate aggregations
  • table metric / non-table

organization:

  • name
  • edit table/question/model/metric-based query

metrics-question.cy.spec.ts

  • move
  • should be able to add a filter
  • should be able to add a breakout
  • should be able to change the temporal unit
  • drill with aggregation
  • drill without aggregation
  • no data access
  • no collection access

metrics-dashboard.cy.spec.ts

  • add & search for metrics
  • combine scalar metrics
  • combine timeseries metrics
  • filter + drill with aggregation
  • filter + drill without aggregation
  • click behavior
  • no data access
  • no collection access

metrics-collection.cy.spec.ts

  • can view scalar and timeseries metrics
  • can pin and unpin metrics
  • can bookmark a metric and remove it from bookmarks
  • can archive and unarchive a metric (both toast and via archive page)

metrics-search.cy.spec.ts

  • global search
  • search page
  • recent items
  • popular items
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant