mirror of
https://github.com/langgenius/dify.git
synced 2026-07-16 01:48:40 +08:00
Co-authored-by: Joel <iamjoel007@gmail.com> Co-authored-by: zyssyz123 <916125788@qq.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: 林玮 (Jade Lin) <linw1995@icloud.com> Co-authored-by: 盐粒 Yanli <mail@yanli.one>
131 lines
5.8 KiB
Gherkin
131 lines
5.8 KiB
Gherkin
@agent-v2 @authenticated @infra @agent-v2-preflight
|
|
Feature: Agent Builder preseeded environment
|
|
@agent-lifecycle
|
|
Scenario: Agent lifecycle permissions are available
|
|
Given I am signed in as the default E2E admin
|
|
And an Agent v2 test agent has been created via API
|
|
And the Agent v2 composer draft is publishable
|
|
When I open the Agent v2 configure page
|
|
And I publish the Agent v2 draft
|
|
Then the Agent v2 draft should be published and up to date
|
|
|
|
@stable-model
|
|
Scenario: Stable chat model is available
|
|
Given I am signed in as the default E2E admin
|
|
And the Agent Builder stable chat model is available
|
|
|
|
@agent-decision-model
|
|
Scenario: Agent-decision chat model is available
|
|
Given I am signed in as the default E2E admin
|
|
And the Agent Builder agent-decision chat model is available
|
|
|
|
@broken-model
|
|
Scenario: Broken chat model is available for recovery scenarios
|
|
Given I am signed in as the default E2E admin
|
|
And the Agent Builder broken chat model is available
|
|
|
|
@tool-fixture
|
|
Scenario: JSON Replace tool is available
|
|
Given I am signed in as the default E2E admin
|
|
And the Agent Builder preseeded tool "JSON Process / JSON Replace" is available
|
|
|
|
@tool-fixture
|
|
Scenario: Tavily Search tool is available
|
|
Given I am signed in as the default E2E admin
|
|
And the Agent Builder preseeded tool "Tavily / Tavily Search" is available
|
|
|
|
@skill-fixture
|
|
Scenario: Summary Skill package fixture uploads to Agent drive
|
|
Given I am signed in as the default E2E admin
|
|
And an Agent v2 test agent has been created via API
|
|
And the e2e-summary-skill Skill is available to the Agent v2 test agent
|
|
Then the Agent v2 test agent should include drive skill "e2e-summary-skill"
|
|
|
|
@knowledge-fixture
|
|
Scenario: Agent knowledge base is available
|
|
Given I am signed in as the default E2E admin
|
|
And the Agent Builder preseeded dataset "E2E Agent Knowledge Base" is indexed and ready
|
|
|
|
@knowledge-fixture
|
|
Scenario: Indexing knowledge base is available
|
|
Given I am signed in as the default E2E admin
|
|
And the Agent Builder preseeded dataset "E2E Agent Knowledge Base Indexing" is indexing
|
|
|
|
@full-config-agent
|
|
Scenario: Full config Agent is available
|
|
Given I am signed in as the default E2E admin
|
|
And the Agent Builder preseeded Agent "E2E New Agent Builder Full Config" is available
|
|
|
|
@full-config-agent @skill-fixture
|
|
Scenario: Full config Agent includes the summary Skill
|
|
Given I am signed in as the default E2E admin
|
|
And the Agent Builder preseeded Agent "E2E New Agent Builder Full Config" includes drive skill "e2e-summary-skill"
|
|
|
|
@full-config-agent @stable-model @tool-fixture @skill-fixture @knowledge-fixture
|
|
Scenario: Full config Agent includes core fixture configuration
|
|
Given I am signed in as the default E2E admin
|
|
And the Agent Builder preseeded Agent "E2E New Agent Builder Full Config" includes the core fixture configuration
|
|
|
|
@content-moderation @feature-gated
|
|
Scenario: Content Moderation Settings is enabled
|
|
Given I am signed in as the default E2E admin
|
|
And a basic configured Agent v2 test agent has been created via API
|
|
When I open the Agent v2 configure page
|
|
And I expand Agent v2 Advanced Settings
|
|
Then Agent v2 Content Moderation Settings should be available
|
|
|
|
@tool-states-agent
|
|
Scenario: Tool states Agent is available
|
|
Given I am signed in as the default E2E admin
|
|
And the Agent Builder preseeded Agent "E2E New Agent Builder Tool States" is available
|
|
|
|
@tool-states-agent @tool-fixture @skill-fixture
|
|
Scenario: Tool states Agent includes tool state fixture configuration
|
|
Given I am signed in as the default E2E admin
|
|
And the Agent Builder preseeded Agent "E2E New Agent Builder Tool States" includes the tool state fixture configuration
|
|
|
|
@oauth-tool-agent
|
|
Scenario: OAuth2 tool Agent includes credential fixture configuration
|
|
Given I am signed in as the default E2E admin
|
|
And the Agent Builder preseeded Agent "E2E Agent With OAuth Tool" includes an OAuth2 tool credential
|
|
|
|
@dual-retrieval-fixture
|
|
Scenario: Dual retrieval Agent is available
|
|
Given I am signed in as the default E2E admin
|
|
And the Agent Builder preseeded Agent "E2E Agent With Dual Retrieval" is available
|
|
|
|
@dual-retrieval-fixture @knowledge-fixture
|
|
Scenario: Dual retrieval Agent includes dual retrieval fixture configuration
|
|
Given I am signed in as the default E2E admin
|
|
And the Agent Builder preseeded Agent "E2E Agent With Dual Retrieval" includes the dual retrieval fixture configuration
|
|
|
|
@published-web-app
|
|
Scenario: Published Web app Agent exposes Web app access
|
|
Given I am signed in as the default E2E admin
|
|
And the Agent Builder preseeded Agent "E2E Agent Published Web App" has published Web app access
|
|
|
|
@backend-api-access
|
|
Scenario: Backend API-enabled Agent is available
|
|
Given I am signed in as the default E2E admin
|
|
And the Agent Builder preseeded Agent "E2E Agent Backend API Enabled" is available
|
|
|
|
@backend-api-access
|
|
Scenario: Backend API-enabled Agent exposes API access with a key
|
|
Given I am signed in as the default E2E admin
|
|
And the Agent Builder preseeded Agent "E2E Agent Backend API Enabled" has Backend service API access with an API key
|
|
|
|
@workflow-reference
|
|
Scenario: Workflow reference Agent is available
|
|
Given I am signed in as the default E2E admin
|
|
And the Agent Builder preseeded Agent "E2E Agent With Workflow Reference" is available
|
|
|
|
@workflow-reference
|
|
Scenario: Reference workflow is available
|
|
Given I am signed in as the default E2E admin
|
|
And the Agent Builder preseeded workflow "E2E Agent Reference Workflow" is available
|
|
|
|
@workflow-reference
|
|
Scenario: Workflow reference Agent is used by the reference workflow
|
|
Given I am signed in as the default E2E admin
|
|
And the Agent Builder preseeded Agent "E2E Agent With Workflow Reference" is referenced by workflow "E2E Agent Reference Workflow"
|