Skip to content

Instantly share code, notes, and snippets.

@vicnate5
Created September 25, 2015 16:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vicnate5/f933578f8d5a904aec52 to your computer and use it in GitHub Desktop.
Save vicnate5/f933578f8d5a904aec52 to your computer and use it in GitHub Desktop.
Element not found
========================================
POSHI master
PGCalendar#AddCalendarResource
test.url=http://localhost:9080
----------------------------------------
Choose Your Destiny:
(1) Run Test (r) Poshi Runner
(2) Run Mobile Test (v) Validate
(3) Pick New Test (p) Pull Request
(4) Format Source (s) Run Test Suite
(5) Set Test URL
(q)uit - go back
----------------------------------------
r
POSHI Runner test for master
importing run.xml
Enabling Poshi Runner
Picked up _JAVA_OPTIONS: -Dapple.awt.UIElement=true
Buildfile: /Users/vicnate5/Liferay/liferay-portal-master/build-test.xml
prepare-selenium:
[delete] Deleting: /Users/vicnate5/Liferay/liferay-portal-master/portal-web/test/test-portal-web-ext.properties
prepare-poshi-runner-properties:
[script] Loading file:/Users/vicnate5/Liferay/liferay-portal-master/portal-impl/classes/system.properties
[script] Loading file:/Users/vicnate5/Liferay/liferay-portal-master/portal-impl/classes/system.properties
[script] Loading file:/Users/vicnate5/Liferay/liferay-portal-master/portal-impl/classes/system.properties
[script] Loading file:/Users/vicnate5/Liferay/liferay-portal-master/portal-impl/classes/system.properties
prepare-selenium-app-server-properties:
prepare-selenium-browser-properties:
prepare-selenium-database-properties:
prepare-selenium-driver:
prepare-selenium-email-properties:
prepare-selenium-mobile-properties:
prepare-selenium-required-properties:
[script] Loading file:/Users/vicnate5/Liferay/liferay-portal-master/portal-impl/classes/system.properties
[script] Loading file:/Users/vicnate5/Liferay/liferay-portal-master/portal-impl/classes/system.properties
[script] Loading file:/Users/vicnate5/Liferay/liferay-portal-master/portal-impl/classes/system.properties
[script] Loading file:/Users/vicnate5/Liferay/liferay-portal-master/portal-impl/classes/system.properties
[script] Loading file:/Users/vicnate5/Liferay/liferay-portal-master/portal-impl/classes/system.properties
[script] Loading file:/Users/vicnate5/Liferay/liferay-portal-master/portal-impl/classes/system.properties
prepare-selenium-testcase-properties:
[script] Loading file:/Users/vicnate5/Liferay/liferay-portal-master/portal-impl/classes/system.properties
[script] Loading file:/Users/vicnate5/Liferay/liferay-portal-master/portal-impl/classes/system.properties
[script] Loading file:/Users/vicnate5/Liferay/liferay-portal-master/portal-impl/classes/system.properties
[script] Loading file:/Users/vicnate5/Liferay/liferay-portal-master/portal-impl/classes/system.properties
[script] Loading file:/Users/vicnate5/Liferay/liferay-portal-master/portal-impl/classes/system.properties
[script] Loading file:/Users/vicnate5/Liferay/liferay-portal-master/portal-impl/classes/system.properties
[script] Loading file:/Users/vicnate5/Liferay/liferay-portal-master/portal-impl/classes/system.properties
[script] Loading file:/Users/vicnate5/Liferay/liferay-portal-master/portal-impl/classes/system.properties
[script] Loading file:/Users/vicnate5/Liferay/liferay-portal-master/portal-impl/classes/system.properties
[script] Loading file:/Users/vicnate5/Liferay/liferay-portal-master/portal-impl/classes/system.properties
[script] Loading file:/Users/vicnate5/Liferay/liferay-portal-master/portal-impl/classes/system.properties
[script] Loading file:/Users/vicnate5/Liferay/liferay-portal-master/portal-impl/classes/system.properties
[script] Loading file:/Users/vicnate5/Liferay/liferay-portal-master/portal-impl/classes/system.properties
[script] Loading file:/Users/vicnate5/Liferay/liferay-portal-master/portal-impl/classes/system.properties
[script] Loading file:/Users/vicnate5/Liferay/liferay-portal-master/portal-impl/classes/system.properties
[script] Loading file:/Users/vicnate5/Liferay/liferay-portal-master/portal-impl/classes/system.properties
[script] Loading file:/Users/vicnate5/Liferay/liferay-portal-master/portal-impl/classes/system.properties
[script] Loading file:/Users/vicnate5/Liferay/liferay-portal-master/portal-impl/classes/system.properties
run-selenium-test:
prepare-mobile-device:
run-poshi-runner:
[exec] Picked up _JAVA_OPTIONS: -Dapple.awt.UIElement=true
[exec] Forced cache is enabled.
[exec] :cleanRunPoshi
[exec] :expandPoshiRunner UP-TO-DATE
[exec] Picked up _JAVA_OPTIONS: -Dapple.awt.UIElement=true
[exec] :runPoshi
[exec]
[exec] com.liferay.poshi.runner.PoshiRunner STANDARD_OUT
[exec] -- listing properties --
[exec] browser.type=firefox
[exec] company.id=1
[exec] component.names=extra-apps-content-targeting,extra-apps-known-issues,liferay-connected-services-fix-packs,liferay-connected-services-known-issues,liferay-connected-services-notifications,liferay-connected-services-project-administration,liferay-connected-services-subscriptions,liferay-connected-services-user-management,marketplace,marketplace-known-issues,marketplace-plugins-1-2-1-columns-layouttpl,marketplace-plugins-1-3-1-columns-layouttpl,marketplace-plugins-1-3-2-columns-layouttpl,marketplace-plugins-2-1-2-columns-layouttpl,marketplace-plugins-3-2-3-columns-layouttpl,marketplace-plugins-akismet-portlet,marketplace-plugins-antisamy-hook,marketplace-plugins-audit-hook,marketplace-plugins-audit-portlet,marketplace-plugins-calendar-portlet,marketplace-plugins-cas-web,marketplace-plugins-chat-portlet,marketplace-plugins-ddl-form-portlet,marketplace-plugins-default-web-content-hook,marketplace-plugins-documentum-hook,marketplace-plugins-drools-web,marketplace-plugins-ehcache-cluster-web,marketplace-plugins-email-to-mb-filter-hook,marketplace-plugins-flash-portlet,marketplace-plugins-google-adsense-portlet,marketplace-plugins-google-maps-portlet,marketplace-plugins-ip-geocoder-portlet,marketplace-plugins-jasperreports-web,marketplace-plugins-kaleo-designer-portlet,marketplace-plugins-kaleo-forms-portlet,marketplace-plugins-kaleo-web,marketplace-plugins-knowledge-base-portlet,marketplace-plugins-localization-ja-hook,marketplace-plugins-localization-zh-hook,marketplace-plugins-logos-reftagger-portlet,marketplace-plugins-mail-portlet,marketplace-plugins-marketplace-portlet,marketplace-plugins-mb-subscription-manager-portlet,marketplace-plugins-mongodb-hook,marketplace-plugins-my-subscriptions-portlet,marketplace-plugins-netvibes-widget-portlet,marketplace-plugins-notifications-portlet,marketplace-plugins-opensocial-portlet,marketplace-plugins-reports-portlet,marketplace-plugins-resources-importer-web,marketplace-plugins-saml-portlet,marketplace-plugins-scripting-executor-web,marketplace-plugins-server-manager-web,marketplace-plugins-sharepoint-hook,marketplace-plugins-social-bookmarks-hook,marketplace-plugins-social-networking-portlet,marketplace-plugins-stocks-portlet,marketplace-plugins-sync-web,marketplace-plugins-theme-loader-web,marketplace-plugins-twitter-portlet,marketplace-plugins-vimeo-portlet,marketplace-plugins-vldap-web,marketplace-plugins-weather-portlet,marketplace-plugins-web-form-portlet,marketplace-plugins-welcome-theme,marketplace-plugins-wiki-navigation-portlet,marketplace-plugins-wsrp-portlet,marketplace-plugins-wurfl-web,marketplace-plugins-wysiwyg-portlet,marketplace-plugins-youtube-portlet,marketplace-plugins-zoe-brochure-theme,marketplace-plugins-zoe-healthcare-theme,marketplace-plugins-zoe-political-theme,marketplace-plugins-zoe-resort-theme,marketplace-plugins-zoe-tech-theme,portal-acceptance,portal-apis,portal-application-standards,portal-application-standards-ee,portal-authentication,portal-authentication-ee,portal-breadcrumb,portal-business-productivity-ee,portal-calendar,portal-categories,portal-collaboration,portal-configuration,portal-core-infrastructure-portal-services,portal-deployment-hypersonic,portal-deployment-mysql,portal-document-management,portal-document-management-ee,portal-frameworks,portal-infrastructure,portal-integrations,portal-knowledge-base,portal-known-issues,portal-language,portal-legacy,portal-opensocial,portal-operations,portal-performance-and-fault-tolerance,portal-permissions,portal-personalization-and-customization,portal-plugins-osgi,portal-portal-services,portal-rss,portal-sample-portlet-plugins,portal-search,portal-security,portal-smoke,portal-social-networking,portal-staging,portal-tags,portal-test-plugins,portal-testing-infrastructure,portal-theme-development,portal-tools,portal-upgrades,portal-user-interface,portal-user-management-and-portal-configuration,portal-util-misc,portal-wcd,portal-wcm,portal-web-forms-and-data-lists,portal-workflow,portal-xsl,social-office-activities,social-office-administration,social-office-calendar,social-office-collaboration,social-office-communication,social-office-document-management,social-office-environment,social-office-known-issues,social-office-legacy,social-office-microblogs,social-office-notifications,social-office-search,social-office-upgrades,social-office-user-information,social-office-wcm,support-qa
[exec] logger.resources.url=https://rawgit.com/liferay/liferay-portal/3c0fb1a9353e6ea444d8160a3e0d1a07f58c6224/modules/test/poshi-runner/src/META-INF/resources
[exec] mobile.device.type=
[exec] output.dir.name=/Users/vicnate5/bundles/master-bundles/poshi
[exec] portal.url=http://localhost:9080
[exec] product.names=extra-apps,liferay-connected-services,marketplace,portal,social-office
[exec] save.screenshot=true
[exec] save.source=false
[exec] selenium.host=localhost
[exec] selenium.implementation=org.openqa.selenium.WebDriver
[exec] selenium.logger.enabled=false
[exec] selenium.port=14444
[exec] tcat.enabled=false
[exec] tear.down.before.test=false
[exec] test.assert.warning.exceptions=false
[exec] test.base.dir.name=/Users/vicnate5/Liferay/liferay-portal-master/portal-web/test/functional/com/liferay/portalweb/
[exec] test.case.available.property.names=app.server.bundles.size,captcha.max.challenges,cluster.enabled,cmis.repository.type,custom.properties,data.archive.type,database.jndi.enabled,database.minimal.enabled,databases.size,default.layout.template.id,hook.plugins.includes,ignore.errors,ignore.errors.delimiter,layouttpl.plugins.includes,legacy.plugin.includes,legacy.plugins.social.office.version,marketplace.staging.enabled,mobile.device.type,plugins.deployment.type,portal.acceptance,portal.version,portlet.plugins.includes,portlet.properties.calendar-portlet,portlet.properties.knowledge-base-portlet,portlet.properties.marketplace-portlet,portlet.properties.private-messaging-portlet,setup.wizard.enabled,skip.clean-app-server-deploy-dir,solr.enabled,test.assert.javascript.errors,testcase.url,testray.component.names,testray.main.component.name,testray.testcase.product.edition,timeout.explicit.wait,theme.plugins.includes,web.plugins.includes,web.xml.timeout
[exec] test.dependencies.dir.name=dependencies
[exec] test.name=PGCalendar#AddCalendarResource
[exec] test.run.locally=false
[exec] test.skip.tear.down=false
[exec] testing.class.method=true
[exec] theme.ids=classic,controlpanel
[exec] timeout.explicit.wait=60
[exec] timeout.implicit.wait=3
[exec] vm.host=vm-1
[exec]
[exec]
[exec] ###
[exec] ### PGCalendar#AddCalendarResource
[exec] ###
[exec]
[exec]
[exec] com.liferay.poshi.runner.PoshiRunner > test[PGCalendar#AddCalendarResource] STANDARD_OUT
[exec] Checking to see if Mobile Device is enabled...
[exec] Checking to see if TCat is enabled...
[exec] Navigate to Site Administration > Pages > Site Pages.
[exec]
[exec] BUILD FAILED: Element not found in the cache - perhaps the page has changed since it was looked up
[exec] Command duration or timeout: 3.06 seconds
[exec] For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html
[exec] Build info: version: '2.47.1', revision: 'unknown', time: '2015-07-30 11:02:44'
[exec] System info: host: 'Victors-MacBook-Pro.local', ip: '172.16.17.141', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.10.5', java.version: '1.7.0_79'
[exec] Session ID: 584c3dc0-a84b-a24f-a7b1-490f589d71ad
[exec] Driver info: org.openqa.selenium.firefox.FirefoxDriver
[exec] Capabilities [{platform=MAC, acceptSslCerts=true, javascriptEnabled=true, cssSelectorsEnabled=true, databaseEnabled=true, browserName=firefox, handlesAlerts=true, browserConnectionEnabled=true, nativeEvents=false, webStorageEnabled=true, rotatable=false, locationContextEnabled=true, applicationCacheEnabled=true, takesScreenshot=true, version=28.0}]
[exec] /Users/vicnate5/Liferay/liferay-portal-master/portal-web/test/functional/com/liferay/portalweb/macros/Page.macro[addPG]:84
[exec] /Users/vicnate5/Liferay/liferay-portal-master/portal-web/test/functional/com/liferay/portalweb/tests/enduser/calendar/pgcalendar/PGCalendar.testcase[set-up]:11
[exec]
d^C
Finished PGCalendar#AddCalendarResource
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment