Don't forget to return `openedPromise`!