Skip to content

Selenium Error Rate

Susan Dreher edited this page Apr 11, 2016 · 18 revisions

Record selenium exceptions as they happen, noting the test, the failure line & the date. Failures organized by feature.

assignment

Failures

  • assignment.feature 2. Student creates assignment response +2

  • And there is an open Composition panel

  • assignment.feature 3. Instructor provides response feedback +4

  • Then the owner is "Me" in the Composition column
    File "/home/travis/build/ccnmtl/mediathread/terrain.py", line 502, in the_owner_is_name_in_the_title_column if owner.text != name: StaleElementReferenceException: Message: {"errorMessage":"Element is no longer attached to the DOM",

  • assignment.feature 4. Assignment Response - visibility rules

  • Whole Class - all class members can view | Published to Class | test_student_two | 1 |

  • assignment.feature 4. Assignment Response - visibility rules

  • Instructor - only author(s) and instructor can view | Submitted to Instructor | test_instructor | 1 |
    File "/home/travis/build/ccnmtl/mediathread/terrain.py", line 235, in there_is_not_a_text_link assert False, "found the '%s' link" % text AssertionError: found the 'Sample Assignment Response' link

  • assignment.feature 4. Assignment Response - visibility rules

  • AssertionError: Cannot find link Published to Class

composition

Failures

  • composition.feature 3. Composition Visibility - Student Viewing Instructor Created Information

  • composition.feature 4. Homepage Composition Visibility - Student/Instructor Viewing Another Student's Compositions + 2

  • public | Whole Class - all class members can view | Published to Class | 1 |
    File "/home/travis/build/ccnmtl/mediathread/terrain.py", line 503, in the_owner_is_name_in_the_title_column if owner.text != name: `StaleElementReferenceException: Message: {"errorMessage":"Element is no longer attached to the DOM","request":

sliding panels

sliding_panels.feature 1. Composition At Various Resolutions
django.db.utils.IntegrityError: Problem installing fixture '/home/travis/build/ccnmtl/mediathread/mediathread/main/fixtures/sample_assignment.json': Could not load structuredcollaboration.Collaboration(pk=2): columns content_type_id, object_pk are not unique

homepage.delete

Failures

  • homepage.delete.feature 4. Student can delete his own response
  • Then there is not a "Sample Assignment Response" link

quickedit

Failures

  • quickedit.feature 2. Instructor creates a selection
  • Then the "Create Selection" form disappears
  • quickedit.feature 3. Instructor edits a selection
    mediathread/projects/features/project-steps.py:262 Then the "Edit Selection" form disappears

single_asset_view

Failures

  • single_asset_view.feature 3. Edit global annotation as student +3
  • And I see "Here are my notes"
  • single_asset_view.feature 2. Edit global annotation Then the item header is "Updated MAAP Award Reception"
    # mediathread/assetmgr/features/assetmgr-steps.py:11 Traceback (most recent call last): File "/home/travis/build/ccnmtl/mediathread/ve/lib/python2.7/site-packages/lettuce/core.py", line 144, in __call__ ret = self.function(self.step, *args, **kw) File "/home/travis/build/ccnmtl/mediathread/mediathread/assetmgr/features/assetmgr-steps.py", line 16, in the_item_header_is_name elt = wait.until(visibility_of_element_located((By.XPATH, selector))) File "/home/travis/build/ccnmtl/mediathread/ve/lib/python2.7/site-packages/selenium/webdriver/support/wait.py", line 80, in until raise TimeoutException(message, screen, stacktrace)
  • single_asset_view.feature 4. References tab 3/28/2016
    Then I save the changes # terrain.py:810
    And there is a "Published to Class" link # terrain.py:235
    Traceback (most recent call last): File "/home/travis/build/ccnmtl/mediathread/ve/lib/python2.7/site-packages/lettuce/core.py", line 144, in __call__ ret = self.function(self.step, *args, **kw) File "/home/travis/build/ccnmtl/mediathread/terrain.py", line 247, in there_is_a_text_link wait.until(visibility_of_element_located((By.PARTIAL_LINK_TEXT, text))) File "/home/travis/build/ccnmtl/mediathread/ve/lib/python2.7/site-packages/selenium/webdriver/support/wait.py", line 80, in until raise TimeoutException(message, screen, stacktrace) TimeoutException: Message: Screenshot: available via screen

taxonomy

Failures

  • taxonomy.feature 1. Create, Duplicate, Delete Taxonomy
    • Then there is a "Colors" concept
      File "/home/travis/build/ccnmtl/mediathread/mediathread/taxonomy/features/taxonomy-steps.py", line 215, in there_is_a_text_concept