Skip to content

Commit

Permalink
Adjusting tests attempt.
Browse files Browse the repository at this point in the history
  • Loading branch information
afercia committed Oct 29, 2024
1 parent 0551a30 commit ef342f0
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ test.describe( 'Style Revisions', () => {
.getByRole( 'option', { name: 'Color: Luminous vivid amber' } )
.click( { force: true } );

await page.click( 'role=button[name="Back"]' );

await page.getByRole( 'button', { name: 'Styles revisions' } ).click();

const unSavedButton = page.getByRole( 'button', {
Expand Down Expand Up @@ -138,7 +140,7 @@ test.describe( 'Style Revisions', () => {
.click();

await navigationContainer
.getByRole( 'button', { name: 'Styles revisions' } )
.getByRole( 'button', { name: 'Revisions' } )
.click();

await expect(
Expand Down Expand Up @@ -181,7 +183,7 @@ test.describe( 'Style Revisions', () => {

// Deactivating revisions view while the style book is open should close revisions,
// but not the style book.
await revisionsButton.click();
await page.click( 'role=button[name="Back"]' );

// Style book is still visible but...
await expect(
Expand Down

0 comments on commit ef342f0

Please sign in to comment.