[COMPASS-5128] Refactor compass-connect file input into compass-components, use in compass-import-export Created: 01/Oct/21  Updated: 16/Nov/21  Resolved: 03/Nov/21

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

Type: Task Priority: Major - P3
Reporter: Le Roux Bodenstein Assignee: Le Roux Bodenstein
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by COMPASS-5047 Expand compass-e2e-tests to cover at ... Closed
is depended on by COMPASS-5232 Add connection `TLS/SSL` tab form inputs Closed
is depended on by COMPASS-5233 Add connection `SSH` tab form inputs Closed
Epic Link: COMPASS-4764
Story Points: 3
Documentation Changes: Not Needed
Sprint: Iteration Novokuybyshevsk, Iteration Orlando

 Description   

The file picker code (part of import-options) in compass-import-export doesn't use a standard <input type="file"> so we cannot test it using webdriver (chromedriver / spectron).

The one in compass-connect had the same problem and was refactored to use leafygreen. We can do the same in import-export, but then we have quite a bit of duplication. Alternatively we can move it to compass-components, but then we have to deal with .less and enzyme.



 Comments   
Comment by Githook User [ 10/Nov/21 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: chore: Move the file input code to compass-components and add import e2e test COMPASS-5128, COMPASS-5047 (#2554)
Branch: 1.29-releases
https://github.com/mongodb-js/compass/commit/c94f7dcec1dbf8f8219937e6d838dd7d5552a228

Comment by Githook User [ 02/Nov/21 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: chore: Move the file input code to compass-components and add import e2e test COMPASS-5128, COMPASS-5047 (#2554)
Branch: COMPASS-5229
https://github.com/mongodb-js/compass/commit/c94f7dcec1dbf8f8219937e6d838dd7d5552a228

Comment by Githook User [ 02/Nov/21 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: chore: Move the file input code to compass-components and add import e2e test COMPASS-5128, COMPASS-5047 (#2554)
Branch: compass-home-ts
https://github.com/mongodb-js/compass/commit/c94f7dcec1dbf8f8219937e6d838dd7d5552a228

Comment by Githook User [ 02/Nov/21 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: chore: Move the file input code to compass-components and add import e2e test COMPASS-5128, COMPASS-5047 (#2554)
Branch: COMPASS-5192-connection-tracking
https://github.com/mongodb-js/compass/commit/c94f7dcec1dbf8f8219937e6d838dd7d5552a228

Comment by Githook User [ 02/Nov/21 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: chore: Move the file input code to compass-components and add import e2e test COMPASS-5128, COMPASS-5047 (#2554)
Branch: main
https://github.com/mongodb-js/compass/commit/c94f7dcec1dbf8f8219937e6d838dd7d5552a228

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