Skip to content

mssql connections not being cleared #15

@jkato51

Description

@jkato51

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');
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions