From ba70e2a7602e87978c81f59fcfcb83ab1d4fbd6f Mon Sep 17 00:00:00 2001 From: Aleksandr Shmaraiev Date: Thu, 16 Jan 2025 17:21:32 +0200 Subject: [PATCH] Update 'NoSetupRepoFactory' E2E test --- .../specs/factory/NoSetupRepoFactory.spec.ts | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/tests/e2e/specs/factory/NoSetupRepoFactory.spec.ts b/tests/e2e/specs/factory/NoSetupRepoFactory.spec.ts index fea2fdee730..2795daefe25 100644 --- a/tests/e2e/specs/factory/NoSetupRepoFactory.spec.ts +++ b/tests/e2e/specs/factory/NoSetupRepoFactory.spec.ts @@ -92,24 +92,7 @@ suite( }); if (FACTORY_TEST_CONSTANTS.TS_SELENIUM_IS_PRIVATE_FACTORY_GIT_REPO) { - test(`Check that workspace cannot be created without PAT/OAuth for ${isPrivateRepo} repo`, async function (): Promise { - await dashboard.waitLoader(); - const loaderAlert: string = await dashboard.getLoaderAlert(); - expect(loaderAlert).to.contain('Could not reach devfile at'); - }); - - test('Check that workspace was not created', async function (): Promise { - await dashboard.openDashboard(); - await dashboard.clickWorkspacesButton(); - await workspaces.waitPage(); - const allCreatedWorkspacesNames: string[] = await workspaces.getAllCreatedWorkspacesNames(); - expect(allCreatedWorkspacesNames).has.length(numberOfCreatedWorkspaces); - }); - test('Check creating workspace using default devfile', async function (): Promise { - await browserTabsUtil.navigateTo(FACTORY_TEST_CONSTANTS.TS_SELENIUM_FACTORY_URL()); - await dashboard.waitLoader(); - await dashboard.clickContinueWithDefaultDevfileButton(); await workspaceHandlingTests.obtainWorkspaceNameFromStartingPage(); registerRunningWorkspace(WorkspaceHandlingTests.getWorkspaceName()); await projectAndFileTests.waitWorkspaceReadinessForCheCodeEditor();