[
https://issues.apache.org/jira/browse/FLINK-40600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-40600:
-----------------------------------
Labels: pull-request-available (was: )
> Web dashboard: finish Vitest smoke-test coverage and tighten thin specs
> -----------------------------------------------------------------------
>
> Key: FLINK-40600
> URL: https://issues.apache.org/jira/browse/FLINK-40600
> Project: Flink
> Issue Type: Technical Debt
> Components: Runtime / Web Frontend
> Reporter: Martijn Visser
> Priority: Major
> Labels: pull-request-available
>
> FLINK-40117 added Vitest specs for most of the web dashboard views, but
> {{pages/application/overview}} and {{pages/application/exceptions}} still
> have none. Some of the added specs also only check that the mocked data was
> loaded and not what the component derived from it: the timeline spec doesn't
> assert the computed vertex and subtask ranges, the job overview spec never
> feeds a plan into {{ngOnInit}}, the cluster overview spec doesn't assert the
> derived statistics, and {{TaskManagerService}} only has tests for
> {{loadManagers}} and {{loadManager}}. The {{HumanizeDatePipe}} test for
> format 'B' relies on Angular throwing for missing locale data, which an
> Angular upgrade could change.
> We should add the two missing specs and tighten the existing ones so that
> they fail when the derived values change.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)