Connect a shared library of the team to the open file: the libraries dialog, its tab "LIBRARIES", "Connect library" on the library, then the dialog closed.
Examples
When I connect the library "Style guide"
When we connect the library "Style guide"
And I connect the library "Style guide"
When I connect the library "Webship test library"
When I connect the library "Style guide"
Pattern
When(/^(?:I|we) connect the library "([^"]*)"$/, …)
Part of @webship-js/penpot-steps (github.com/webship/penpot-steps), a step pack for Webship-js 2.0.x.