Skip to content

Commit

Permalink
Revert "Adapt system test to 5.3"
Browse files Browse the repository at this point in the history
This reverts commit 4b05477.
  • Loading branch information
richard67 committed Nov 11, 2024
1 parent 4b05477 commit 81f5d6c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
describe('Test in frontend that the contact site router', () => {
it('can process contact without a menu item', () => {
cy.db_createContact({ name: 'Test Contact', alias: 'test-contact-router' }).then((contact) => {
cy.request({ url: `/index.php?option=com_contact&view=contact&id=${contact.id}&catid=${contact.catid}`, followRedirect: false }).then((response) => {
cy.request({ url: `/index.php?option=com_contact&view=contact&id=${contact.id}`, followRedirect: false }).then((response) => {
expect(response.status).to.eq(301);
expect(response.redirectedToUrl).to.match(/\/index\.php\/component\/contact\/contact\/test-contact-router$/);
});
Expand Down

0 comments on commit 81f5d6c

Please sign in to comment.