karibu-testing
karibu-testing copied to clipboard
ErrorView not working on 2.1.5 version
I have an error view in my vaadin app which is supposed to be shown when user tries to open a view which doesn't exist. When I was on vaadin 23 and karibu-testing-v10-spring 1.3.24, I had a test running successfully in which I was navigating to a view which doesn't exist, and I was testing if it returns my ErrorView. Now I am on vaadin 24.3.10 and karibu-testing-v10-spring 2.1.5, the test is failing, it is returning the home (default) view. Why this test is failing on vaadin 24 karibu 2.1.5? The expected behaviour is it returns ErrorView.
Can you please provide a simple code which reproduces the issue?
@mvysny Here are 2 projects which has ErrorView functional (in both), one with vaadin 23, karibu 1.3.24 and another with vaadin 24 and karibu 2.1.5.
In vaadin 23 and karibu 1.3.24, the test is passing In vaadin 24 and karibu 2.1.5, the test is not passing (ErrorView is not getting rendered in test)
Functionality wise both are working as expected. flow-spring-examples-v24.zip flow-spring-examples-v23.zip
@mvysny will it be fixed in upcoming releases?
@mvysny any update?
Could be related to #161
Could be that you're using access checker and thus you're being hit by #161. #161 is fixed, closing this one as fixed as well. Please test with Karibu-Testing 2.1.7 and let me know whether it works.
Tried 2.1.7 and 2.1.8, it doesn't work