Skip to content

Commit 0bc1c58

Browse files
authored
Update 'NoSetupRepoFactory' E2E test (#23314)
* Update 'NoSetupRepoFactory' E2E test * Update license header
1 parent 2f9d491 commit 0bc1c58

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

tests/e2e/specs/factory/NoSetupRepoFactory.spec.ts

+1-18
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/** *******************************************************************
2-
* copyright (c) 2021-2024 Red Hat, Inc.
2+
* copyright (c) 2021-2025 Red Hat, Inc.
33
*
44
* This program and the accompanying materials are made
55
* available under the terms of the Eclipse Public License 2.0
@@ -92,24 +92,7 @@ suite(
9292
});
9393

9494
if (FACTORY_TEST_CONSTANTS.TS_SELENIUM_IS_PRIVATE_FACTORY_GIT_REPO) {
95-
test(`Check that workspace cannot be created without PAT/OAuth for ${isPrivateRepo} repo`, async function (): Promise<void> {
96-
await dashboard.waitLoader();
97-
const loaderAlert: string = await dashboard.getLoaderAlert();
98-
expect(loaderAlert).to.contain('Could not reach devfile at');
99-
});
100-
101-
test('Check that workspace was not created', async function (): Promise<void> {
102-
await dashboard.openDashboard();
103-
await dashboard.clickWorkspacesButton();
104-
await workspaces.waitPage();
105-
const allCreatedWorkspacesNames: string[] = await workspaces.getAllCreatedWorkspacesNames();
106-
expect(allCreatedWorkspacesNames).has.length(numberOfCreatedWorkspaces);
107-
});
108-
10995
test('Check creating workspace using default devfile', async function (): Promise<void> {
110-
await browserTabsUtil.navigateTo(FACTORY_TEST_CONSTANTS.TS_SELENIUM_FACTORY_URL());
111-
await dashboard.waitLoader();
112-
await dashboard.clickContinueWithDefaultDevfileButton();
11396
await workspaceHandlingTests.obtainWorkspaceNameFromStartingPage();
11497
registerRunningWorkspace(WorkspaceHandlingTests.getWorkspaceName());
11598
await projectAndFileTests.waitWorkspaceReadinessForCheCodeEditor();

0 commit comments

Comments
 (0)