trinodb / trino

Official repository of Trino, the distributed SQL query engine for big data, formerly known as PrestoSQL (https://trino.io)
https://trino.io
Apache License 2.0
10.15k stars 2.93k forks source link

Add web ui automated test coverage #284

Open kokosing opened 5 years ago

kokosing commented 5 years ago

The idea is to catch things like https://github.com/prestosql/presto/issues/279 as soon possible.

See https://github.com/prestosql/presto/pull/283#pullrequestreview-206307804 and https://github.com/prestosql/presto/pull/283#issuecomment-466003811

We could modify WEB_UI tests to start up an Presto server, run some basic queries then open web ui and click over it to see if there are no javascript issues. That could be based on Selenium.

sopel39 commented 5 years ago

We could also check that some query stats are properly aggregated in UI (compared to query stats JSON).