[CORL 131] User Menu Dropdown (#2225)

* chore: simplify popover

* feat: add dropdown component

* feat: user menu

* chore: add comment

* chore: refactor i18n name

* fix: linting

* fix: test

* fix: address review comments

* fix: update snapshot
This commit is contained in:
Kiwi
2019-03-20 21:26:05 +01:00
committed by GitHub
parent 41db413bea
commit 7ce02620e9
45 changed files with 713 additions and 229 deletions
@@ -46,6 +46,14 @@ it("logs out", async () => {
.once()
.returns({});
const userMenu = await waitForElement(() =>
within(testRenderer.root).getByText(users[0].username, {
selector: "button",
})
);
userMenu.props.onClick();
const signOutButton = await waitForElement(() =>
within(testRenderer.root).getByText("Sign Out")
);