Hi,
I've tried the Selenium tests on trunk version of GateIn and almost all
the tests are failing due to the unreachable actions -> timeout.
There are links to hudson:
http://hudson.jboss.org/hudson/view/GateIn/job/gatein_portal_ui_selenium_...
http://hudson.jboss.org/hudson/view/GateIn/job/gatein_portal_ui_selenium_...
Seems like the tests are failing, because in some test case, there was
set a french language to signed user, than the test fails and french
language remains. Then the other tests can't find the elements present,
because they are in other language.
I have also checked the tests on localhost on beta5 (tomcat) and have a
same problem, but only at last 14 tests. Reports from this testing are
attached.
I would prefer to place the tests which are changing languages (of
signed user) to the end, because if some of them fails, all the
following tests fails as well.
Also, please run the tests on trunk version of GateIn to be able to
compare results.
Thanks and regards,
Michal Vanco
And btw. thanks Dimitri for configuration on JBoss AS (selenium port),
now we can run the tests much easier.
Dimitri BAELI wrote at 12. 02. 2010 v 18:21 +0700:
Hello,
Today a new version of the Selenium Tests have been commited with
some tooling to generate them from the html version (easier to record
and maintain for such basic scripts).
They are now located in testsuite/selenium-snifftests
To perform the tests mvn install -Pselenium
The JUnit classes are generated in target/generated/test from the
src/suite content.
Those tests have been tested on the GateIn beta5 and should ensure
there is no major regression on the UI part.
3 tests are currently failing due to GTNPORTAL known issues, some
instability (when running Selenium full speed) are under study.
We'll soon provide a documentation on how to record some new
scripts (using Selenium IDE) and integrate then in the testsuite, the
Portal Tester will be in charge for that.
Warning for Selenium on Snowleopard, FF crashes, and for the moment
the fix is to patch and recompile selenium-rc and the
selenium-maven-plugin (documented in the readme
of testsuite/selenium-snifftests).
Dimitri
Le 21 janv. 2010 à 20:50, Dimitri BAELI a écrit :
>
>
> Début du message réexpédié :
>
> > De : Michal Vančo <mvanco(a)redhat.com>
> >
> > Date : 20 janvier 2010 17:44:47 HNEC
> >
> > À : gatein-dev(a)lists.jboss.org
> >
> > Cc : dbaeli(a)gmail.com
> >
> > Objet : Gatein Selenium tests comment (JBQA-3004, GTNPORTAL-509)
> >
> >
> > Hi,
> >
> > I work on running ui tests for gatein from exo
> > (
https://jira.jboss.org/jira/browse/JBQA-3004 ).
> >
> > I send some comments about selenium tests that I run on localhost
> > (I
> > used the list of cases from
> >
https://jira.jboss.org/jira/browse/GTNPORTAL-509 ).
> >
> > Selenium tests comments (tested on beta04 with Tomcat):
> >
> > * SNF_PRL_01 WC3 check for pages in public - OK
> > * SNF_PRL_02 Create new account - OK
> > * SNF_PRL_03 Change displaying language - OK
> > * SNF_PRL_04 Sign in/out - OK
> > * SNF_PRL_05 Remember my login - FAIL - remember me funcion
> > doesn't work
> > * SNF_PRL_06 Users Management - FAIL - changes in profile editting
> > (mary) didn't reproduce to User Management page, but after Edit
> > again -
> > edited values are displayed
> > * SNF_PRL_07 Groups Management - OK
> > * SNF_PRL_08 Memberships Management - OK
> > * SNF_PRL_09 Import application - OK
> > * SNF_PRL_10 Create/Edit/Delete category - OK
> > * SNF_PRL_11 Add application into category - FAIL - trying to set
> > permission on application which is not selected, I think that the
> > application should be add into "category test edit"
> > * SNF_PRL_12 Portlet - ISN'T PRESENT
> > * SNF_PRL_13 Add gadget(remote/create new) - FAIL - not correctly
> > started (Sign in->Dashboard...)
> > * SNF_PRL_14 Show or not Import Application icon - ISN'T PRESENT
> > * SNF_PRL_15 Link to pages - OK
> > * SNF_PRL_16 Expand All - ISN'T PRESENT
> > * SNF_PRL_17 Collapse All - ISN'T PRESENT
> > * SNF_PRL_18 Create new portal - OK
> > * SNF_PRL_19 Edit portal - OK
> > * SNF_PRL_20 Delete portal - FAIL -
> > waitForElementPresent //div[@class='CollapseIcon'], before this
> > there is
> > twice clickAt "Platform", I think that there should be clickAt
> > "Platform" and then clickAt "Administrators" (or
> > waitForElementPresent
> > "Platform", clickAt "Platform"), then there twice clickAt
Save
> > (should
> > be waitForElementPresent "Save", clickAt "Save"))
> > * SNF_PRL_21 Change using portal -OK
> > * SNF_PRL_22 Create/Edit page/Edit site layout for portal - OK
> > * SNF_PRL_23 Add Navigation - OK
> > * SNF_PRL_24 Edit navigation/Edit properties/Delete/ in Group
> > Navigation
> > - OK
> > * SNF_PRL_25 Edit page of node - OK
> > * SNF_PRL_26 Move up/down a node - ISN'T PRESENT
> > * SNF_PRL_27 Create/Edit page/Edit site layout for group - (1,2)
> > OK
> > * SNF_PRL_28 Add/drag-drop - OK
> > * SNF_PRL_29 Add/Edit?Delete tab - OK
> > * SNF_PRL_30 Create/Edit page/Edit site layout for user - OK
> > * SNF_PRL_31 Change language - OK
> > * SNF_PRL_32 Change skin - OK
> > * SNF_PRL_33 Setting account - OK (but has a wrong name -
> > LogoPortletAccSetting and code SNF_PRL_34)
> > * SNF_PRL_34 Change logo - INS'T PRESENT
> >
> > There is also SNF_PRL_35 under which the advanced page
> > adding/editing -
> > OK
> >
> > I can also reproduce the result file from test cases if needed.
> >
> > Thanks a lot for for your replies.
> >
> > Regards
> > Michal
> >
> >
>
> Dimitri BAELI
> VP Quality - eXo Platform
>
>
Dimitri BAELI
VP Quality - eXo Platform