Skip to content

Commit

Permalink
slight test improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
mollykreis committed Sep 5, 2023
1 parent 41fa535 commit 044c6d9
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,10 @@ test.describe("Toolbar", () => {
<fast-toolbar>
<button slot="start">Start Slot Button</button>
<button>Button 1</button>
<button>Button 2 <div>more button content</div></button>
<button>
Button 2
<div>more button content</div>
</button>
<button>Button 3</button>
<button slot="end">End Slot Button</button>
</fast-toolbar>
Expand All @@ -397,7 +400,7 @@ test.describe("Toolbar", () => {

const button2 = element.locator("button", { hasText: "Button 2" });

const button2InnerContent = button2.locator("div", { hasText: "more button content" });
const button2InnerContent = button2.locator("div");

const startSlotButton = element.locator("button", {
hasText: "Start Slot Button",
Expand Down

0 comments on commit 044c6d9

Please sign in to comment.