From 59f68c21792ac19bce65c65efd0834ab912dd08d Mon Sep 17 00:00:00 2001 From: Will Daly Date: Wed, 15 May 2013 15:45:12 -0400 Subject: [PATCH 1/2] Added comments for skipped tests --- .../contentstore/features/advanced-settings.feature | 4 ++++ cms/djangoapps/contentstore/features/section.feature | 1 + .../features/studio-overview-togglesection.feature | 1 + cms/djangoapps/contentstore/features/subsection.feature | 1 + 4 files changed, 7 insertions(+) diff --git a/cms/djangoapps/contentstore/features/advanced-settings.feature b/cms/djangoapps/contentstore/features/advanced-settings.feature index f4d79cf412..6f6cc50702 100644 --- a/cms/djangoapps/contentstore/features/advanced-settings.feature +++ b/cms/djangoapps/contentstore/features/advanced-settings.feature @@ -11,6 +11,7 @@ Feature: Advanced (manual) course policy Given I am on the Advanced Course Settings page in Studio Then the settings are alphabetized + # Skipped because Ubuntu ChromeDriver cannot click notification "Cancel" @skip Scenario: Test cancel editing key value Given I am on the Advanced Course Settings page in Studio @@ -20,6 +21,7 @@ Feature: Advanced (manual) course policy And I reload the page Then the policy key value is unchanged + # Skipped because Ubuntu ChromeDriver cannot click notification "Save" @skip Scenario: Test editing key value Given I am on the Advanced Course Settings page in Studio @@ -28,6 +30,7 @@ Feature: Advanced (manual) course policy And I reload the page Then the policy key value is changed + # Skipped because Ubuntu ChromeDriver cannot edit CodeMirror input @skip Scenario: Test how multi-line input appears Given I am on the Advanced Course Settings page in Studio @@ -36,6 +39,7 @@ Feature: Advanced (manual) course policy And I reload the page Then it is displayed as formatted + # Skipped because Ubuntu ChromeDriver cannot edit CodeMirror input @skip Scenario: Test automatic quoting of non-JSON values Given I am on the Advanced Course Settings page in Studio diff --git a/cms/djangoapps/contentstore/features/section.feature b/cms/djangoapps/contentstore/features/section.feature index 9554172d45..236cf501fc 100644 --- a/cms/djangoapps/contentstore/features/section.feature +++ b/cms/djangoapps/contentstore/features/section.feature @@ -26,6 +26,7 @@ Feature: Create Section And I save a new section release date Then the section release date is updated + # Skipped because Ubuntu ChromeDriver hangs on alert @skip Scenario: Delete section Given I have opened a new course in Studio diff --git a/cms/djangoapps/contentstore/features/studio-overview-togglesection.feature b/cms/djangoapps/contentstore/features/studio-overview-togglesection.feature index 70cbd01e24..c9f5b43dfb 100644 --- a/cms/djangoapps/contentstore/features/studio-overview-togglesection.feature +++ b/cms/djangoapps/contentstore/features/studio-overview-togglesection.feature @@ -21,6 +21,7 @@ Feature: Overview Toggle Section Then I see the "Collapse All Sections" link And all sections are expanded + # Skipped because Ubuntu ChromeDriver hangs on alert @skip Scenario: Collapse link is not removed after last section of a course is deleted Given I have a course with 1 section diff --git a/cms/djangoapps/contentstore/features/subsection.feature b/cms/djangoapps/contentstore/features/subsection.feature index e968f5d0c1..8bb12467ff 100644 --- a/cms/djangoapps/contentstore/features/subsection.feature +++ b/cms/djangoapps/contentstore/features/subsection.feature @@ -32,6 +32,7 @@ Feature: Create Subsection And I reload the page Then I see the correct dates + # Skipped because Ubuntu ChromeDriver hangs on alert @skip Scenario: Delete a subsection Given I have opened a new course section in Studio From 4e118a080e5ed5347e97dd08a3dc35662d69ea72 Mon Sep 17 00:00:00 2001 From: Will Daly Date: Wed, 15 May 2013 15:48:03 -0400 Subject: [PATCH 2/2] Updated docs to add a note about Chrome / ChromeDriver revisions. --- doc/testing.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/testing.md b/doc/testing.md index 7b4b545e66..d6c7b7ee86 100644 --- a/doc/testing.md +++ b/doc/testing.md @@ -164,14 +164,15 @@ to simulate UI browser interactions. Splinter, in turn, uses [Selenium](http://docs.seleniumhq.org/) to control the Chrome browser. **Prerequisite**: You must have [ChromeDriver](https://code.google.com/p/selenium/wiki/ChromeDriver) -installed to run the tests in Chrome. +installed to run the tests in Chrome. The tests are confirmed to run +with Chrome (not Chromium) version 26.0.0.1410.63 with ChromeDriver +version r195636. To run all the acceptance tests: rake test_acceptance_lms rake test_acceptance_cms - To test only a specific feature: rake test_acceptance_lms[lms/djangoapps/courseware/features/problems.feature]