Skip to content

Commit

Permalink
WIP - ignore pixels correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
mvollmer committed Nov 29, 2023
1 parent c5089e7 commit a200b40
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion pkg/storaged/pages.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,9 @@ export const PageTable = ({ emptyCaption, aria_label, pages, crossrefs, sorted,
<Card key={key} onClick={onClick}
className={"ct-small-table-card" +
(page.location ? " ct-clickable-card" : null) +
(is_new ? " ct-new-item" : "")}>
(is_new ? " ct-new-item" : "")}
data-test-row-name={page.name}
data-test-row-location={page.columns[1]}>
<CardBody>
<Split hasGutter>
{ icon && <SplitItem>{icon}</SplitItem> }
Expand Down
2 changes: 1 addition & 1 deletion test/verify/check-storage-basic
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class TestStorageBasic(storagelib.StorageCase):
b.wait_visible(self.card_row("Storage", name=disk))
b.assert_pixels(self.card("Storage"), "overview",
# Usage numbers for the root filesystem are not stable
ignore=[self.card_row("Storage", location="/")])
ignore=["[data-test-row-location='/']"])
self.force_remove_disk(disk)
b.wait_not_present(self.card_row("Storage", name=disk))

Expand Down

0 comments on commit a200b40

Please sign in to comment.