Skip to content

feat(wren-ui/e2e): Add calculated fields CRUD test for E-commerce sample dataset#427

Merged
fredalai merged 3 commits intomainfrom
feature/e2e-e-commerce
Jun 19, 2024
Merged

feat(wren-ui/e2e): Add calculated fields CRUD test for E-commerce sample dataset#427
fredalai merged 3 commits intomainfrom
feature/e2e-e-commerce

Conversation

@fredalai
Copy link
Copy Markdown
Contributor

Description

  • Add calculated fields CRUD test for the E-commerce sample dataset

Tasks

  • Add calculated fields CRUD test for the E-commerce sample dataset
  • Extract add and delete calculated field codes as a common function

Test

➜  wren-ui git:(feature/e2e-e-commerce) 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 37 tests using 1 worker
[setup db] › global.setup.ts:4:6 › create new database
creating new database...
model len:0
created successfully.
[cleanup db] › global.teardown.ts:4:6 › delete database
deleting test database...
deleted successfully.
  Slow test file: [chromium] › specs/connectSampleECommerce.spec.ts (2.0m)
  Slow test file: [chromium] › specs/connectSampleNBA.spec.ts (1.8m)
  Consider splitting slow test files to speed up parallel execution
  37 passed (4.3m)

To open last HTML report run:

  yarn playwright show-report

✨  Done in 259.57s.

@fredalai fredalai marked this pull request as ready for review June 18, 2024 07:52
@fredalai fredalai force-pushed the feature/e2e-e-commerce branch from f3bcf29 to 6d3e315 Compare June 18, 2024 07:52
@fredalai fredalai requested a review from andreashimin June 18, 2024 07:53
@fredalai fredalai added the module/ui UI related label Jun 18, 2024
@fredalai fredalai force-pushed the feature/e2e-e-commerce branch from 6d3e315 to 76d68a1 Compare June 18, 2024 09:46
@fredalai fredalai force-pushed the feature/e2e-e-commerce branch from 76d68a1 to 35a3c26 Compare June 19, 2024 07:49
@fredalai fredalai force-pushed the feature/e2e-e-commerce branch from 35a3c26 to 3718076 Compare June 19, 2024 07:55
Copy link
Copy Markdown
Contributor

@andreashimin andreashimin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fredalai fredalai merged commit 8faebc7 into main Jun 19, 2024
@fredalai fredalai deleted the feature/e2e-e-commerce branch June 19, 2024 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module/ui UI related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants