Skip to content

test(e2e): add dataset creation e2e test#36708

Open
EvanYao826 wants to merge 1 commit into
langgenius:mainfrom
EvanYao826:feat/add-dataset-e2e-tests-v2
Open

test(e2e): add dataset creation e2e test#36708
EvanYao826 wants to merge 1 commit into
langgenius:mainfrom
EvanYao826:feat/add-dataset-e2e-tests-v2

Conversation

@EvanYao826
Copy link
Copy Markdown
Contributor

Summary

Add a new e2e test scenario for creating an empty dataset, following the existing Cucumber BDD + Playwright pattern.

Fixes #34278

Changes

  • Added e2e/features/datasets/create-dataset.feature with Cucumber scenario
  • Added e2e/features/step-definitions/datasets/create-dataset.steps.ts with step definitions
  • Updated e2e/features/support/world.ts to track created dataset names

Test scenario

@datasets @authenticated @core
Feature: Create dataset
  Scenario: Create a new empty dataset
    Given I am signed in as the default E2E admin
    When I open the datasets page
    And I start creating a new dataset
    And I select "Create an empty dataset"
    And I enter a unique E2E dataset name
    And I confirm dataset creation
    Then I should land on the dataset document page

Checklist

  • Title explains the problem clearly
  • Tests added/updated (if applicable)
  • Documentation updated (if applicable)
  • No breaking changes

Add a new e2e test scenario for creating an empty dataset:
- Create dataset feature file with Cucumber BDD syntax
- Add step definitions for dataset creation flow
- Update DifyWorld to track created dataset names

Fixes langgenius#34278

Signed-off-by: EvanYao826 <155432245+EvanYao826@users.noreply.github.com>
@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Refactor/Chore] More e2e test

1 participant