Artur
Artur
``` Upload upload = new Upload(); upload.addStartedListener(e -> { add( new Text("Upload of " + e.getFilename() + " of size " + e.getContentLength() + " started")); }); ``` When the...
``` const foo = `hello`; export default foo; ``` If this gets passed through the plugin, it breaks with ``` error during build: TypeError: Cannot read properties of undefined (reading...
Fixes #53
The original issue was created in https://github.com/vitejs/vite/issues/9694 With Vite 3 the CSS in JS can be of the type ``` const a = 'foo '+someJS + 'bar'; ``` in practice...
Add support for Opera 18+
If you have a TypeScript view in your app, e.g. ```ts { path: 'hello', component: 'hello-world-view', action: async () => { await import('./typescript/hello-world-view'); }, }, ``` and you have a...
If you try to run a Chrome test on Gitpod, you get ``` org.openqa.selenium.WebDriverException: unknown error: Chrome failed to start: crashed. (unknown error: DevToolsActivePort file doesn't exist) (The process started...
If you accidentally put e.g. a text file as a reference image, your test fails with ``` java.lang.NullPointerException: Cannot invoke "java.awt.image.BufferedImage.getWidth()" because "image1" is null at com.vaadin.testbench.screenshot.ImageUtil.imagesSameSize(ImageUtil.java:96) at com.vaadin.testbench.screenshot.ImageComparison.createParameters(ImageComparison.java:590) at...
Running ``` @Test public void sizeTest() throws IOException { testBench().resizeViewPortTo(1550, 850); testBench().compareScreen("hello"); } ``` on Saucelabs with various browser versions produces ``` error-screenshots/hello_mac_Safari_13.png: PNG image data, 1550 x 850, 8-bit/color...
This is how Flow does it https://github.com/vaadin/flow/blob/master/flow-test-util/src/main/java/com/vaadin/flow/testutil/ChromeBrowserTest.java#L68 Seems like a reasonable default to avoid having to manunally set/reset headless mode Note that this mostly/only makes sense when running locally and...