Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Index view for Templates & Parts: use grid layout as default #60069

Merged
merged 3 commits into from
Apr 4, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update hybrid-theme e2e test
  • Loading branch information
oandregal committed Apr 4, 2024
commit 53c8e2261ae29b9a1400595e586cca5a822ba928
6 changes: 2 additions & 4 deletions test/e2e/specs/site-editor/hybrid-theme.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ test.describe( 'Hybrid theme', () => {
);

await expect(
page.getByRole( 'table' ).getByRole( 'link', { name: 'header' } )
page.getByRole( 'link', { name: 'header' } )
).toBeVisible();
} );

Expand All @@ -29,9 +29,7 @@ test.describe( 'Hybrid theme', () => {
'postType=wp_template_part&path=/wp_template_part/all'
);

const templatePart = page
.getByRole( 'table' )
.getByRole( 'link', { name: 'header' } );
const templatePart = page.getByRole( 'link', { name: 'header' } );

await expect( templatePart ).toBeVisible();
await templatePart.click();
Expand Down