Revert "sprinkle in sleep to give the CI enough time to initialize the page"

This reverts commit 726bb46401.
pull/6827/head
Jens Ulferts 7 years ago
parent 726bb46401
commit 35f70f940e
No known key found for this signature in database
GPG Key ID: 3CAA4B1182CF5308
  1. 4
      features/edit_story.feature
  2. 14
      features/edit_story_tracker_and_status.feature
  3. 16
      features/scrum_master.feature
  4. 4
      features/step_definitions/_when_steps.rb
  5. 4
      features/team_member.feature

@ -132,9 +132,7 @@ Feature: Edit story on backlogs view
@javascript
Scenario: Edit story in a sprint
Given I am on the master backlog
# Give the page time to initialize
When I sleep for 0.25 seconds
And I click on the text "Story A"
When I click on the text "Story A"
And I fill in "Story A revisited" for "subject"
And I fill in "11" for "story_points"
And I confirm the story form

@ -93,11 +93,9 @@ Feature: Edit story type and status
@javascript
Scenario: Display only statuses which are allowed by workflow
# Give the page time to initialize
When I sleep for 0.25 seconds
And I click on the text "Story A"
When I click on the text "Story A"
Then the available status of the story called "Story A" should be the following:
And the available status of the story called "Story A" should be the following:
| New |
| Closed |
@ -107,8 +105,6 @@ Feature: Edit story type and status
Then the displayed attributes of the story called "Story A" should be the following:
| Status | Closed |
# Give the page time to initialize
When I sleep for 0.25 seconds
When I click on the text "Story A"
Then the available status of the story called "Story A" should be the following:
@ -116,9 +112,7 @@ Feature: Edit story type and status
@javascript
Scenario: Select a status and change to a type that does not offer the status
# Give the page time to initialize
When I sleep for 0.25 seconds
And I click on the text "Story B"
When I click on the text "Story B"
Then the available status of the story called "Story B" should be the following:
| New |
@ -149,8 +143,6 @@ Feature: Edit story type and status
| old_status | new_status |
| New | Resolved |
And I am on the master backlog
# Give the page time to initialize
And I sleep for 0.25 seconds
And I click on the text "Story C"
Then the available status of the story called "Story C" should be the following:

@ -137,8 +137,6 @@ Feature: Scrum Master
@javascript
Scenario: Create an impediment
Given I am on the taskboard for "Sprint 001"
# Give the page time to initialize
And I sleep for 0.25 seconds
When I click on the element with class "add_new" within "#impediments"
And I fill in "Bad Company" for "subject"
And I fill in the ids of the tasks "Task 1" for "blocks_ids"
@ -150,8 +148,6 @@ Feature: Scrum Master
@javascript
Scenario: Create an impediment blocking an work_package of another sprint
Given I am on the taskboard for "Sprint 001"
# Give the page time to initialize
And I sleep for 0.25 seconds
When I click on the element with class "add_new" within "#impediments"
And I fill in "Bad Company" for "subject"
And I fill in the ids of the stories "Story C" for "blocks_ids"
@ -164,8 +160,6 @@ Feature: Scrum Master
@javascript
Scenario: Create an impediment blocking a non existent work_package
Given I am on the taskboard for "Sprint 001"
# Give the page time to initialize
And I sleep for 0.25 seconds
When I click on the element with class "add_new" within "#impediments"
And I fill in "Bad Company" for "subject"
And I fill in "0" for "blocks_ids"
@ -178,8 +172,6 @@ Feature: Scrum Master
@javascript
Scenario: Create an impediment without specifying what it blocks
Given I am on the taskboard for "Sprint 001"
# Give the page time to initialize
And I sleep for 0.25 seconds
When I click on the element with class "add_new" within "#impediments"
And I fill in "Bad Company" for "subject"
And I fill in "" for "blocks_ids"
@ -192,8 +184,6 @@ Feature: Scrum Master
@javascript
Scenario: Update an impediment
Given I am on the taskboard for "Sprint 001"
# Give the page time to initialize
And I sleep for 0.25 seconds
When I click on the impediment called "Impediment 1"
And I fill in "Bad Company" for "subject"
And I fill in the ids of the tasks "Task 1" for "blocks_ids"
@ -204,8 +194,6 @@ Feature: Scrum Master
@javascript
Scenario: Update an impediment to block an work_package of another sprint
Given I am on the taskboard for "Sprint 001"
# Give the page time to initialize
And I sleep for 0.25 seconds
When I click on the impediment called "Impediment 1"
And I fill in "Bad Company" for "subject"
And I fill in the ids of the stories "Story C" for "blocks_ids"
@ -217,8 +205,6 @@ Feature: Scrum Master
@javascript
Scenario: Update an impediment to block a non existent work_package
Given I am on the taskboard for "Sprint 001"
# Give the page time to initialize
And I sleep for 0.25 seconds
When I click on the impediment called "Impediment 1"
And I fill in "Bad Company" for "subject"
And I fill in "0" for "blocks_ids"
@ -230,8 +216,6 @@ Feature: Scrum Master
@javascript
Scenario: Update an impediment to not block anything
Given I am on the taskboard for "Sprint 001"
# Give the page time to initialize
And I sleep for 0.25 seconds
When I click on the impediment called "Impediment 1"
And I fill in "Bad Company" for "subject"
And I fill in "" for "blocks_ids"

@ -256,7 +256,3 @@ When(/^I click on the link for the story "(.*?)"$/) do |subject|
click_link(story.id)
end
end
When /^I sleep for (.+) seconds$/ do |seconds|
sleep seconds.to_i
end

@ -110,8 +110,6 @@ Feature: Team Member
@javascript
Scenario: View the burndown chart from the backlogs dashboard
Given I am on the master backlog
# Give the page time to initialize
And I sleep for 0.25 seconds
And I open the "Sprint 002" backlogs menu
When I follow "Burndown Chart" of the "Sprint 002" menu
Then I should see the burndown chart for sprint "Sprint 002"
@ -119,8 +117,6 @@ Feature: Team Member
@javascript
Scenario: View the burndown chart from the taskboard
Given I am on the taskboard for "Sprint 002"
# Give the page time to initialize
And I sleep for 0.25 seconds
When I follow "Burndown Chart"
Then I should see the burndown chart for sprint "Sprint 002"

Loading…
Cancel
Save