Skip to content

Fix up 'Factory' E2E tests - #23497

Merged
artaleks9 merged 3 commits into
mainfrom
che#23492
Jul 22, 2025
Merged

Fix up 'Factory' E2E tests #23497
artaleks9 merged 3 commits into
mainfrom
che#23492

Conversation

@artaleks9

Copy link
Copy Markdown
Contributor

What does this PR do?

  • Fixes the Factory flow E2E tests due to the changes in che-editor
  • Formats CODE_STYLE file

Screenshot/screencast of this PR

[ashmaraiev@fedora e2e]$ npm run prettier

> @eclipse-che/che-e2e@7.107.0-next prettier
> prettier --config .prettierrc.json . --write

.eslintrc.js 72ms (unchanged)
.prettierrc.json 3ms (unchanged)
CODE_STYLE.md 67ms
configs/inversify.config.ts 111ms (unchanged)
configs/inversify.types.ts 12ms (unchanged)
configs/mocharc.ts 12ms (unchanged)
configs/reporters.config.js 11ms (unchanged)
constants/API_TEST_CONSTANTS.ts 17ms (unchanged)
constants/BASE_TEST_CONSTANTS.ts 21ms (unchanged)
constants/CHROME_DRIVER_CONSTANTS.ts 9ms (unchanged)
constants/FACTORY_TEST_CONSTANTS.ts 11ms (unchanged)
constants/MOCHA_CONSTANTS.ts 7ms (unchanged)
constants/MONACO_CONSTANTS.ts 3ms (unchanged)
constants/OAUTH_CONSTANTS.ts 9ms (unchanged)
constants/PLUGIN_TEST_CONSTANTS.ts 3ms (unchanged)
constants/REPORTER_CONSTANTS.ts 18ms (unchanged)
constants/TIMEOUT_CONSTANTS.ts 14ms (unchanged)
driver/ChromeDriver.ts 23ms (unchanged)
driver/IDriver.ts 3ms (unchanged)
package-lock.json 135ms (unchanged)
package.json 3ms (unchanged)
pageobjects/dashboard/CreateWorkspace.ts 27ms (unchanged)
pageobjects/dashboard/Dashboard.ts 46ms (unchanged)
pageobjects/dashboard/TrustAuthorPopup.ts 18ms (unchanged)
pageobjects/dashboard/UserPreferences.ts 24ms (unchanged)
pageobjects/dashboard/workspace-details/WorkspaceDetails.ts 24ms (unchanged)
pageobjects/dashboard/Workspaces.ts 42ms (unchanged)
pageobjects/git-providers/OauthPage.ts 31ms (unchanged)
pageobjects/ide/CheCodeLocatorLoader.ts 13ms (unchanged)
pageobjects/ide/CommandPalette.ts 16ms (unchanged)
pageobjects/ide/ExplorerView.ts 11ms (unchanged)
pageobjects/ide/ExtensionsView.ts 19ms (unchanged)
pageobjects/ide/NotificationHandler.ts 10ms (unchanged)
pageobjects/ide/RestrictedModeButton.ts 5ms (unchanged)
pageobjects/ide/ViewsMoreActionsButton.ts 8ms (unchanged)
pageobjects/login/interfaces/ICheLoginPage.ts 2ms (unchanged)
pageobjects/login/interfaces/IOcpLoginPage.ts 3ms (unchanged)
pageobjects/login/kubernetes/DexLoginPage.ts 7ms (unchanged)
pageobjects/login/kubernetes/KubernetesLoginPage.ts 5ms (unchanged)
pageobjects/login/openshift/OcpLoginPage.ts 12ms (unchanged)
pageobjects/login/openshift/OcpRedHatLoginPage.ts 6ms (unchanged)
pageobjects/login/openshift/OcpUserLoginPage.ts 5ms (unchanged)
pageobjects/login/openshift/RedHatLoginPage.ts 11ms (unchanged)
pageobjects/login/openshift/RegularUserOcpCheLoginPage.ts 7ms (unchanged)
pageobjects/openshift/OcpApplicationPage.ts 6ms (unchanged)
pageobjects/openshift/OcpImportFromGitPage.ts 18ms (unchanged)
pageobjects/openshift/OcpMainPage.ts 13ms (unchanged)
pageobjects/webterminal/WebTerminalPage.ts 25ms (unchanged)
README.md 32ms (unchanged)
specs/api/AnsibleDevFileAPI.spec.ts 60ms (unchanged)
specs/api/BuildPushRunPodmanContainerAPI.spec.ts 25ms (unchanged)
specs/api/ContainerOverridesAPI.spec.ts 9ms (unchanged)
specs/api/CppDevFileAPI.spec.ts 21ms (unchanged)
specs/api/DevfileAcceptanceTestAPI.spec.ts 31ms (unchanged)
specs/api/DotnetDevFileAPI.spec.ts 22ms (unchanged)
specs/api/EmptyWorkspaceAPI.spec.ts 15ms (unchanged)
specs/api/GoDevFileAPI.spec.ts 20ms (unchanged)
specs/api/InbuiltApplicationDevWorkspacesAPI.spec.ts 34ms (unchanged)
specs/api/JBossEapDevFileAPI.spec.ts 29ms (unchanged)
specs/api/LombokDevFileAPI.spec.ts 16ms (unchanged)
specs/api/NodeJsExpressDevFileAPI.spec.ts 33ms (unchanged)
specs/api/NodeJSMongoDBDevFileAPI.spec.ts 20ms (unchanged)
specs/api/PhpDevFileAPI.spec.ts 18ms (unchanged)
specs/api/PodOverridesAPI.spec.ts 10ms (unchanged)
specs/api/PythonDevFileAPI.spec.ts 13ms (unchanged)
specs/api/QuarkusDevFileAPI.spec.ts 24ms (unchanged)
specs/dashboard-samples/Documentation.spec.ts 22ms (unchanged)
specs/dashboard-samples/EmptyWorkspace.spec.ts 8ms (unchanged)
specs/dashboard-samples/Quarkus.spec.ts 13ms (unchanged)
specs/dashboard-samples/RecommendedExtensions.spec.ts 92ms (unchanged)
specs/devconsole-intergration/DevConsoleIntegration.spec.ts 32ms (unchanged)
specs/factory/Factory.spec.ts 43ms (unchanged)
specs/factory/FactoryWithGitRepoOptions.spec.ts 14ms (unchanged)
specs/factory/NoSetupRepoFactory.spec.ts 45ms (unchanged)
specs/factory/RefusedOAuthFactory.spec.ts 51ms (unchanged)
specs/miscellaneous/CreateWorkspaceWithExistedName.spec.ts 12ms (unchanged)
specs/miscellaneous/CustomOpenVSXRegistry.spec.ts 37ms (unchanged)
specs/miscellaneous/KubedockPodmanTest.spec.ts 10ms (unchanged)
specs/miscellaneous/PredefinedNamespace.spec.ts 11ms (unchanged)
specs/miscellaneous/RevokeOauth.spec.ts 5ms (unchanged)
specs/miscellaneous/UserPreferencesTest.spec.ts 4ms (unchanged)
specs/miscellaneous/UserSecretsInWorkspace.spec.ts 10ms (unchanged)
specs/miscellaneous/VsixInstallationDisableTest.spec.ts 35ms (unchanged)
specs/miscellaneous/WorkspaceIdleTimeout.spec.ts 16ms (unchanged)
specs/miscellaneous/WorkspaceRunTimeout.spec.ts 15ms (unchanged)
specs/miscellaneous/WorkspaceWithParent.spec.ts 21ms (unchanged)
specs/MochaHooks.ts 11ms (unchanged)
specs/SmokeTest.spec.ts 13ms (unchanged)
specs/web-terminal/WebTerminalTest.spec.ts 7ms (unchanged)
specs/web-terminal/WebTerminalUnderAdmin.spec.ts 9ms (unchanged)
specs/web-terminal/WebTerminalUnderRegularUser.spec.ts 9ms (unchanged)
suites/devfile-acceptance-test-suite/DynamicallyGeneratingAPITest.suite.ts 1ms (unchanged)
suites/disconnected-ocp/APITest.suite.ts 2ms (unchanged)
suites/disconnected-ocp/DynamicallyGeneratingAPITest.suite.ts 1ms (unchanged)
suites/disconnected-ocp/UITest.suite.ts 1ms (unchanged)
suites/online-ocp/APITest.suite.ts 2ms (unchanged)
suites/online-ocp/DynamicallyGeneratingAPITest.suite.ts 2ms (unchanged)
suites/online-ocp/UITest.suite.ts 2ms (unchanged)
tests-library/LoginTests.ts 7ms (unchanged)
tests-library/ProjectAndFileTests.ts 12ms (unchanged)
tests-library/WorkspaceHandlingTests.ts 15ms (unchanged)
tsconfig.json 2ms (unchanged)
utils/BrowserTabsUtil.ts 15ms (unchanged)
utils/CheReporter.ts 41ms (unchanged)
utils/DevfilesHelper.ts 29ms (unchanged)
utils/DevWorkspaceConfigurationHelper.ts 12ms (unchanged)
utils/DriverHelper.ts 102ms (unchanged)
utils/IContextParams.ts 4ms (unchanged)
utils/IKubernetesCommandLineToolsExecutor.ts 3ms (unchanged)
utils/KubernetesCommandLineToolsExecutor.ts 40ms (unchanged)
utils/Logger.ts 13ms (unchanged)
utils/request-handlers/CheApiRequestHandler.ts 13ms (unchanged)
utils/request-handlers/headers/CheMultiuserAuthorizationHeaderHandler.ts 6ms (unchanged)
utils/request-handlers/headers/IAuthorizationHeaderHandler.ts 2ms (unchanged)
utils/ScreenCatcher.ts 12ms (unchanged)
utils/ShellExecutor.ts 4ms (unchanged)
utils/StringUtil.ts 6ms (unchanged)
utils/workspace/ApiUrlResolver.ts 5ms (unchanged)
utils/workspace/ITestWorkspaceUtil.ts 4ms (unchanged)
utils/workspace/TestWorkspaceUtil.ts 24ms (unchanged)
utils/workspace/WorkspaceStatus.ts 2ms (unchanged)

[ashmaraiev@fedora e2e]$ npm run lint

> @eclipse-che/che-e2e@7.107.0-next lint
> eslint --fix .

[ashmaraiev@fedora e2e]$ 

What issues does this PR fix or reference?

#23492

How to test this PR?

Run Factory.spec.ts / NoSetupRepoFactory.spec.ts/RefusedOAuthFactory.spec.ts usually

PR Checklist

As the author of this Pull Request I made sure that:

Reviewers

Reviewers, please comment how you tested the PR when approving it.

@artaleks9
artaleks9 removed the request for review from musienko-maxim July 21, 2025 14:47

@dmytro-ndp dmytro-ndp left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to merge

@artaleks9
artaleks9 merged commit c8d9d19 into main Jul 22, 2025
6 checks passed
@artaleks9
artaleks9 deleted the che#23492 branch July 22, 2025 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants