Re: [Dev] Enterprise Store - UI test failures
Hi Krishantha, We have fixed most of the issues, but several of them are still in progress. /Ruchira On Thu, May 21, 2015 at 11:25 AM, Krishantha Samaraweera krishan...@wso2.com wrote: Ping ! Thanks, Krishantha On Tue, May 19, 2015 at 7:37 PM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi all, Have we fixed all failures ? or introduce new tests ? Thanks, Krishantha. On Wed, Apr 29, 2015 at 8:58 AM, Ayesha Dissanayaka aye...@wso2.com wrote: Hi all, I was able to fix one test class[1] in this[2] commit. Hope this would be helpful in order to fix other test failures. Best approach would be to debug test classes one at a time to locate the UI element mismatches. [1] https://github.com/wso2/product-es/blob/e6a6a2b2891f0d436294320436caa09ed9ffae23/modules/integration/tests-ui-integration/tests-ui/src/test/java/org/wso2/es/ui/integration/test/publisher/ESPublisherAddEditAssetTestCase.java [2] https://github.com/wso2/product-es/commit/e6a6a2b2891f0d436294320436caa09ed9ffae23 Thanks! -Ayesha On Tue, Apr 28, 2015 at 12:46 AM, Rajeenthini Satkunam rajeenth...@wso2.com wrote: Hi, Noted,I will look into this links and I will discuss with team if I need further helps on this. On Tue, Apr 28, 2015 at 7:52 AM, Ayesha Dissanayaka aye...@wso2.com wrote: Hi all, I think the reason for this test failures should be the recent UI changes in ES. The mentioned UI tests were written on top of previous ES UIs and I don't think we have re-written them on top of new UI. Hope the team has already started working on this. Almost all the tests are failing due to unavailability of UI elements, which is expected due to the change in UI. So, I think the best way to fix this would be to re-generate the tests using selenium record and playback, rather than someone going through line by line to map previous UI elements to new ones. We already have the templates for ES publisher and Store UI test generation. And the initial idea of having Selenium UI Test Generation for ES is exactly to address this kind of scenarios without much of a trouble. @Rajeenthini, since you are working on this, below e-mail threads and links would be helpful for you. Let me know if you need further help on this. [1] [Dev][ES] Selenium UI Integration Test Generation [2] [ES- Integration Test] Custom WebDriver Class for UI test Automation [3] http://techspace-ps.blogspot.com/2015/01/selenium-ide-template-for-testng.html [4] http://asadistechspace.blogspot.com/2014/12/customize-selenium-code-jeneration.html#.VT7oGzlO0c0 Thanks! -Ayesha On Tue, Apr 21, 2015 at 6:01 AM, Udara Rathnayake uda...@wso2.com wrote: Hi Krishantha, We are looking into this. Regards, UdaraR On Mon, Apr 20, 2015 at 5:12 PM, Krishantha Samaraweera krishan...@wso2.com wrote: More test failures in tests-ui module. Failed tests: testESPublishToStore(org.wso2.es.ui.integration.test.common.ESPublishToStore): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) setUp(org.wso2.es.ui.integration.test.notifications.ESPublisherNotificationTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) tearDown(org.wso2.es.ui.integration.test.notifications.ESPublisherNotificationTestCase) testAddAsset(org.wso2.es.ui.integration.test.publisher.ESPublisherTenantAddEditAssetTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) testAddAsset(org.wso2.es.ui.integration.test.publisher.ESPublisherTenantAddEditAssetTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) testSubscriptionCreation(org.wso2.es.ui.integration.test.notifications.ESPublisherSubscriptionTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) testSubscriptionCreation(org.wso2.es.ui.integration.test.notifications.ESPublisherSubscriptionTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) setUp(org.wso2.es.ui.integration.test.notifications.ESPublisherTenantNotificationTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) setUp(org.wso2.es.ui.integration.test.store.ESStoreAnonCategorySortingTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) tearDown(org.wso2.es.ui.integration.test.notifications.ESPublisherTenantNotificationTestCase) testAnonHomePage(org.wso2.es.ui.integration.test.store.ESStoreAnonHomePageTestCase): Timed out after 30 seconds waiting for presence of element located by: By.selector: div.span3.store-right div.row div.span3(..) testAnonNavigationLinks(org.wso2.es.ui.integration.test.store.ESStoreAnonHomePageTestCase): Recent Gadgets link not working expected
Re: [Dev] Enterprise Store - UI test failures
Ping ! Thanks, Krishantha On Tue, May 19, 2015 at 7:37 PM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi all, Have we fixed all failures ? or introduce new tests ? Thanks, Krishantha. On Wed, Apr 29, 2015 at 8:58 AM, Ayesha Dissanayaka aye...@wso2.com wrote: Hi all, I was able to fix one test class[1] in this[2] commit. Hope this would be helpful in order to fix other test failures. Best approach would be to debug test classes one at a time to locate the UI element mismatches. [1] https://github.com/wso2/product-es/blob/e6a6a2b2891f0d436294320436caa09ed9ffae23/modules/integration/tests-ui-integration/tests-ui/src/test/java/org/wso2/es/ui/integration/test/publisher/ESPublisherAddEditAssetTestCase.java [2] https://github.com/wso2/product-es/commit/e6a6a2b2891f0d436294320436caa09ed9ffae23 Thanks! -Ayesha On Tue, Apr 28, 2015 at 12:46 AM, Rajeenthini Satkunam rajeenth...@wso2.com wrote: Hi, Noted,I will look into this links and I will discuss with team if I need further helps on this. On Tue, Apr 28, 2015 at 7:52 AM, Ayesha Dissanayaka aye...@wso2.com wrote: Hi all, I think the reason for this test failures should be the recent UI changes in ES. The mentioned UI tests were written on top of previous ES UIs and I don't think we have re-written them on top of new UI. Hope the team has already started working on this. Almost all the tests are failing due to unavailability of UI elements, which is expected due to the change in UI. So, I think the best way to fix this would be to re-generate the tests using selenium record and playback, rather than someone going through line by line to map previous UI elements to new ones. We already have the templates for ES publisher and Store UI test generation. And the initial idea of having Selenium UI Test Generation for ES is exactly to address this kind of scenarios without much of a trouble. @Rajeenthini, since you are working on this, below e-mail threads and links would be helpful for you. Let me know if you need further help on this. [1] [Dev][ES] Selenium UI Integration Test Generation [2] [ES- Integration Test] Custom WebDriver Class for UI test Automation [3] http://techspace-ps.blogspot.com/2015/01/selenium-ide-template-for-testng.html [4] http://asadistechspace.blogspot.com/2014/12/customize-selenium-code-jeneration.html#.VT7oGzlO0c0 Thanks! -Ayesha On Tue, Apr 21, 2015 at 6:01 AM, Udara Rathnayake uda...@wso2.com wrote: Hi Krishantha, We are looking into this. Regards, UdaraR On Mon, Apr 20, 2015 at 5:12 PM, Krishantha Samaraweera krishan...@wso2.com wrote: More test failures in tests-ui module. Failed tests: testESPublishToStore(org.wso2.es.ui.integration.test.common.ESPublishToStore): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) setUp(org.wso2.es.ui.integration.test.notifications.ESPublisherNotificationTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) tearDown(org.wso2.es.ui.integration.test.notifications.ESPublisherNotificationTestCase) testAddAsset(org.wso2.es.ui.integration.test.publisher.ESPublisherTenantAddEditAssetTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) testAddAsset(org.wso2.es.ui.integration.test.publisher.ESPublisherTenantAddEditAssetTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) testSubscriptionCreation(org.wso2.es.ui.integration.test.notifications.ESPublisherSubscriptionTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) testSubscriptionCreation(org.wso2.es.ui.integration.test.notifications.ESPublisherSubscriptionTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) setUp(org.wso2.es.ui.integration.test.notifications.ESPublisherTenantNotificationTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) setUp(org.wso2.es.ui.integration.test.store.ESStoreAnonCategorySortingTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) tearDown(org.wso2.es.ui.integration.test.notifications.ESPublisherTenantNotificationTestCase) testAnonHomePage(org.wso2.es.ui.integration.test.store.ESStoreAnonHomePageTestCase): Timed out after 30 seconds waiting for presence of element located by: By.selector: div.span3.store-right div.row div.span3(..) testAnonNavigationLinks(org.wso2.es.ui.integration.test.store.ESStoreAnonHomePageTestCase): Recent Gadgets link not working expected [Stacked Line Chart] but found [Line Chart] testSubscriptionCreation(org.wso2.es.ui.integration.test.notifications.ESPublisherTenantSubscriptionTestCase): Timed out after 30 seconds waiting for
Re: [Dev] Enterprise Store - UI test failures
Hi all, Have we fixed all failures ? or introduce new tests ? Thanks, Krishantha. On Wed, Apr 29, 2015 at 8:58 AM, Ayesha Dissanayaka aye...@wso2.com wrote: Hi all, I was able to fix one test class[1] in this[2] commit. Hope this would be helpful in order to fix other test failures. Best approach would be to debug test classes one at a time to locate the UI element mismatches. [1] https://github.com/wso2/product-es/blob/e6a6a2b2891f0d436294320436caa09ed9ffae23/modules/integration/tests-ui-integration/tests-ui/src/test/java/org/wso2/es/ui/integration/test/publisher/ESPublisherAddEditAssetTestCase.java [2] https://github.com/wso2/product-es/commit/e6a6a2b2891f0d436294320436caa09ed9ffae23 Thanks! -Ayesha On Tue, Apr 28, 2015 at 12:46 AM, Rajeenthini Satkunam rajeenth...@wso2.com wrote: Hi, Noted,I will look into this links and I will discuss with team if I need further helps on this. On Tue, Apr 28, 2015 at 7:52 AM, Ayesha Dissanayaka aye...@wso2.com wrote: Hi all, I think the reason for this test failures should be the recent UI changes in ES. The mentioned UI tests were written on top of previous ES UIs and I don't think we have re-written them on top of new UI. Hope the team has already started working on this. Almost all the tests are failing due to unavailability of UI elements, which is expected due to the change in UI. So, I think the best way to fix this would be to re-generate the tests using selenium record and playback, rather than someone going through line by line to map previous UI elements to new ones. We already have the templates for ES publisher and Store UI test generation. And the initial idea of having Selenium UI Test Generation for ES is exactly to address this kind of scenarios without much of a trouble. @Rajeenthini, since you are working on this, below e-mail threads and links would be helpful for you. Let me know if you need further help on this. [1] [Dev][ES] Selenium UI Integration Test Generation [2] [ES- Integration Test] Custom WebDriver Class for UI test Automation [3] http://techspace-ps.blogspot.com/2015/01/selenium-ide-template-for-testng.html [4] http://asadistechspace.blogspot.com/2014/12/customize-selenium-code-jeneration.html#.VT7oGzlO0c0 Thanks! -Ayesha On Tue, Apr 21, 2015 at 6:01 AM, Udara Rathnayake uda...@wso2.com wrote: Hi Krishantha, We are looking into this. Regards, UdaraR On Mon, Apr 20, 2015 at 5:12 PM, Krishantha Samaraweera krishan...@wso2.com wrote: More test failures in tests-ui module. Failed tests: testESPublishToStore(org.wso2.es.ui.integration.test.common.ESPublishToStore): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) setUp(org.wso2.es.ui.integration.test.notifications.ESPublisherNotificationTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) tearDown(org.wso2.es.ui.integration.test.notifications.ESPublisherNotificationTestCase) testAddAsset(org.wso2.es.ui.integration.test.publisher.ESPublisherTenantAddEditAssetTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) testAddAsset(org.wso2.es.ui.integration.test.publisher.ESPublisherTenantAddEditAssetTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) testSubscriptionCreation(org.wso2.es.ui.integration.test.notifications.ESPublisherSubscriptionTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) testSubscriptionCreation(org.wso2.es.ui.integration.test.notifications.ESPublisherSubscriptionTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) setUp(org.wso2.es.ui.integration.test.notifications.ESPublisherTenantNotificationTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) setUp(org.wso2.es.ui.integration.test.store.ESStoreAnonCategorySortingTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) tearDown(org.wso2.es.ui.integration.test.notifications.ESPublisherTenantNotificationTestCase) testAnonHomePage(org.wso2.es.ui.integration.test.store.ESStoreAnonHomePageTestCase): Timed out after 30 seconds waiting for presence of element located by: By.selector: div.span3.store-right div.row div.span3(..) testAnonNavigationLinks(org.wso2.es.ui.integration.test.store.ESStoreAnonHomePageTestCase): Recent Gadgets link not working expected [Stacked Line Chart] but found [Line Chart] testSubscriptionCreation(org.wso2.es.ui.integration.test.notifications.ESPublisherTenantSubscriptionTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..)
Re: [Dev] Enterprise Store - UI test failures
Hi all, I was able to fix one test class[1] in this[2] commit. Hope this would be helpful in order to fix other test failures. Best approach would be to debug test classes one at a time to locate the UI element mismatches. [1] https://github.com/wso2/product-es/blob/e6a6a2b2891f0d436294320436caa09ed9ffae23/modules/integration/tests-ui-integration/tests-ui/src/test/java/org/wso2/es/ui/integration/test/publisher/ESPublisherAddEditAssetTestCase.java [2] https://github.com/wso2/product-es/commit/e6a6a2b2891f0d436294320436caa09ed9ffae23 Thanks! -Ayesha On Tue, Apr 28, 2015 at 12:46 AM, Rajeenthini Satkunam rajeenth...@wso2.com wrote: Hi, Noted,I will look into this links and I will discuss with team if I need further helps on this. On Tue, Apr 28, 2015 at 7:52 AM, Ayesha Dissanayaka aye...@wso2.com wrote: Hi all, I think the reason for this test failures should be the recent UI changes in ES. The mentioned UI tests were written on top of previous ES UIs and I don't think we have re-written them on top of new UI. Hope the team has already started working on this. Almost all the tests are failing due to unavailability of UI elements, which is expected due to the change in UI. So, I think the best way to fix this would be to re-generate the tests using selenium record and playback, rather than someone going through line by line to map previous UI elements to new ones. We already have the templates for ES publisher and Store UI test generation. And the initial idea of having Selenium UI Test Generation for ES is exactly to address this kind of scenarios without much of a trouble. @Rajeenthini, since you are working on this, below e-mail threads and links would be helpful for you. Let me know if you need further help on this. [1] [Dev][ES] Selenium UI Integration Test Generation [2] [ES- Integration Test] Custom WebDriver Class for UI test Automation [3] http://techspace-ps.blogspot.com/2015/01/selenium-ide-template-for-testng.html [4] http://asadistechspace.blogspot.com/2014/12/customize-selenium-code-jeneration.html#.VT7oGzlO0c0 Thanks! -Ayesha On Tue, Apr 21, 2015 at 6:01 AM, Udara Rathnayake uda...@wso2.com wrote: Hi Krishantha, We are looking into this. Regards, UdaraR On Mon, Apr 20, 2015 at 5:12 PM, Krishantha Samaraweera krishan...@wso2.com wrote: More test failures in tests-ui module. Failed tests: testESPublishToStore(org.wso2.es.ui.integration.test.common.ESPublishToStore): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) setUp(org.wso2.es.ui.integration.test.notifications.ESPublisherNotificationTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) tearDown(org.wso2.es.ui.integration.test.notifications.ESPublisherNotificationTestCase) testAddAsset(org.wso2.es.ui.integration.test.publisher.ESPublisherTenantAddEditAssetTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) testAddAsset(org.wso2.es.ui.integration.test.publisher.ESPublisherTenantAddEditAssetTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) testSubscriptionCreation(org.wso2.es.ui.integration.test.notifications.ESPublisherSubscriptionTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) testSubscriptionCreation(org.wso2.es.ui.integration.test.notifications.ESPublisherSubscriptionTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) setUp(org.wso2.es.ui.integration.test.notifications.ESPublisherTenantNotificationTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) setUp(org.wso2.es.ui.integration.test.store.ESStoreAnonCategorySortingTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) tearDown(org.wso2.es.ui.integration.test.notifications.ESPublisherTenantNotificationTestCase) testAnonHomePage(org.wso2.es.ui.integration.test.store.ESStoreAnonHomePageTestCase): Timed out after 30 seconds waiting for presence of element located by: By.selector: div.span3.store-right div.row div.span3(..) testAnonNavigationLinks(org.wso2.es.ui.integration.test.store.ESStoreAnonHomePageTestCase): Recent Gadgets link not working expected [Stacked Line Chart] but found [Line Chart] testSubscriptionCreation(org.wso2.es.ui.integration.test.notifications.ESPublisherTenantSubscriptionTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) testSubscriptionCreation(org.wso2.es.ui.integration.test.notifications.ESPublisherTenantSubscriptionTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..)
Re: [Dev] Enterprise Store - UI test failures
Hi, Noted,I will look into this links and I will discuss with team if I need further helps on this. On Tue, Apr 28, 2015 at 7:52 AM, Ayesha Dissanayaka aye...@wso2.com wrote: Hi all, I think the reason for this test failures should be the recent UI changes in ES. The mentioned UI tests were written on top of previous ES UIs and I don't think we have re-written them on top of new UI. Hope the team has already started working on this. Almost all the tests are failing due to unavailability of UI elements, which is expected due to the change in UI. So, I think the best way to fix this would be to re-generate the tests using selenium record and playback, rather than someone going through line by line to map previous UI elements to new ones. We already have the templates for ES publisher and Store UI test generation. And the initial idea of having Selenium UI Test Generation for ES is exactly to address this kind of scenarios without much of a trouble. @Rajeenthini, since you are working on this, below e-mail threads and links would be helpful for you. Let me know if you need further help on this. [1] [Dev][ES] Selenium UI Integration Test Generation [2] [ES- Integration Test] Custom WebDriver Class for UI test Automation [3] http://techspace-ps.blogspot.com/2015/01/selenium-ide-template-for-testng.html [4] http://asadistechspace.blogspot.com/2014/12/customize-selenium-code-jeneration.html#.VT7oGzlO0c0 Thanks! -Ayesha On Tue, Apr 21, 2015 at 6:01 AM, Udara Rathnayake uda...@wso2.com wrote: Hi Krishantha, We are looking into this. Regards, UdaraR On Mon, Apr 20, 2015 at 5:12 PM, Krishantha Samaraweera krishan...@wso2.com wrote: More test failures in tests-ui module. Failed tests: testESPublishToStore(org.wso2.es.ui.integration.test.common.ESPublishToStore): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) setUp(org.wso2.es.ui.integration.test.notifications.ESPublisherNotificationTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) tearDown(org.wso2.es.ui.integration.test.notifications.ESPublisherNotificationTestCase) testAddAsset(org.wso2.es.ui.integration.test.publisher.ESPublisherTenantAddEditAssetTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) testAddAsset(org.wso2.es.ui.integration.test.publisher.ESPublisherTenantAddEditAssetTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) testSubscriptionCreation(org.wso2.es.ui.integration.test.notifications.ESPublisherSubscriptionTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) testSubscriptionCreation(org.wso2.es.ui.integration.test.notifications.ESPublisherSubscriptionTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) setUp(org.wso2.es.ui.integration.test.notifications.ESPublisherTenantNotificationTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) setUp(org.wso2.es.ui.integration.test.store.ESStoreAnonCategorySortingTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) tearDown(org.wso2.es.ui.integration.test.notifications.ESPublisherTenantNotificationTestCase) testAnonHomePage(org.wso2.es.ui.integration.test.store.ESStoreAnonHomePageTestCase): Timed out after 30 seconds waiting for presence of element located by: By.selector: div.span3.store-right div.row div.span3(..) testAnonNavigationLinks(org.wso2.es.ui.integration.test.store.ESStoreAnonHomePageTestCase): Recent Gadgets link not working expected [Stacked Line Chart] but found [Line Chart] testSubscriptionCreation(org.wso2.es.ui.integration.test.notifications.ESPublisherTenantSubscriptionTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) testSubscriptionCreation(org.wso2.es.ui.integration.test.notifications.ESPublisherTenantSubscriptionTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) testAnonHomePage(org.wso2.es.ui.integration.test.store.ESStoreAnonSuperTenantHomePageTestCase): Timed out after 30 seconds waiting for presence of element located by: By.selector: div.span3.store-right div.row div.span3(..) testAnonNavigationLinks(org.wso2.es.ui.integration.test.store.ESStoreAnonSuperTenantHomePageTestCase): Recent Gadgets link not working expected [Stacked Line Chart] but found [Line Chart] testAddAsset(org.wso2.es.ui.integration.test.publisher.ESPublisherAddEditAssetTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..)
Re: [Dev] Enterprise Store - UI test failures
Hi all, I think the reason for this test failures should be the recent UI changes in ES. The mentioned UI tests were written on top of previous ES UIs and I don't think we have re-written them on top of new UI. Hope the team has already started working on this. Almost all the tests are failing due to unavailability of UI elements, which is expected due to the change in UI. So, I think the best way to fix this would be to re-generate the tests using selenium record and playback, rather than someone going through line by line to map previous UI elements to new ones. We already have the templates for ES publisher and Store UI test generation. And the initial idea of having Selenium UI Test Generation for ES is exactly to address this kind of scenarios without much of a trouble. @Rajeenthini, since you are working on this, below e-mail threads and links would be helpful for you. Let me know if you need further help on this. [1] [Dev][ES] Selenium UI Integration Test Generation [2] [ES- Integration Test] Custom WebDriver Class for UI test Automation [3] http://techspace-ps.blogspot.com/2015/01/selenium-ide-template-for-testng.html [4] http://asadistechspace.blogspot.com/2014/12/customize-selenium-code-jeneration.html#.VT7oGzlO0c0 Thanks! -Ayesha On Tue, Apr 21, 2015 at 6:01 AM, Udara Rathnayake uda...@wso2.com wrote: Hi Krishantha, We are looking into this. Regards, UdaraR On Mon, Apr 20, 2015 at 5:12 PM, Krishantha Samaraweera krishan...@wso2.com wrote: More test failures in tests-ui module. Failed tests: testESPublishToStore(org.wso2.es.ui.integration.test.common.ESPublishToStore): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) setUp(org.wso2.es.ui.integration.test.notifications.ESPublisherNotificationTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) tearDown(org.wso2.es.ui.integration.test.notifications.ESPublisherNotificationTestCase) testAddAsset(org.wso2.es.ui.integration.test.publisher.ESPublisherTenantAddEditAssetTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) testAddAsset(org.wso2.es.ui.integration.test.publisher.ESPublisherTenantAddEditAssetTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) testSubscriptionCreation(org.wso2.es.ui.integration.test.notifications.ESPublisherSubscriptionTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) testSubscriptionCreation(org.wso2.es.ui.integration.test.notifications.ESPublisherSubscriptionTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) setUp(org.wso2.es.ui.integration.test.notifications.ESPublisherTenantNotificationTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) setUp(org.wso2.es.ui.integration.test.store.ESStoreAnonCategorySortingTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) tearDown(org.wso2.es.ui.integration.test.notifications.ESPublisherTenantNotificationTestCase) testAnonHomePage(org.wso2.es.ui.integration.test.store.ESStoreAnonHomePageTestCase): Timed out after 30 seconds waiting for presence of element located by: By.selector: div.span3.store-right div.row div.span3(..) testAnonNavigationLinks(org.wso2.es.ui.integration.test.store.ESStoreAnonHomePageTestCase): Recent Gadgets link not working expected [Stacked Line Chart] but found [Line Chart] testSubscriptionCreation(org.wso2.es.ui.integration.test.notifications.ESPublisherTenantSubscriptionTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) testSubscriptionCreation(org.wso2.es.ui.integration.test.notifications.ESPublisherTenantSubscriptionTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) testAnonHomePage(org.wso2.es.ui.integration.test.store.ESStoreAnonSuperTenantHomePageTestCase): Timed out after 30 seconds waiting for presence of element located by: By.selector: div.span3.store-right div.row div.span3(..) testAnonNavigationLinks(org.wso2.es.ui.integration.test.store.ESStoreAnonSuperTenantHomePageTestCase): Recent Gadgets link not working expected [Stacked Line Chart] but found [Line Chart] testAddAsset(org.wso2.es.ui.integration.test.publisher.ESPublisherAddEditAssetTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) testAddAsset(org.wso2.es.ui.integration.test.publisher.ESPublisherAddEditAssetTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..)
Re: [Dev] Enterprise Store - UI test failures
Hi Krishantha, We are looking into this. Regards, UdaraR On Mon, Apr 20, 2015 at 5:12 PM, Krishantha Samaraweera krishan...@wso2.com wrote: More test failures in tests-ui module. Failed tests: testESPublishToStore(org.wso2.es.ui.integration.test.common.ESPublishToStore): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) setUp(org.wso2.es.ui.integration.test.notifications.ESPublisherNotificationTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) tearDown(org.wso2.es.ui.integration.test.notifications.ESPublisherNotificationTestCase) testAddAsset(org.wso2.es.ui.integration.test.publisher.ESPublisherTenantAddEditAssetTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) testAddAsset(org.wso2.es.ui.integration.test.publisher.ESPublisherTenantAddEditAssetTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) testSubscriptionCreation(org.wso2.es.ui.integration.test.notifications.ESPublisherSubscriptionTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) testSubscriptionCreation(org.wso2.es.ui.integration.test.notifications.ESPublisherSubscriptionTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) setUp(org.wso2.es.ui.integration.test.notifications.ESPublisherTenantNotificationTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) setUp(org.wso2.es.ui.integration.test.store.ESStoreAnonCategorySortingTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) tearDown(org.wso2.es.ui.integration.test.notifications.ESPublisherTenantNotificationTestCase) testAnonHomePage(org.wso2.es.ui.integration.test.store.ESStoreAnonHomePageTestCase): Timed out after 30 seconds waiting for presence of element located by: By.selector: div.span3.store-right div.row div.span3(..) testAnonNavigationLinks(org.wso2.es.ui.integration.test.store.ESStoreAnonHomePageTestCase): Recent Gadgets link not working expected [Stacked Line Chart] but found [Line Chart] testSubscriptionCreation(org.wso2.es.ui.integration.test.notifications.ESPublisherTenantSubscriptionTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) testSubscriptionCreation(org.wso2.es.ui.integration.test.notifications.ESPublisherTenantSubscriptionTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) testAnonHomePage(org.wso2.es.ui.integration.test.store.ESStoreAnonSuperTenantHomePageTestCase): Timed out after 30 seconds waiting for presence of element located by: By.selector: div.span3.store-right div.row div.span3(..) testAnonNavigationLinks(org.wso2.es.ui.integration.test.store.ESStoreAnonSuperTenantHomePageTestCase): Recent Gadgets link not working expected [Stacked Line Chart] but found [Line Chart] testAddAsset(org.wso2.es.ui.integration.test.publisher.ESPublisherAddEditAssetTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) testAddAsset(org.wso2.es.ui.integration.test.publisher.ESPublisherAddEditAssetTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) testESStoreBookmarkTestCase(org.wso2.es.ui.integration.test.store.ESStoreBookmarkTestCase): Timed out after 30 seconds waiting for text ('Bookmarked') to be present in element found by By.id: btn-add-gadget(..) setUp(org.wso2.es.ui.integration.test.publisher.ESPublisherLCTransitionTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) tearDown(org.wso2.es.ui.integration.test.publisher.ESPublisherLCTransitionTestCase) testLoggedInHomePage(org.wso2.es.ui.integration.test.store.ESStoreCarbonSuperUserTUHomePageTestCase): Timed out after 30 seconds waiting for presence of element located by: By.selector: div.span3.store-right div.row div.span3(..) testLoggedInNavigationLinks(org.wso2.es.ui.integration.test.store.ESStoreCarbonSuperUserTUHomePageTestCase): Recent Gadgets link not working expected [Stacked Line Chart] but found [Line Chart] testGadgetPage(org.wso2.es.ui.integration.test.store.ESStoreGadgetPageTestCase): Timed out after 30 seconds waiting for presence of element located by: By.xpath: //a[contains(text(),'Line Plus Bar Chart')](..) testAddAsset(org.wso2.es.ui.integration.test.store.ESStoreSearchGadgetListTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) Tests run: 88, Failures: 25, Errors: 0, Skipped: 31 Thanks, Krishantha. On Mon, Apr
Re: [Dev] Enterprise Store - UI test failures
More test failures in tests-ui module. Failed tests: testESPublishToStore(org.wso2.es.ui.integration.test.common.ESPublishToStore): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) setUp(org.wso2.es.ui.integration.test.notifications.ESPublisherNotificationTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) tearDown(org.wso2.es.ui.integration.test.notifications.ESPublisherNotificationTestCase) testAddAsset(org.wso2.es.ui.integration.test.publisher.ESPublisherTenantAddEditAssetTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) testAddAsset(org.wso2.es.ui.integration.test.publisher.ESPublisherTenantAddEditAssetTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) testSubscriptionCreation(org.wso2.es.ui.integration.test.notifications.ESPublisherSubscriptionTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) testSubscriptionCreation(org.wso2.es.ui.integration.test.notifications.ESPublisherSubscriptionTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) setUp(org.wso2.es.ui.integration.test.notifications.ESPublisherTenantNotificationTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) setUp(org.wso2.es.ui.integration.test.store.ESStoreAnonCategorySortingTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) tearDown(org.wso2.es.ui.integration.test.notifications.ESPublisherTenantNotificationTestCase) testAnonHomePage(org.wso2.es.ui.integration.test.store.ESStoreAnonHomePageTestCase): Timed out after 30 seconds waiting for presence of element located by: By.selector: div.span3.store-right div.row div.span3(..) testAnonNavigationLinks(org.wso2.es.ui.integration.test.store.ESStoreAnonHomePageTestCase): Recent Gadgets link not working expected [Stacked Line Chart] but found [Line Chart] testSubscriptionCreation(org.wso2.es.ui.integration.test.notifications.ESPublisherTenantSubscriptionTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) testSubscriptionCreation(org.wso2.es.ui.integration.test.notifications.ESPublisherTenantSubscriptionTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) testAnonHomePage(org.wso2.es.ui.integration.test.store.ESStoreAnonSuperTenantHomePageTestCase): Timed out after 30 seconds waiting for presence of element located by: By.selector: div.span3.store-right div.row div.span3(..) testAnonNavigationLinks(org.wso2.es.ui.integration.test.store.ESStoreAnonSuperTenantHomePageTestCase): Recent Gadgets link not working expected [Stacked Line Chart] but found [Line Chart] testAddAsset(org.wso2.es.ui.integration.test.publisher.ESPublisherAddEditAssetTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) testAddAsset(org.wso2.es.ui.integration.test.publisher.ESPublisherAddEditAssetTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) testESStoreBookmarkTestCase(org.wso2.es.ui.integration.test.store.ESStoreBookmarkTestCase): Timed out after 30 seconds waiting for text ('Bookmarked') to be present in element found by By.id: btn-add-gadget(..) setUp(org.wso2.es.ui.integration.test.publisher.ESPublisherLCTransitionTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) tearDown(org.wso2.es.ui.integration.test.publisher.ESPublisherLCTransitionTestCase) testLoggedInHomePage(org.wso2.es.ui.integration.test.store.ESStoreCarbonSuperUserTUHomePageTestCase): Timed out after 30 seconds waiting for presence of element located by: By.selector: div.span3.store-right div.row div.span3(..) testLoggedInNavigationLinks(org.wso2.es.ui.integration.test.store.ESStoreCarbonSuperUserTUHomePageTestCase): Recent Gadgets link not working expected [Stacked Line Chart] but found [Line Chart] testGadgetPage(org.wso2.es.ui.integration.test.store.ESStoreGadgetPageTestCase): Timed out after 30 seconds waiting for presence of element located by: By.xpath: //a[contains(text(),'Line Plus Bar Chart')](..) testAddAsset(org.wso2.es.ui.integration.test.store.ESStoreSearchGadgetListTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add gadget(..) Tests run: 88, Failures: 25, Errors: 0, Skipped: 31 Thanks, Krishantha. On Mon, Apr 20, 2015 at 3:29 PM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi all, I see following UI failures in master branch. Please have a look. Failed tests:
[Dev] Enterprise Store - UI test failures
Hi all, I see following UI failures in master branch. Please have a look. Failed tests: testESPublisherAddedAssetTestCase(org.wso2.es.ui.integration.extension.test.publisher.ESPublisherAddedAssetTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Services(..) testESPublisherAssetCaramelPageTestCase(org.wso2.es.ui.integration.extension.test.publisher.ESPublisherAssetCaramelPageTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Overview(..) setUp(org.wso2.es.ui.integration.extension.test.publisher.ESPublisherAssetOverridePartialTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add servicex(..) setUp(org.wso2.es.ui.integration.extension.test.publisher.ESPublisherAssetOverrideRendererTestCase): Timed out after 30 seconds waiting for presence of element located by: By.linkText: Add servicex(..) *Tests run: 15, Failures: 4, Errors: 0, Skipped: 2* Thanks, Krishantha. -- Krishantha Samaraweera Senior Technical Lead - Test Automation Mobile: +94 77 7759918 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev