Uploaded image for project: 'Test Engineering'
  1. TE-2465

Unit publishing tests failing on view live on Firefox 57

    Details

    • Sprint:
      [Tools] Butter Bolete

      Description

      Reference for Bok Choy upgrade process: https://openedx.atlassian.net/wiki/spaces/TE/pages/567083109/Firefox+57+upgrade+for+Bok+Choy+tests

      Description: As part of the Firefox upgrade on Jenkins, the following tests are failing, and need to be fixed

      Error Msg:

      AssertionError: 1 != 0
      

      Stack trace

      self = <common.test.acceptance.tests.studio.test_studio_container.UnitPublishingTest testMethod=test_view_live_changes>
      
          def test_view_live_changes(self):
              """
                  Scenario: "View Live" does not show draft content in LMS
                      Given I have a published unit with no unpublished changes
                      When I go to the unit page in Studio
                      And when I add a component to the unit
                      And when I click on the View Live button
                      Then I see the published content in LMS
                      And I do not see the unpublished component
                  """
              unit = self.go_to_unit_page()
              add_discussion(unit)
              self._view_published_version(unit)
      >       self._verify_components_visible(['html'])
      
      common/test/acceptance/tests/studio/test_studio_container.py:854: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      common/test/acceptance/tests/studio/test_studio_container.py:1124: in _verify_components_visible
          self.assertEqual(len(expected_components), self.courseware.num_xblock_components)
      E   AssertionError: 1 != 0
      

      Link to failing build: https://build.testeng.edx.org/job/edx-platform-test-subset/1100584/

      Tests Impacted:

      acceptance.tests.studio.test_studio_container.UnitPublishingTest.test_view_live_after_publish
      acceptance.tests.studio.test_studio_container.UnitPublishingTest.test_view_live_changes

        Attachments

          Activity

            People

            • Assignee:
              myoungstrom Mike Youngstrom (Inactive)
              Reporter:
              syoung Stuart Young
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: