J4 Issue ?
avatar eXsiLe95
eXsiLe95
2 Sep 2019

When checking PR 19300, I noticed that continuous-integration/drone/pr failed. In detail, system-tests-mysql failed when looking for an html element with selector h1.page-title while trying to log in as administrator.

Steps to reproduce the issue

  • Go to <your joomla 4.0-dev installation>/administrator/index.php
  • Search for a html element that matches selector h1.page-title

Expected result

  • (At least) An element is found

Actual result

  • There is no such element

System information (as much as possible)

  • Fresh Joomla! 4.0-dev Installation from Git (Commit 6e3c348)
  • PHP 7.2.19-0ubuntu0.19.04.2
  • MySQL 5.7.27-0ubuntu0.19.04.1
  • Apache/2.4.38 (Ubuntu)
  • Brave Browser Version 0.68.132 Chromium: 76.0.3809.132 (Official Build) (64-bit)

Additional comments

I'm seeing if I can create a PR to this issue

Screenshot:

screen shot 2019-09-02 at 09 58 03

Original Error Log:

Original Error Log

avatar eXsiLe95 eXsiLe95 - open - 2 Sep 2019
avatar joomla-cms-bot joomla-cms-bot - labeled - 2 Sep 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 2 Sep 2019
Title
system-tests-mysql failing for missing html element
[4.0] system-tests-mysql failing for missing html element
avatar franz-wohlkoenig franz-wohlkoenig - edited - 2 Sep 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 2 Sep 2019
Labels Added: J4 Issue
avatar franz-wohlkoenig franz-wohlkoenig - labeled - 2 Sep 2019
avatar Hackwar
Hackwar - comment - 2 Sep 2019

The situation is a bit different. The problem is not, that it is looking for a h1 on the login page, but after the login has happened and that h1 is indeed there. Otherwise all our tests would be failing. I've since made updates to the tests which fix the problem and when you update your branch to the latest version of 4.0-dev, you should see the tests pass now. For information: The tests didn't wait properly for effects and JS to finish and thus the browser did not see the elements properly or attach events to buttons before the test script tried to click on it.

avatar eXsiLe95
eXsiLe95 - comment - 2 Sep 2019

I just had this PR updated and the issue is gone - thanks for the explanation! This issue can be closed :)

avatar eXsiLe95 eXsiLe95 - change - 2 Sep 2019
Status New Closed
Closed_Date 0000-00-00 00:00:00 2019-09-02 11:01:54
Closed_By eXsiLe95
avatar eXsiLe95 eXsiLe95 - close - 2 Sep 2019

Add a Comment

Login with GitHub to post a comment