Skip to content

Commit

Permalink
e2e tests (deephaven#1909)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmingles committed Apr 11, 2024
1 parent 91deda8 commit 962f64c
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 2 deletions.
11 changes: 9 additions & 2 deletions packages/code-studio/src/styleguide/ListViews.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ export function ListViews(): JSX.Element {
<div {...sampleSectionIdAndClasses('list-views')}>
<h2 className="ui-title">List View</h2>

<Grid columnGap={14} height="size-4600">
<Grid columnGap={14} height="size-6000">
<Text>Single Child</Text>
<ListView
density="compact"
gridRow="2"
aria-label="Single Child"
selectionMode="multiple"
Expand All @@ -48,7 +49,12 @@ export function ListViews(): JSX.Element {
</ListView>

<label>Icons</label>
<ListView gridRow="2" aria-label="Icon" selectionMode="multiple">
<ListView
gridRow="2"
aria-label="Icon"
density="compact"
selectionMode="multiple"
>
<Item textValue="Item with icon A">
<AccountIcon slot="image" />
<Text>Item with icon A</Text>
Expand All @@ -71,6 +77,7 @@ export function ListViews(): JSX.Element {
<ListView
gridRow="2"
aria-label="Mixed Children Types"
density="compact"
maxWidth="size-2400"
selectionMode="multiple"
defaultSelectedKeys={[999, 444]}
Expand Down
1 change: 1 addition & 0 deletions tests/styleguide.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const sampleSectionIds: string[] = [
'sample-section-context-menus',
'sample-section-dropdown-menus',
'sample-section-navigations',
'sample-section-list-views',
'sample-section-pickers',
'sample-section-tooltips',
'sample-section-icons',
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 962f64c

Please sign in to comment.