8ea00f5185
CI / unit_tests (push) Has been cancelled
CI / benchmark-publish (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / typecheck (push) Has been cancelled
CI / security (push) Has been cancelled
CI / quality (push) Has been cancelled
CI / integration_tests (push) Has been cancelled
CI / e2e_tests (push) Has been cancelled
CI / coverage (push) Has been cancelled
CI / benchmark-regression (push) Has been cancelled
CI / build (push) Has been cancelled
CI / push-validation (push) Has been cancelled
CI / status-check (push) Has been cancelled
CI / docker (push) Has been cancelled
CI / helm (push) Has been cancelled
Co-authored-by: Jeffrey Phillips Freeman <the@jeffreyfreeman.me> Co-committed-by: Jeffrey Phillips Freeman <the@jeffreyfreeman.me>
33 lines
1.6 KiB
Gherkin
33 lines
1.6 KiB
Gherkin
# Regression tests for bug #590: project show must find a project immediately after creation.
|
|
Feature: Project show displays a created project
|
|
As a developer using the agents CLI
|
|
I want "agents project show" to display a project I just created
|
|
So that I can verify the project details after creation
|
|
|
|
Background:
|
|
Given a fresh project-show database is initialised
|
|
|
|
# @tdd_issue @tdd_issue_590 @tdd_expected_fail @tdd_issue_4178 @skip
|
|
@skip
|
|
Scenario: Show displays a project that was just created
|
|
When I create a project named "local/my-app" via the project-show CLI
|
|
And I show the project "local/my-app" via the project-show CLI
|
|
Then the project-show output should contain "local/my-app"
|
|
And the project-show exit code should be 0
|
|
|
|
# @tdd_issue @tdd_issue_590 @tdd_expected_fail @tdd_issue_4178 @skip
|
|
@skip
|
|
Scenario: Show displays correct details for a created project with description
|
|
When I create a described project named "local/webapp" with description "My web app" via the project-show CLI
|
|
And I show the project "local/webapp" via the project-show CLI
|
|
Then the project-show output should contain "local/webapp"
|
|
And the project-show output should contain "My web app"
|
|
And the project-show exit code should be 0
|
|
|
|
# @tdd_issue @tdd_issue_590 @tdd_expected_fail @tdd_issue_4178 @skip
|
|
@skip
|
|
Scenario: Show returns error for a project that does not exist
|
|
When I show the project "local/nonexistent" via the project-show CLI
|
|
Then the project-show output should contain "not found"
|
|
And the project-show exit code should not be 0
|