From 293472b1ce622ecfe75596e6f8c5b3c548fc503b Mon Sep 17 00:00:00 2001 From: Michael Suzuki Date: Tue, 7 Jul 2015 14:15:23 +0000 Subject: [PATCH] Remove webdrone dependency and replace with selenium-grid, which is Alfresco's webdriver factory git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107805 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- ...alfresco-benchmark-webdrone.log.2015-04-30 | 44 ------------------- rm-automation/pom.xml | 17 ++----- 2 files changed, 3 insertions(+), 58 deletions(-) delete mode 100644 rm-automation/alfresco-benchmark-webdrone.log.2015-04-30 diff --git a/rm-automation/alfresco-benchmark-webdrone.log.2015-04-30 b/rm-automation/alfresco-benchmark-webdrone.log.2015-04-30 deleted file mode 100644 index 54e39058ee..0000000000 --- a/rm-automation/alfresco-benchmark-webdrone.log.2015-04-30 +++ /dev/null @@ -1,44 +0,0 @@ -2015-04-30 14:40:15,317 ERROR [test.context.TestContextManager] [main] Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@22fa55b2] to prepare test instance [org.alfresco.test.integration.classify.ContentClassificationDialogTests@86be70a] -org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.alfresco.test.integration.classify.ContentClassificationDialogTests': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.alfresco.po.rm.dialog.DeleteConfirmationDialog org.alfresco.test.integration.classify.ContentClassificationDialogTests.deleteConfirmationDialog; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.alfresco.po.rm.dialog.DeleteConfirmationDialog] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} - at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:292) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1185) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireBeanProperties(AbstractAutowireCapableBeanFactory.java:384) - at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:110) - at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75) - at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:331) - at org.springframework.test.context.testng.AbstractTestNGSpringContextTests.springTestContextPrepareTestInstance(AbstractTestNGSpringContextTests.java:146) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:483) - at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84) - at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564) - at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213) - at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138) - at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:175) - at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:107) - at org.testng.TestRunner.privateRun(TestRunner.java:767) - at org.testng.TestRunner.run(TestRunner.java:617) - at org.testng.SuiteRunner.runTest(SuiteRunner.java:334) - at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329) - at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291) - at org.testng.SuiteRunner.run(SuiteRunner.java:240) - at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) - at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) - at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224) - at org.testng.TestNG.runSuitesLocally(TestNG.java:1149) - at org.testng.TestNG.run(TestNG.java:1057) - at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111) - at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204) - at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175) -Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.alfresco.po.rm.dialog.DeleteConfirmationDialog org.alfresco.test.integration.classify.ContentClassificationDialogTests.deleteConfirmationDialog; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.alfresco.po.rm.dialog.DeleteConfirmationDialog] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} - at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:508) - at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87) - at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289) - ... 30 more -Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.alfresco.po.rm.dialog.DeleteConfirmationDialog] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} - at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:1103) - at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:963) - at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:858) - at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:480) - ... 32 more diff --git a/rm-automation/pom.xml b/rm-automation/pom.xml index cb87ce806c..edf5fb1a05 100644 --- a/rm-automation/pom.xml +++ b/rm-automation/pom.xml @@ -64,19 +64,8 @@ org.alfresco - webdrone - 2.6.1 - - - org.seleniumhq.selenium - selenium-java - ${selenium.version} - - - org.seleniumhq.selenium - selenium-server - ${selenium.version} - test + selenium-grid + 1.1 org.springframework @@ -312,4 +301,4 @@ - \ No newline at end of file +