[ 
https://issues.apache.org/jira/browse/JSPWIKI-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18147905#comment-18147905
 ] 

ASF subversion and git services commented on JSPWIKI-1369:
----------------------------------------------------------

Commit cac1227d23ad55afb4233dc33ef6ce4a21c045ff in jspwiki's branch 
refs/heads/master from Arturo Bernal
[ https://gitbox.apache.org/repos/asf?p=jspwiki.git;h=cac1227d2 ]

JSPWIKI-1369 Make the integration tests pass again

The tests wait for the menus to open, for the live preview to refresh and
for the page that follows a login or a save, instead of reading the page
while it is still loading. The editor refreshes its preview on input
events, which setting the value of the field does not fire, so the test
fires one.

The test user database gets the oldhashes column the JDBC user database
writes, and the web descriptors of the test wars use the Jakarta namespace
the container authorizer looks for. The login test expects the login name,
which is what the wiki shows for the logged in user.


> The Selenide integration tests fail with a current Chromium and the CI does 
> not run them
> ----------------------------------------------------------------------------------------
>
>                 Key: JSPWIKI-1369
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-1369
>             Project: JSPWiki
>          Issue Type: Bug
>            Reporter: Arturo Bernal
>            Priority: Major
>              Labels: pull-request-available
>
> With -Pintegration-tests, headless Chromium 157 and Selenide, each of the 
> five jspwiki-it-test-* modules runs 7 tests and 5 fail. They are the same 
> five in every module, and they fail the same with and without recent changes:
> * AnonymousViewIT.anonymousReaderView: element not found, link text "Show 
> Reader View".
> * EditIT.createPageAndTestEditPermissions: the element with class ajaxpreview 
> should have the text "random page".
> * LoginIT.loginAndLogout and LoginIT.loginKO: expected "G’day (anonymous 
> guest)" but was empty.
> * SearchIT.performSearches: element #query is not clickable, interactable and 
> enabled.
> The page itself renders in that Chromium. The command is mvn clean install 
> -Pintegration-tests -Dit-jspwiki.config.headless=true in each module, after 
> mvn install of the project.
> The CI runs mvn clean package -Pintegration-tests, which stops before the 
> integration-test phase, so these tests do not run there.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
  • [jira] [Commented] (JSPWIKI... ASF subversion and git services (Jira) via dev

Reply via email to