mirror of
https://github.com/baserow/baserow.git
synced 2026-12-04 00:08:25 +00:00
* fix: handle calendar boundaries in date comparisons * feat: add a single-date filter to the dashboard API * feat: send the viewer timezone with dashboard data requests * refactor: share dashboard filter controls and target settings * feat: configure dashboard filter conditions on date fields * feat: add the Date filter to the dashboard widget picker Implement the single-date mode of #6886. * fix: restore dragging dashboard filters by their titles * feat: persist the dashboard date filter display format * feat: choose how dashboard filter dates are displayed * test: align numeric filter checks with shared dashboard controls * style: format the dashboard date filter component test * fix: accept fixed UTC offsets in dashboard date filters * fix: expose dashboard filter dates as ISO strings in formulas * fix: seed dashboard conditions with compatible operators * feat: expose date ranges in dashboard formulas and viewer selections * feat: configure inclusive date range conditions for dashboard targets * feat: persist and dispatch inclusive dashboard date ranges * docs: describe date range selections in the dashboard dispatch API * feat: select and configure dashboard date ranges * fix: let viewers clear each dashboard date range endpoint * fix: preserve unfinished dashboard date range bounds on refresh * fix: refresh public dashboards after a date filter mode change * test: group dashboard date filter mode transitions * fix: warn about incompatible date range formula operands * fix: convert dashboard date defaults from the saved widget * fix: keep dashboard filter controls aligned when a condition has a warning * fix: clear incompatible dashboard conditions when switching date modes * fix: show cleared date conditions without warnings or redundant saves * fix: ignore empty dashboard date conditions after switching modes * fix: ignore dashboard date conditions without a single date and simplify mode switch clearing --------- Co-authored-by: peter_baserow <peter@baserow.io>
How to run locally
cd e2e-tests
# This will do all the yarn installs for you
./run-e2e-tests-locally.sh
# Once done you can easily just re-run the following:
yarn run test
Environment variables
The suite runs two ways, and which mail variable applies depends on which.
| Variable | Used by | Meaning |
|---|---|---|
E2E_MAIL_API_URL |
./run-e2e-tests-locally.sh and yarn run test |
Where the tests read sent mail from. Defaults to http://localhost:$BASEROW_MAILHOG_WEB_PORT, falling back to port 8025. A dev stack started as alternate instance A or B publishes MailHog on 8035 or 8045 instead, so set BASEROW_MAILHOG_WEB_PORT (or this URL) to match the stack you are testing. |
E2E_MAIL_API_PORT |
just e2e ... |
The host port the containerized stack publishes its own MailHog on. Defaults to 8075, and only needs changing when something else already listens there. The justfile builds E2E_MAIL_API_URL from it. |
E2E_SLACK_STUB |
./run-e2e-tests-locally.sh and yarn run test |
Set to yes when the backend under test has BASEROW_INTEGRATIONS_SLACK_API_URL pointed at the WireMock stub in stubs/slack, which just e2e and CI do. The one test in button_field_slack.spec.ts that clicks is skipped otherwise, since it would reach slack.com. Locally the script starts the stub on E2E_SLACK_STUB_PORT (default 8101); run the dev backend with BASEROW_INTEGRATIONS_SLACK_API_URL=http://localhost:8101/api and BASEROW_INTEGRATIONS_ALLOW_PRIVATE_ADDRESS=true. |
E2E_KUMA_MODEL_STUB |
yarn run test |
Set to yes when the backend and its Celery worker run Kuma against the stub in stubs/kuma-model (BASEROW_ENTERPRISE_ASSISTANT_LLM_MODEL=openai/kuma-e2e and OPENAI_BASE_URL pointing at the stub), which just e2e and CI do. The Kuma background run tests are skipped otherwise. |
E2E_HTTP_STUB_URL |
both | The endpoint the HTTP action tests call. The local runner starts httpbin in Docker when the backend allows private addresses, and falls back to the public httpbin.org otherwise. |
E2E_BUTTON_RATE_LIMIT |
both | How many external clicks a user gets per minute. The tests that click until they are refused are skipped when it is unset, since the runner cannot set it for a dev backend. |