Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ Feature: App Lab Clipping
And I wait for the lab page to fully load
Then I reload the page
And I switch to design mode
And I wait until element "#designModeViz.clip-content" is visible
And selector "#designModeViz" has class "clip-content"
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

When /^I view the next authored hint$/ do
steps <<-STEPS
When I press "lightbulb"
When I click selector "#lightbulb"
And I wait until element ".csf-top-instructions button:contains(Yes)" is visible
And I click selector ".csf-top-instructions button:contains(Yes)"
STEPS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ Scenario: View Authored Hints
And the hint lightbulb shows no hints available

# Finally, verify that further clicking the lightbulb has no effect
When I press "lightbulb"
When I click selector "#lightbulb"
Then element ".csf-top-instructions button:contains(Yes)" does not exist
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ Scenario: Teacher can view own versions

And I wait for 1.5 seconds
And I ensure droplet is in text mode
And I wait until element "#resetButton" is visible
And I add another version to the project
And element ".project_updated_at" eventually contains text "Saved"

Expand Down
22 changes: 3 additions & 19 deletions lib/rake/ci.rake
Original file line number Diff line number Diff line change
Expand Up @@ -133,30 +133,14 @@ namespace :ci do
# use --config to override the local webdriver so SauceLabs is used
# instead.
RakeUtils.system_stream_output "bundle exec ./runner.rb " \
"--feature #{container_features.join(',')} " \
"--eyes " \
"--feature #{container_eyes_features.join(',')} " \
"--local " \
"--ci " \
"#{use_saucelabs ? "--config #{ui_test_browsers.join(',')} " : ''}" \
"--parallel #{PARALLEL_COUNT} " \
"--abort_when_failures_exceed 10 " \
"--retry_count 2 " \
"#{CI::Utils.tagged?(SKIP_LOCAL_WEBDRIVER) ? '' : '--first_run_local '}" \
"--output-synopsis " \
"--retry_count 1 " \
"--with-status-page " \
"--html"
if test_eyes?
RakeUtils.system_stream_output "bundle exec ./runner.rb " \
"--eyes " \
"--feature #{container_eyes_features.join(',')} " \
"--config Chrome,iPhone " \
"--local " \
"--ci " \
"--parallel #{PARALLEL_COUNT} " \
"--retry_count 1 " \
"#{CI::Utils.tagged?(SKIP_LOCAL_WEBDRIVER) ? '' : '--first_run_local '}" \
"--with-status-page " \
"--html"
end
end
close_sauce_connect if use_saucelabs || test_eyes?
RakeUtils.system_stream_output 'sleep 10'
Expand Down
Loading