mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-27 14:25:20 +02:00
fix pyppeteer/playwright mermaid engine run error
This commit is contained in:
parent
e03db313a2
commit
e4129025b0
3 changed files with 42 additions and 42 deletions
|
|
@ -13,7 +13,7 @@ from metagpt.utils.mermaid import MMC1, mermaid_to_file
|
|||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
@pytest.mark.parametrize("engine", ["nodejs", "ink"]) # TODO: playwright and pyppeteer
|
||||
@pytest.mark.parametrize("engine", ["nodejs", "ink", "playwright", "pyppeteer"])
|
||||
async def test_mermaid(engine, context, mermaid_mocker):
|
||||
# nodejs prerequisites: npm install -g @mermaid-js/mermaid-cli
|
||||
# ink prerequisites: connected to internet
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue