-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extract live reload ITs into separate test module #8324
Conversation
Live reload tests must never execute in parallel with other tests since they will trigger a reload in all open UIs, interfere with concurrently running tests. Having them in a separate test module makes them more isolated. Also test with non-root context.
…official feature anyway
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 12 of 12 files at r1.
Reviewable status: 1 unresolved discussion, 0 of 1 LGTMs obtained (waiting on @denis-anisimov)
flow-tests/test-live-reload/pom.xml, line 72 at r1 (raw file):
-->
Is it a typo ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 1 unresolved discussion, 0 of 1 LGTMs obtained (waiting on @denis-anisimov)
flow-tests/test-live-reload/pom.xml, line 72 at r1 (raw file):
Previously, denis-anisimov (Denis) wrote…
-->
Is it a typo ?
Absolutely , well spotted, thank you! Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 1 files at r2.
Reviewable status: complete! all discussions resolved, 1 of 1 LGTMs obtained
Live reload tests must never execute in parallel with other tests since they will trigger a reload in all open UIs, interfere with concurrently running tests. Having them in a separate test module makes them more isolated. Also test with non-root context.
* 'master' of github.com:vaadin/flow: (191 commits) Fix regression in @Push when running in client bootstrapping (#8435) Don't override initial value of hidden HTML Element attribute. (#8419) Cherry pick from 2.2 to master and fix postpone and forward with CCDM (#8342) (#8359) Moved init parameters to new class com.vaadin.flow.server.InitParameters (#8409) Update chrome version to 83 (#8417) Listen detach events on "listenOn" components in shortcut registration (#8391) Correct Javadocs for adding JS and Stylesheets programatically. (#8392) Close client app on change location (#8334) Close UI after refreshing the page in PreserveOnRefresh case and mark it (#8365) remove unused import fix: custom connect client breaks endpoints mapping Wait for intermediate page to load completely in @PreserveOnRefresh IT (#8338) Properly encoded URIs use %20 (#8271) Removed unnecessary private method (#8357) Extract live reload ITs into separate test module (#8324) fix: check for TypeVariable in the ExplicitNullableTypeChecker (#8316) Live reload show message on error (#8206) (#8304) Clarify message about blocking with the session locked (#8312) Url parameter template support. (#7608) Store vaadin hash to node_modules (#8282) ... # Conflicts: # .gitignore # flow-client/src/main/java/com/vaadin/client/ApplicationConnection.java # flow-client/src/main/resources/META-INF/resources/frontend/Flow.ts # flow-client/src/test/frontend/FlowTests.ts # flow-maven-plugin/src/main/java/com/vaadin/flow/plugin/maven/BuildFrontendMojo.java # flow-maven-plugin/src/main/java/com/vaadin/flow/plugin/maven/FlowModeAbstractMojo.java # flow-maven-plugin/src/main/java/com/vaadin/flow/plugin/maven/PrepareFrontendMojo.java # flow-maven-plugin/src/test/java/com/vaadin/flow/plugin/maven/BuildFrontendMojoTest.java # flow-maven-plugin/src/test/java/com/vaadin/flow/plugin/maven/PrepareFrontendMojoTest.java # flow-server/src/main/java/com/vaadin/flow/function/DeploymentConfiguration.java # flow-server/src/main/java/com/vaadin/flow/server/Constants.java # flow-server/src/main/java/com/vaadin/flow/server/DefaultDeploymentConfiguration.java # flow-server/src/main/java/com/vaadin/flow/server/DeploymentConfigurationFactory.java # flow-server/src/main/java/com/vaadin/flow/server/DevModeHandler.java # flow-server/src/main/java/com/vaadin/flow/server/connect/VaadinConnectController.java # flow-server/src/main/java/com/vaadin/flow/server/frontend/FrontendUtils.java # flow-server/src/main/java/com/vaadin/flow/server/frontend/NodeTasks.java # flow-server/src/main/java/com/vaadin/flow/server/frontend/NodeUpdater.java # flow-server/src/main/java/com/vaadin/flow/server/frontend/TaskGenerateTsConfig.java # flow-server/src/main/java/com/vaadin/flow/server/frontend/TaskRunNpmInstall.java # flow-server/src/main/java/com/vaadin/flow/server/frontend/VersionsJsonConverter.java # flow-server/src/main/java/com/vaadin/flow/server/startup/AbstractRouteRegistryInitializer.java # flow-server/src/main/java/com/vaadin/flow/server/startup/DevModeInitializer.java # flow-server/src/main/java/com/vaadin/flow/server/startup/ServletDeployer.java # flow-server/src/main/java/com/vaadin/flow/server/startup/VaadinAppShellInitializer.java # flow-server/src/main/java/com/vaadin/flow/shared/ApplicationConstants.java # flow-server/src/main/resources/pnpmfile.js # flow-server/src/main/resources/webpack.generated.js # flow-server/src/test/java/com/vaadin/flow/server/DefaultDeploymentConfigurationTest.java # flow-server/src/test/java/com/vaadin/flow/server/DeploymentConfigurationFactoryTest.java # flow-server/src/test/java/com/vaadin/flow/server/communication/WebComponentBootstrapHandlerTest.java # flow-server/src/test/java/com/vaadin/flow/server/connect/VaadinConnectControllerTest.java # flow-server/src/test/java/com/vaadin/flow/server/connect/rest/EndpointWithRestControllerTest.java # flow-server/src/test/java/com/vaadin/flow/server/frontend/FrontendUtilsTest.java # flow-server/src/test/java/com/vaadin/flow/server/frontend/TaskRunNpmInstallTest.java # flow-server/src/test/java/com/vaadin/flow/server/frontend/TaskRunPnpmInstallTest.java # flow-server/src/test/java/com/vaadin/flow/server/frontend/VersionsJsonConverterTest.java # flow-server/src/test/java/com/vaadin/flow/server/startup/AbstractRouteRegistryInitializerTest.java # flow-server/src/test/java/com/vaadin/flow/server/startup/DevModeInitializerTest.java # flow-server/src/test/java/com/vaadin/flow/server/startup/DevModeInitializerTestBase.java # flow-server/src/test/java/com/vaadin/flow/server/startup/VaadinAppShellInitializerTest.java # flow-server/src/test/resources/versions/no_vaadin_package.json # flow-server/src/test/resources/versions/package.json # flow-server/src/test/resources/versions/user_package.json # flow-server/src/test/resources/versions/user_versions.json # flow-server/src/test/resources/versions/versions.json # flow-test-util/src/main/java/com/vaadin/flow/testutil/AbstractTestBenchTest.java # flow-tests/pom.xml # flow-tests/test-npm-only-features/test-npm-performance-regression/src/test/java/com/vaadin/flow/testnpmonlyfeatures/performanceregression/StartupPerformanceIT.java # flow-tests/test-root-context/src/main/java/com/vaadin/flow/uitest/ui/PushWithPreserveOnRefreshView.java # flow-tests/test-root-context/src/main/java/com/vaadin/flow/uitest/ui/StreamResourceView.java # flow-tests/test-root-context/src/test/java/com/vaadin/flow/VerifyBrowserVersionIT.java # flow-tests/test-root-context/src/test/java/com/vaadin/flow/uitest/ui/NavigationTriggerIT.java # flow-tests/test-root-context/src/test/java/com/vaadin/flow/uitest/ui/PushWithPreserveOnRefreshIT.java # flow-tests/test-root-context/src/test/java/com/vaadin/flow/uitest/ui/RequestParametersIT.java # flow-tests/test-root-context/src/test/java/com/vaadin/flow/uitest/ui/RouterSessionExpirationIT.java # flow-tests/test-root-context/src/test/java/com/vaadin/flow/uitest/ui/StreamResourceIT.java # flow-tests/test-root-ui-context/src/main/java/com/vaadin/flow/uitest/servlet/ApplicationRunnerServlet.java # flow-tests/test-root-ui-context/src/test/java/com/vaadin/flow/uitest/ui/push/ReconnectLongPollingIT.java # flow-tests/test-router-custom-context/src/test/java/com/vaadin/flow/contexttest/ui/PushIT.java
* 'master' of github.com:vaadin/flow: (191 commits) Fix regression in @Push when running in client bootstrapping (#8435) Don't override initial value of hidden HTML Element attribute. (#8419) Cherry pick from 2.2 to master and fix postpone and forward with CCDM (#8342) (#8359) Moved init parameters to new class com.vaadin.flow.server.InitParameters (#8409) Update chrome version to 83 (#8417) Listen detach events on "listenOn" components in shortcut registration (#8391) Correct Javadocs for adding JS and Stylesheets programatically. (#8392) Close client app on change location (#8334) Close UI after refreshing the page in PreserveOnRefresh case and mark it (#8365) remove unused import fix: custom connect client breaks endpoints mapping Wait for intermediate page to load completely in @PreserveOnRefresh IT (#8338) Properly encoded URIs use %20 (#8271) Removed unnecessary private method (#8357) Extract live reload ITs into separate test module (#8324) fix: check for TypeVariable in the ExplicitNullableTypeChecker (#8316) Live reload show message on error (#8206) (#8304) Clarify message about blocking with the session locked (#8312) Url parameter template support. (#7608) Store vaadin hash to node_modules (#8282) ... # Conflicts: # .gitignore # flow-client/src/main/java/com/vaadin/client/ApplicationConnection.java # flow-client/src/main/resources/META-INF/resources/frontend/Flow.ts # flow-client/src/test/frontend/FlowTests.ts # flow-maven-plugin/src/main/java/com/vaadin/flow/plugin/maven/BuildFrontendMojo.java # flow-maven-plugin/src/main/java/com/vaadin/flow/plugin/maven/FlowModeAbstractMojo.java # flow-maven-plugin/src/main/java/com/vaadin/flow/plugin/maven/PrepareFrontendMojo.java # flow-maven-plugin/src/test/java/com/vaadin/flow/plugin/maven/BuildFrontendMojoTest.java # flow-maven-plugin/src/test/java/com/vaadin/flow/plugin/maven/PrepareFrontendMojoTest.java # flow-server/src/main/java/com/vaadin/flow/function/DeploymentConfiguration.java # flow-server/src/main/java/com/vaadin/flow/server/Constants.java # flow-server/src/main/java/com/vaadin/flow/server/DefaultDeploymentConfiguration.java # flow-server/src/main/java/com/vaadin/flow/server/DeploymentConfigurationFactory.java # flow-server/src/main/java/com/vaadin/flow/server/DevModeHandler.java # flow-server/src/main/java/com/vaadin/flow/server/connect/VaadinConnectController.java # flow-server/src/main/java/com/vaadin/flow/server/frontend/FrontendUtils.java # flow-server/src/main/java/com/vaadin/flow/server/frontend/NodeTasks.java # flow-server/src/main/java/com/vaadin/flow/server/frontend/NodeUpdater.java # flow-server/src/main/java/com/vaadin/flow/server/frontend/TaskGenerateTsConfig.java # flow-server/src/main/java/com/vaadin/flow/server/frontend/TaskRunNpmInstall.java # flow-server/src/main/java/com/vaadin/flow/server/frontend/VersionsJsonConverter.java # flow-server/src/main/java/com/vaadin/flow/server/startup/AbstractRouteRegistryInitializer.java # flow-server/src/main/java/com/vaadin/flow/server/startup/DevModeInitializer.java # flow-server/src/main/java/com/vaadin/flow/server/startup/ServletDeployer.java # flow-server/src/main/java/com/vaadin/flow/server/startup/VaadinAppShellInitializer.java # flow-server/src/main/java/com/vaadin/flow/shared/ApplicationConstants.java # flow-server/src/main/resources/pnpmfile.js # flow-server/src/main/resources/webpack.generated.js # flow-server/src/test/java/com/vaadin/flow/server/DefaultDeploymentConfigurationTest.java # flow-server/src/test/java/com/vaadin/flow/server/DeploymentConfigurationFactoryTest.java # flow-server/src/test/java/com/vaadin/flow/server/communication/WebComponentBootstrapHandlerTest.java # flow-server/src/test/java/com/vaadin/flow/server/connect/VaadinConnectControllerTest.java # flow-server/src/test/java/com/vaadin/flow/server/connect/rest/EndpointWithRestControllerTest.java # flow-server/src/test/java/com/vaadin/flow/server/frontend/FrontendUtilsTest.java # flow-server/src/test/java/com/vaadin/flow/server/frontend/TaskRunNpmInstallTest.java # flow-server/src/test/java/com/vaadin/flow/server/frontend/TaskRunPnpmInstallTest.java # flow-server/src/test/java/com/vaadin/flow/server/frontend/VersionsJsonConverterTest.java # flow-server/src/test/java/com/vaadin/flow/server/startup/AbstractRouteRegistryInitializerTest.java # flow-server/src/test/java/com/vaadin/flow/server/startup/DevModeInitializerTest.java # flow-server/src/test/java/com/vaadin/flow/server/startup/DevModeInitializerTestBase.java # flow-server/src/test/java/com/vaadin/flow/server/startup/VaadinAppShellInitializerTest.java # flow-server/src/test/resources/versions/no_vaadin_package.json # flow-server/src/test/resources/versions/package.json # flow-server/src/test/resources/versions/user_package.json # flow-server/src/test/resources/versions/user_versions.json # flow-server/src/test/resources/versions/versions.json # flow-test-util/src/main/java/com/vaadin/flow/testutil/AbstractTestBenchTest.java # flow-tests/pom.xml # flow-tests/test-npm-only-features/test-npm-performance-regression/src/test/java/com/vaadin/flow/testnpmonlyfeatures/performanceregression/StartupPerformanceIT.java # flow-tests/test-root-context/src/main/java/com/vaadin/flow/uitest/ui/PushWithPreserveOnRefreshView.java # flow-tests/test-root-context/src/main/java/com/vaadin/flow/uitest/ui/StreamResourceView.java # flow-tests/test-root-context/src/test/java/com/vaadin/flow/VerifyBrowserVersionIT.java # flow-tests/test-root-context/src/test/java/com/vaadin/flow/uitest/ui/NavigationTriggerIT.java # flow-tests/test-root-context/src/test/java/com/vaadin/flow/uitest/ui/PushWithPreserveOnRefreshIT.java # flow-tests/test-root-context/src/test/java/com/vaadin/flow/uitest/ui/RequestParametersIT.java # flow-tests/test-root-context/src/test/java/com/vaadin/flow/uitest/ui/RouterSessionExpirationIT.java # flow-tests/test-root-context/src/test/java/com/vaadin/flow/uitest/ui/StreamResourceIT.java # flow-tests/test-root-ui-context/src/main/java/com/vaadin/flow/uitest/servlet/ApplicationRunnerServlet.java # flow-tests/test-root-ui-context/src/test/java/com/vaadin/flow/uitest/ui/push/ReconnectLongPollingIT.java # flow-tests/test-router-custom-context/src/test/java/com/vaadin/flow/contexttest/ui/PushIT.java
Live reload tests must never execute in parallel with other tests since they will trigger a reload
in all open UIs, interfere with concurrently running tests. Having them in a separate test module
makes them more isolated. Also test with non-root context.
Fixes #8296 (and possibly #8310).
This change is