feat(ui): connect AWS accounts in a single wizard step (#12852)

Co-authored-by: alejandrobailo <alejandrobailo94@gmail.com>
This commit is contained in:
Pedro Martín
2026-09-22 18:21:55 +02:00
committed by GitHub
co-authored by alejandrobailo
parent 50a9138bea
commit ea36f12a01
70 changed files with 4076 additions and 931 deletions
@@ -29,6 +29,7 @@ describe("SidePanelTrigger discovery callout", () => {
});
afterEach(() => {
document.body.classList.remove("driver-active");
vi.useRealTimers();
});
@@ -49,6 +50,20 @@ describe("SidePanelTrigger discovery callout", () => {
).toBeInTheDocument();
});
it("stays usable above a running product tour", () => {
// Given: driver.js dims and disables everything outside its spotlight.
document.body.classList.add("driver-active");
render(<SidePanelTrigger />);
// When
act(() => vi.advanceTimersByTime(HINT_DELAY_MS));
// Then: the callout opts out of that, so it is visible and dismissible.
expect(screen.getByTestId("side-panel-ai-hint")).toHaveAttribute(
"data-tour-interactive",
);
});
it("never surfaces the callout again once seen", () => {
// Given: a returning user
useSidePanelStore.setState({ hasSeenAiTriggerHint: true });