Canner / WrenAI

🚀 Open-source SQL AI Agent for Text-to-SQL. Make Text2SQL Easy! 🙌
https://getwren.ai/oss
GNU Affero General Public License v3.0
1.73k stars 155 forks source link

feat(wren-ui/e2e): add E2E basic check #346

Closed fredalai closed 3 months ago

fredalai commented 4 months ago

Description

Tasks

UI screenshots

截圖 2024-05-31 下午3 11 17

Test Result

➜   yarn test:e2e
yarn run v1.22.19
warning ../../../../package.json: No license field

warning ../../../../package.json: No license field
[WebServer]  ⚠ Invalid next.config.js options detected:
[WebServer]  ⚠     Unrecognized key(s) in object: 'lessVarsFilePath', 'lessVarsFilePathAppendToEndOfContent'
 ⚠ See more info here: https://nextjs.org/docs/messages/invalid-next-config
[WebServer]  ⚠ "next start" does not work with "output: standalone" configuration. Use "node .next/standalone/server.js" instead.

Running 42 tests using 1 worker
[setup db] › global.setup.ts:4:6 › create new database
creating new database...
created successfully.
[cleanup db] › global.teardown.ts:4:6 › delete database
deleting test database...
deleted successfully.
  Slow test file: [chromium] › specs/connectSampleNBA.spec.ts (2.0m)
  Slow test file: [chromium] › specs/connectSampleECommerce.spec.ts (1.8m)
  Consider splitting slow test files to speed up parallel execution
  6 skipped
  36 passed (4.2m)

To open last HTML report run:

  yarn playwright show-report

✨  Done in 254.22s.

BQ_and_DuckDB PG ECommerce

截圖 2024-06-04 上午7 38 25