Skip to content

Commit

Permalink
Adapt system test to 5.3 2nd trial
Browse files Browse the repository at this point in the history
  • Loading branch information
richard67 committed Nov 11, 2024
1 parent 81f5d6c commit 4f2a09e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,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}`, followRedirect: false }).then((response) => {
expect(response.status).to.eq(301);
expect(response.redirectedToUrl).to.match(/\/index\.php\/component\/contact\/contact\/test-contact-router$/);
expect(response.status).to.eq(200);
});

cy.visit('/index.php/component/contact/contact/test-contact-router');
Expand Down

0 comments on commit 4f2a09e

Please sign in to comment.