Skip to content

Commit

Permalink
Mobile - Cover - Revert test change due to colors update
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerardo committed Feb 2, 2022
1 parent 8752124 commit b542e4e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/block-library/src/cover/test/edit.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const COVER_BLOCK_SOLID_COLOR_HTML = `<!-- wp:cover {"overlayColor":"cyan-bluish
<!-- /wp:paragraph --></div></div>
<!-- /wp:cover -->`;

const COLOR_CYAN = '#0693e3';
const COLOR_PINK = '#f78da7';
const COLOR_RED = '#cf2e2e';
const COLOR_GRAY = '#abb8c3';
const GRADIENT_GREEN =
Expand Down Expand Up @@ -308,7 +308,7 @@ describe( 'color settings', () => {
const colorPalette = await waitFor( () =>
getByTestId( 'color-palette' )
);
const colorButton = within( colorPalette ).getByTestId( COLOR_CYAN );
const colorButton = within( colorPalette ).getByTestId( COLOR_PINK );

expect( colorButton ).toBeDefined();
fireEvent.press( colorButton );
Expand Down Expand Up @@ -338,7 +338,7 @@ describe( 'color settings', () => {

// Find the selected color
const colorPaletteButton = await waitFor( () =>
getByTestId( COLOR_CYAN )
getByTestId( COLOR_PINK )
);
expect( colorPaletteButton ).toBeDefined();

Expand Down Expand Up @@ -420,7 +420,7 @@ describe( 'color settings', () => {
const colorPalette = await waitFor( () =>
getByTestId( 'color-palette' )
);
const colorButton = within( colorPalette ).getByTestId( COLOR_CYAN );
const colorButton = within( colorPalette ).getByTestId( COLOR_PINK );

expect( colorButton ).toBeDefined();
fireEvent.press( colorButton );
Expand Down Expand Up @@ -450,7 +450,7 @@ describe( 'color settings', () => {

// Find the selected color
const colorPaletteButton = await waitFor( () =>
getByTestId( COLOR_CYAN )
getByTestId( COLOR_PINK )
);
expect( colorPaletteButton ).toBeDefined();

Expand Down

0 comments on commit b542e4e

Please sign in to comment.