run the e2e cypress test for frontend->com_users->login
no errors
can log in a test user without a menu item
CypressError
cy.click() can only be called on a single element. Your subject contained 2 elements. Pass { multiple: true } if you want to serially click each element.[Learn more](https://on.cypress.io/click)
[tests/System/integration/site/components/com_users/Login.cy.js:9:36](https://j5.test/__/#)
7 | cy.get('#password').type('test');
8 | cy.get('#remember').check();
> 9 | cy.get('.controls > .btn').click();
| ^
10 | cy.visit('/index.php?option=com_users&view=login');
11 |
12 | cy.get('.com-users-logout').should('contain.text', 'Log out');
can log in a test user in a menu item
CypressError
cy.click() can only be called on a single element. Your subject contained 2 elements. Pass { multiple: true } if you want to serially click each element.[Learn more](https://on.cypress.io/click)
[tests/System/integration/site/components/com_users/Login.cy.js:25:36](https://j5.test/__/#)
23 | cy.get('#password').type('test');
24 | cy.get('#remember').check();
> 25 | cy.get('.controls > .btn').click();
| ^
26 | cy.get('a:contains(Automated test login)').click();
27 |
28 | cy.get('.com-users-logout').should('contain.text', 'Log out');
php 8.1.3
joomla 5.1branch
Labels |
Added:
No Code Attached Yet
|
the strange thing is that on drone it is working https://ci.joomla.org/joomla/joomla-cms/72278/1/19
Same problem with the api com_users test can login after update a user
cy.click() can only be called on a single element. Your subject contained 2 elements. Pass { multiple: true } if you want to serially click each element.[Learn more](https://on.cypress.io/click)
[tests/System/integration/api/com_users/Users.cy.js:84:36](https://j5.test/__/#)
82 | cy.get('#password').type('test');
83 | cy.get('#remember').check();
> 84 | cy.get('.controls > .btn').click();
| ^
85 | cy.visit('/index.php?option=com_users&view=login');
86 | cy.get('.com-users-logout').should('contain.text', 'Log out');
87 | });
The tests work fine for me as well.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-03-03 07:10:28 |
Closed_By | ⇒ | alikon |
Closing this issue now, has been resolved elsewhere
but feel free to reopen if needed.
also see the mod_login tests which also fail and probabl;y for the same reason