Static resources include static files and files served by webjars. The tests should consider development and production modes. Part of https://github.com/vaadin/flow/issues/4619 and blocked (?) by vaadin/flow#3600