Skip to content

Commit e67aae9

Browse files
authored
test(shell-center-row): fix test (#8815)
## Summary previous test selected the <style> tag
1 parent 7d65205 commit e67aae9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/calcite-components/src/components/shell-center-row/shell-center-row.e2e.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,10 @@ describe("calcite-shell-center-row", () => {
5656
`;
5757
await page.setContent(pageContent);
5858

59-
const element = await page.find("calcite-shell-center-row");
59+
const element = await page.find("calcite-shell-center-row >>> div:first-of-type");
6060

6161
await page.waitForChanges();
62-
63-
expect(element.shadowRoot.firstElementChild).toHaveClass(CSS.actionBarContainer);
62+
expect(element).toHaveClass(CSS.actionBarContainer);
6463
});
6564

6665
it("should render action bar container last when action bar has end position", async () => {

0 commit comments

Comments
 (0)