From e4234fe6aba47188a43a34ef3e5f92c3fe7fa619 Mon Sep 17 00:00:00 2001 From: Otto Richter Date: Wed, 11 Sep 2024 14:30:29 +0200 Subject: [PATCH] tests(e2e): remove unnecessary example test The login behaviour is basically covered in login_user from utils_e2e.js, too. --- tests/e2e/example.test.e2e.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/tests/e2e/example.test.e2e.js b/tests/e2e/example.test.e2e.js index 874faab67b..06c70d0355 100644 --- a/tests/e2e/example.test.e2e.js +++ b/tests/e2e/example.test.e2e.js @@ -29,21 +29,6 @@ test('Register Form', async ({page}, workerInfo) => { save_visual(page); }); -test('Login Form', async ({page}, workerInfo) => { - const response = await page.goto('/user/login'); - await expect(response?.status()).toBe(200); // Status OK - - await page.type('input[name=user_name]', `user2`); - await page.type('input[name=password]', `password`); - await page.click('form button.ui.primary.button:visible'); - - await page.waitForLoadState('networkidle'); - - await expect(page.url()).toBe(`${workerInfo.project.use.baseURL}/`); - - save_visual(page); -}); - test('Logged In User', async ({browser}, workerInfo) => { const context = await load_logged_in_context(browser, workerInfo, 'user2'); const page = await context.newPage();