? PR-4.4-dev Pending

User tests: Successful: Unsuccessful:

avatar charvimehradu
charvimehradu
30 Mar 2023

Pull Request for Issue # .

Adding login module test for custom user.

avatar joomla-cms-bot joomla-cms-bot - change - 30 Mar 2023
Category JavaScript Unit Tests
avatar charvimehradu charvimehradu - open - 30 Mar 2023
avatar charvimehradu charvimehradu - change - 30 Mar 2023
Status New Pending
avatar charvimehradu charvimehradu - change - 30 Mar 2023
Labels Added: ? PR-4.3-dev
avatar charvimehradu charvimehradu - change - 30 Mar 2023
Labels Added: PR-4.4-dev
avatar Hackwar
Hackwar - comment - 30 Mar 2023

This is a test of the login module, not the login view of com_users. My first change would be to visit index.php?option=com_users&view=login and then please check if the fields exist.

avatar laoneo
laoneo - comment - 30 Mar 2023

Thank you very much for the pr. @Hackwar is right, this is a test for com_users. There is already a login module test, please add your code there https://github.com/joomla/joomla-cms/blob/4.4-dev/tests/System/integration/site/modules/mod_login/Default.cy.js. So we test then if the default user name works and from a custom user.

avatar charvimehradu
charvimehradu - comment - 31 Mar 2023

Thank you! @Hackwar @laoneo I think I may have misunderstood your instructions the last time and I don't want to make the same mistake again. Could you please elaborate what I am supposed to do now?

avatar laoneo
laoneo - comment - 31 Mar 2023
  1. Add your test to the file I mentioned before
  2. Write a similar test for the com_users login view
avatar charvimehradu charvimehradu - change - 1 Apr 2023
Labels Removed: PR-4.3-dev
avatar laoneo laoneo - change - 1 Apr 2023
Title
Adding login view test for com_users
Adding login module test for custom user
avatar laoneo laoneo - edited - 1 Apr 2023
avatar charvimehradu
charvimehradu - comment - 1 Apr 2023
  1. Write a similar test for the com_users login view

Is it preferable to make a separate PR for this?

avatar laoneo
laoneo - comment - 1 Apr 2023

Good idea, so we can merge this one early.

avatar charvimehradu charvimehradu - change - 1 Apr 2023
The description was changed
avatar charvimehradu charvimehradu - edited - 1 Apr 2023
avatar laoneo laoneo - close - 4 Apr 2023
avatar laoneo laoneo - merge - 4 Apr 2023
avatar laoneo laoneo - change - 4 Apr 2023
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2023-04-04 06:45:47
Closed_By laoneo
avatar laoneo
laoneo - comment - 4 Apr 2023

Thanks!

Add a Comment

Login with GitHub to post a comment