Skip to content

Commit

Permalink
Adjust one more test.
Browse files Browse the repository at this point in the history
  • Loading branch information
afercia committed Jan 10, 2025
1 parent bfc0955 commit 48e7b83
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ describe( 'ColorPaletteControl', () => {
).toBeInTheDocument();

// Is showing the two predefined Colors.
expect( screen.getAllByLabelText( /^Color:/ ) ).toHaveLength( 2 );
expect( screen.getAllByRole( 'option' ) ).toHaveLength( 2 );
} );

it( 'renders the color picker and does not render tabs if it is only possible to select a color', async () => {
Expand Down Expand Up @@ -80,7 +80,7 @@ describe( 'ColorPaletteControl', () => {
).not.toBeInTheDocument();

// Is showing the two predefined Colors.
expect( screen.getAllByLabelText( /^Color:/ ) ).toHaveLength( 2 );
expect( screen.getAllByRole( 'option' ) ).toHaveLength( 2 );
} );

it( 'renders the gradient picker and does not render tabs if it is only possible to select a gradient', async () => {
Expand Down

0 comments on commit 48e7b83

Please sign in to comment.