Skip to content

Commit 09a2f14

Browse files
committed
remove redundant comments
1 parent 048291c commit 09a2f14

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tests/e2e/admin-page.spec.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,18 @@ import { test, expect } from '@playwright/test';
22

33
test.describe('Code Snippets Admin Page @admin', () => {
44
test('should display the Functions tab on the snippets admin page', async ({ page }) => {
5-
// First, log in to WordPress
65
await page.goto('/wp-login.php');
76
await page.fill('#user_login', 'admin');
87
await page.fill('#user_pass', 'password');
98
await page.click('#wp-submit');
109
await page.waitForURL(/wp-admin/);
1110

12-
// Navigate to the Code Snippets admin page
1311
await page.goto('/wp-admin/admin.php?page=snippets');
1412

15-
// Wait for the page to load
1613
await page.waitForLoadState('networkidle');
1714

18-
// Look for the Functions tab - just check if it exists
1915
const functionsTab = page.locator('text=Functions').first();
2016

21-
// Check that the tab exists and is visible
2217
await expect(functionsTab).toBeVisible();
2318
});
2419
});

0 commit comments

Comments
 (0)