|
1 | 1 | /** *******************************************************************
|
2 |
| - * copyright (c) 2021-2024 Red Hat, Inc. |
| 2 | + * copyright (c) 2021-2025 Red Hat, Inc. |
3 | 3 | *
|
4 | 4 | * This program and the accompanying materials are made
|
5 | 5 | * available under the terms of the Eclipse Public License 2.0
|
@@ -92,24 +92,7 @@ suite(
|
92 | 92 | });
|
93 | 93 |
|
94 | 94 | 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 |
| - |
109 | 95 | 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(); |
113 | 96 | await workspaceHandlingTests.obtainWorkspaceNameFromStartingPage();
|
114 | 97 | registerRunningWorkspace(WorkspaceHandlingTests.getWorkspaceName());
|
115 | 98 | await projectAndFileTests.waitWorkspaceReadinessForCheCodeEditor();
|
|
0 commit comments