Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-992

Fix and enable CRUD functional tests

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • None
    • CI
    • None

    Description

      With merging COMPASS-857 CRUD tests were skipped because inserting documents test sometimes failed in travis. Since the remainder of CRUD functional tests depended on inserting the first document it didn't make sense to skip just the first test.

      The goal of this ticket is the unskip the CRUD functional tests by making the initial insert document test pass reliably in travis.

      The error output for CRUD test:

      1) #crud when manipulating documents in the crud view when inserting a document when the document is valid creates the document #race: 
      Error: An element could not be located on the page using the given search parameters ("[data-test-id='insert-document-modal'] input.editable-element-field[value='']"). 
      at elements("[data-test-id='insert-document-modal'] input.editable-element-field[value='']") - setValue.js:29:17
      at click("[data-test-id='insert-document-modal'] .document-elements .editable-element:last-child div.line-number [data-test-id='add-field-after']") - spectron-crud.js:341:1
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            satyendra.sinha@mongodb.com Satyendra Sinha
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: