我陷入了困境,试图找出构建CRUD测试的最佳方法.在我的应用程序中,用户可以创建几种类型的"任务".我目前的实现类似于以下内容:
Scenario: Create Task-Type A
Given I am on a user's profile page
And Have access to create tasks
When I create a new task with a unique title and description
Then The confirmation prompt should display
Scenario: Read the Task-Type A
Given A new task was created
When I search the text on the page for the unique title
Then I should find the task
And All the details of the task should match what was created …Run Code Online (Sandbox Code Playgroud)