diff --git a/templates/pages/self-service/home.html.twig b/templates/pages/self-service/home.html.twig
deleted file mode 100644
index 87c690bbe87..00000000000
--- a/templates/pages/self-service/home.html.twig
+++ /dev/null
@@ -1,75 +0,0 @@
-{#
- # ---------------------------------------------------------------------
- #
- # GLPI - Gestionnaire Libre de Parc Informatique
- #
- # http://glpi-project.org
- #
- # @copyright 2015-2024 Teclib' and contributors.
- # @copyright 2003-2014 by the INDEPNET Development Team.
- # @licence https://www.gnu.org/licenses/gpl-3.0.html
- #
- # ---------------------------------------------------------------------
- #
- # LICENSE
- #
- # This file is part of GLPI.
- #
- # This program is free software: you can redistribute it and/or modify
- # it under the terms of the GNU General Public License as published by
- # the Free Software Foundation, either version 3 of the License, or
- # (at your option) any later version.
- #
- # This program is distributed in the hope that it will be useful,
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- # GNU General Public License for more details.
- #
- # You should have received a copy of the GNU General Public License
- # along with this program. If not, see
.
- #
- # ---------------------------------------------------------------------
- #}
-
-{% if password_alert|length %}
-
-
-
-
-
-
- {{ password_alert }}
-
-
-
-
-
-{% endif %}
-
-
- {{ call_plugin_hook(constant('Glpi\\Plugin\\Hooks::DISPLAY_CENTRAL')) }}
-
-
-{% set optional_grid_item_keys = [
- 'survey_list', 'reminder_list', 'rss_feed', 'kb_popular', 'kb_recent', 'kb_lastupdate'
-] %}
-{% set grid_items = [
- ticket_summary
-] %}
-
-{% for optional_grid_item_key in optional_grid_item_keys %}
- {% set item_content = _context[optional_grid_item_key] %}
- {% if item_content is not empty %}
- {% set grid_items = grid_items|merge([
- '
' ~ item_content ~ '
'
- ]) %}
- {% endif %}
-{% endfor %}
-
-{{ include('components/masonry_grid.html.twig', {
- 'grid_items': grid_items,
-}, with_context = false) }}
diff --git a/tests/cypress/e2e/self-service/home.cy.js b/tests/cypress/e2e/self-service/home.cy.js
index d701ef1f7ae..56e10c509ae 100644
--- a/tests/cypress/e2e/self-service/home.cy.js
+++ b/tests/cypress/e2e/self-service/home.cy.js
@@ -37,7 +37,7 @@ describe('Helpdesk home page', () => {
cy.changeProfile('Self-Service');
});
it('can use tiles', () => {
- cy.visit('/Home');
+ cy.visit('/Helpdesk');
cy.findByRole('region', { name: 'Quick Access' })
.findAllByRole('link')
.as('tiles');
@@ -87,7 +87,7 @@ describe('Helpdesk home page', () => {
'reminders_id': reminder_id,
}).as('reminder_id');
});
- cy.visit('/Home');
+ cy.visit('/Helpdesk');
// Default tab should be opened tickets
cy.findAllByText('Open ticket 1').should('be.visible');
diff --git a/tests/cypress/e2e/session.cy.js b/tests/cypress/e2e/session.cy.js
index 9b3f7961807..5b1b2ea4a59 100644
--- a/tests/cypress/e2e/session.cy.js
+++ b/tests/cypress/e2e/session.cy.js
@@ -48,9 +48,9 @@ describe("Session", () => {
cy.findByRole('checkbox', {name: "Remember me"}).check();
cy.getDropdownByLabelText("Login source").selectDropdownValue('GLPI internal database');
- // Submit, the url should now contain /front/central.php or /front/helpdesk.public.php
+ // After logging in, the url should contain /front/central.php or /Helpdesk
cy.findByRole('button', {name: "Sign in"}).click();
- cy.url().should('match', /\/front\/(central|helpdesk.public).php/);
+ cy.url().should('match', /(\/front\/central.php|\/Helpdesk)/);
// Validate cookies
cy.getCookies().should('have.length.gte', 2).then((cookies) => {