[COMPASS-992] Fix and enable CRUD functional tests Created: 02/Apr/17  Updated: 10/Jan/24  Resolved: 13/Nov/19

Status: Closed
Project: Compass
Component/s: CI
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Satyendra Sinha Assignee: Unassigned
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: COMPASS-2228
Documentation Changes: Not Needed

 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


Generated at Wed Feb 07 22:26:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.