Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
6b50730
Remove patch-leafygreen-button
kraenhansen Sep 30, 2025
43dc230
Delete unused packages
kraenhansen Nov 21, 2025
f042cd0
Bump LG packages
kraenhansen Nov 17, 2025
581e012
Fix type error in e2e-tests
kraenhansen Oct 7, 2025
bb1f668
Fix incorrect React.Ref type argument in generative-ai
kraenhansen Sep 30, 2025
4116bf2
Add autoFocus prop to compass-editor
kraenhansen Oct 1, 2025
4c35c6a
Use named over default exports
kraenhansen Nov 17, 2025
0bde132
Fix Button / IconButton links
kraenhansen Sep 30, 2025
2c213a2
Fix ActionButton prop types
kraenhansen Sep 30, 2025
c4b510b
Remove defaultValue workaround
kraenhansen Nov 17, 2025
1643455
Fix SmallIconButton props
kraenhansen Sep 30, 2025
bfcd92c
TEMP: Working around https://jira.mongodb.org/browse/LG-5461
kraenhansen Sep 30, 2025
f8ab37d
Workaround for React.ComponentProps<typeof Button> no longer working
kraenhansen Sep 30, 2025
c33b90e
TEMP work around https://jira.mongodb.org/browse/LG-5590
kraenhansen Oct 1, 2025
f622a80
Fix issue passing Popover ref into IconButton
kraenhansen Oct 1, 2025
bd565a3
Fix check failure in guide-cue spec
kraenhansen Oct 7, 2025
66bc1e6
Removed extraneous ts-expect-error
kraenhansen Nov 5, 2025
6e99b2c
Update to account for breaking change in select v16.2.0
kraenhansen Nov 5, 2025
0be5d0a
Wait for crud elements to become visible before interacting
kraenhansen Nov 6, 2025
623bf10
Update existing tests to handle changes in Select
kraenhansen Nov 6, 2025
4142956
Fix index creation interactions with ComboBox
kraenhansen Nov 7, 2025
d4d2769
Update e2e tests to use setComboBoxValue instead of setValueVisible w…
kraenhansen Nov 7, 2025
2090deb
Update e2e tests to expect chat messages to not be displayed when dec…
kraenhansen Nov 7, 2025
d5ae3a0
Update ConnectDropdownButton to reflect change in SplitButton
kraenhansen Nov 10, 2025
b01bf22
Update e2e test to use a different selector for menu items in "CSV fi…
kraenhansen Nov 10, 2025
f3c65e4
Skip opening the assistant drawer if it's already open
kraenhansen Nov 11, 2025
c37c211
Assistant tests: Add option to useExplainPlanEntryPoint to avoid wait…
kraenhansen Nov 12, 2025
fac7e14
Assistant tests: Close drawer after every test.
kraenhansen Nov 17, 2025
d7329d0
Export ConfirmationModalProps fixing re-export of showConfirmation in…
kraenhansen Nov 17, 2025
12f7ae9
Update modal close selector
kraenhansen Nov 19, 2025
d276850
Update use of chat-provider v6
kraenhansen Nov 21, 2025
b2861ce
Update package lock
kraenhansen Nov 24, 2025
694ac4e
Update assistant tests to reflect change in LG
kraenhansen Nov 24, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Skip opening the assistant drawer if it's already open
  • Loading branch information
kraenhansen committed Nov 25, 2025
commit f3c65e476640c72d995ed63801799a205c6e8db6
5 changes: 4 additions & 1 deletion packages/compass-e2e-tests/tests/assistant.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,10 @@ describe('MongoDB Assistant', function () {
});

async function openAssistantDrawer(browser: CompassBrowser) {
await browser.clickVisible(Selectors.AssistantDrawerButton);
if (!(await browser.$(Selectors.AssistantDrawerCloseButton).isDisplayed())) {
await browser.clickVisible(Selectors.AssistantDrawerButton);
}
await browser.$(Selectors.AssistantDrawerCloseButton).waitForDisplayed();
}

async function clearChat(browser: CompassBrowser) {
Expand Down