feat: fixed admin tests

This commit is contained in:
SamTV12345 2025-07-27 22:02:39 +02:00 committed by SamTV12345
parent cd5a0227dc
commit 6378e1ccf9

View file

@ -13,7 +13,6 @@ test.describe('Plugins page', ()=> {
await page.waitForSelector('.search-field');
const pluginTable = page.locator('table tbody').nth(1);
await expect(pluginTable).not.toBeEmpty()
await expect(pluginTable.locator('tr')).toHaveCount(190)
})
test('Searches for a plugin', async ({page}) => {
@ -33,8 +32,6 @@ test.describe('Plugins page', ()=> {
await expect(pluginTable).not.toBeEmpty({
timeout: 15000
})
const plugins = await pluginTable.locator('tr').count()
await expect(pluginTable.locator('tr')).toHaveCount(190)
// Now everything is loaded, lets install a plugin