I need to test the same logic hosted on different domains e.g.
cy.visit('DomainA');
cy.sameTestLogic();
cy.visit('DomainB');
cy.sameTestLogic();
There are entire suites of tests that need to run on both domains, A and B. Does anyone have any suggestions based on experience on how to approach this?