[COMPASS-7102] Re-enable e2e tests that use keychain on macos Created: 10/Aug/23  Updated: 09/Jan/24  Resolved: 08/Dec/23

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

Type: Task Priority: Major - P3
Reporter: Sergey Petushkov Assignee: Basit Chonka
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Epic Link: COMPASS-6856
Story Points: 3
Documentation Changes: Not Needed
Sprint: Iteration Hagryphus, Iteration Qantassaurus

 Description   

We now have access to keychain password on macos in CI for GUI enabled machines, this should allow us to programmatically unlock keychain and re-enable the tests.

First thing to do for this ticket is just to generally try that unlocking works as expected and we can add and retrieve passwords so that BUILD-14458 can be resolved.

Another thing worth doing in addition to re-enabling tests is adding a cleanup when tests finish: machines are still stateful, so leftover keychain entries can mess up the test runs potentially. This also should make running these tests locally easier when electron version is changed



 Comments   
Comment by Githook User [ 09/Jan/24 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: tests: use mocked keychain on macos COMPASS-7102 (#5177)
Branch: remove-enable-gai-experience-feature-flag
https://github.com/mongodb-js/compass/commit/f5da912844b029d9b2241568ed019d77466872ff

Comment by Githook User [ 11/Dec/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: tests: use mocked keychain on macos COMPASS-7102 (#5177)
Branch: compass-7354-remove-global-app-registry-workspace-opening-events
https://github.com/mongodb-js/compass/commit/f5da912844b029d9b2241568ed019d77466872ff

Comment by Githook User [ 11/Dec/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: tests: use mocked keychain on macos COMPASS-7102 (#5177)
Branch: beta-releases
https://github.com/mongodb-js/compass/commit/f5da912844b029d9b2241568ed019d77466872ff

Comment by Githook User [ 08/Dec/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: tests: use mocked keychain on macos COMPASS-7102 (#5177)
Branch: add-change-view
https://github.com/mongodb-js/compass/commit/f5da912844b029d9b2241568ed019d77466872ff

Comment by Githook User [ 08/Dec/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: tests: use mocked keychain on macos COMPASS-7102 (#5177)
Branch: main
https://github.com/mongodb-js/compass/commit/f5da912844b029d9b2241568ed019d77466872ff

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