question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Each TestBench command for a Fusion app takes 20s with Flow 6 alpha 5

See original GitHub issue

Description of the bug / feature

The waiting logic in TestBench goes partly like

if (window.Vaadin.Flow && !window.Vaadin.Flow.clients) {
  // Wait for the ApplicationConnection to show up
}

This no longer works at all in Fusion apps with Flow 6 alpha 5 because the application theme is set as

window.Vaadin.Flow._vaadintheme_something

apparently also the DevModeGizmo is set in dev mode as

window.Vaadin.Flow.devModeGizmo

The result is that each and every command in a test takes 20s, which is the timeout for waiting

Not sure if this should be fixed in Flow or TestBench

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
Artur-commented, Feb 10, 2021

There is no waiting for frontend compilation when you are running with -Pproduction. That happens before the server is started and the test is run

1reaction
plekucommented, Feb 8, 2021

Right, thanks. So there is no additional disclaimer that should be needed for testing Fusion apps for now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Each TestBench command for a Fusion app takes 20s with Flow 6 ...
Each TestBench command for a Fusion app takes 20s with Flow 6 alpha 5. ... The waiting logic in TestBench goes partly like...
Read more >
Untitled
Work and income job seeker application, Galen o'shay wikipedia! Pizza zawonia, Let yourself go chords ... Simple pickup kong wiki, Atari flashback 5...
Read more >
VHDL Vital Simulation Guide - Microsemi
VHDL language requires that the library names begin with an alpha ... 5. Compile the library. Type the following command at the prompt:....
Read more >
arXiv:2104.03408v3 [hep-ex] 17 Aug 2021
In the calorimeter, both an electron and a photon leave similar patterns. 6. Page 7. Nanosecond ML event classification with BDT in FPGA...
Read more >
Liquid surfaces for fusion plasma facing components—A ...
[14] on issues related to flowing Li divertor targets and their integration into NSTX-U; and (2) Tabarés et al. [15] on divertor application...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found