The below code is resulting in error when running multiple times. "Global connection already exists."
Feature('Test1');
BeforeSuite( async({ I }) => {
await I.connect('conn1', 'mssql:///user:password!@localhost/database');
I.say('Database connection succeeded');
});
Scenario('Test', async ({ I }) => {
//...
)};
AfterSuite( async( { I }) => {
await I.removeConnection('conn1');
});