@podman-desktop/tests-playwright 1.25.0-next.202512121024-9b149ef → 1.25.0-next.202512121222-dd9b4f2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (178) hide show
  1. package/dist/index.d.ts +2 -96
  2. package/dist/index.js +679 -614
  3. package/dist/index.js.map +1 -1
  4. package/dist/{model/pages/resource-cli-card-page.d.ts → playwright.config.d.ts} +2 -3
  5. package/dist/tests/playwright/src/index.d.ts +96 -0
  6. package/dist/{model → tests/playwright/src/model}/components/dropdown-component.d.ts +1 -18
  7. package/dist/tests/playwright/src/model/pages/authentication-page.d.ts +11 -0
  8. package/dist/tests/playwright/src/model/pages/base-page.d.ts +6 -0
  9. package/dist/{model → tests/playwright/src/model}/pages/build-image-page.d.ts +1 -18
  10. package/dist/{model → tests/playwright/src/model}/pages/cli-tools-page.d.ts +1 -18
  11. package/dist/tests/playwright/src/model/pages/cluster-creation-base-page.d.ts +13 -0
  12. package/dist/tests/playwright/src/model/pages/command-palette.d.ts +7 -0
  13. package/dist/tests/playwright/src/model/pages/compose-onboarding/compose-failed-page.d.ts +6 -0
  14. package/dist/tests/playwright/src/model/pages/compose-onboarding/compose-local-install-page.d.ts +6 -0
  15. package/dist/tests/playwright/src/model/pages/compose-onboarding/compose-onboarding-page.d.ts +6 -0
  16. package/dist/tests/playwright/src/model/pages/compose-onboarding/compose-version-page.d.ts +7 -0
  17. package/dist/tests/playwright/src/model/pages/compose-onboarding/compose-wide-install-page.d.ts +6 -0
  18. package/dist/{model → tests/playwright/src/model}/pages/container-details-page.d.ts +1 -18
  19. package/dist/{model → tests/playwright/src/model}/pages/containers-page.d.ts +1 -18
  20. package/dist/tests/playwright/src/model/pages/create-kind-cluster-page.d.ts +16 -0
  21. package/dist/tests/playwright/src/model/pages/create-machine-page.d.ts +19 -0
  22. package/dist/tests/playwright/src/model/pages/create-network-page.d.ts +14 -0
  23. package/dist/tests/playwright/src/model/pages/create-pod-page.d.ts +12 -0
  24. package/dist/tests/playwright/src/model/pages/create-volume-page.d.ts +13 -0
  25. package/dist/{model → tests/playwright/src/model}/pages/dashboard-page.d.ts +1 -18
  26. package/dist/{model → tests/playwright/src/model}/pages/deploy-to-kubernetes-page.d.ts +2 -19
  27. package/dist/tests/playwright/src/model/pages/details-page.d.ts +16 -0
  28. package/dist/tests/playwright/src/model/pages/docker-compatibility-page.d.ts +12 -0
  29. package/dist/tests/playwright/src/model/pages/experimental-page.d.ts +12 -0
  30. package/dist/{model → tests/playwright/src/model}/pages/extension-card-page.d.ts +1 -18
  31. package/dist/tests/playwright/src/model/pages/extension-catalog-card-page.d.ts +14 -0
  32. package/dist/tests/playwright/src/model/pages/extension-details-page.d.ts +20 -0
  33. package/dist/{model → tests/playwright/src/model}/pages/extensions-page.d.ts +2 -19
  34. package/dist/{model → tests/playwright/src/model}/pages/forms/machine-creation-form.d.ts +4 -21
  35. package/dist/{model → tests/playwright/src/model}/pages/image-details-page.d.ts +1 -18
  36. package/dist/tests/playwright/src/model/pages/image-edit-page.d.ts +14 -0
  37. package/dist/{model → tests/playwright/src/model}/pages/images-page.d.ts +3 -20
  38. package/dist/tests/playwright/src/model/pages/kubernetes-bar.d.ts +13 -0
  39. package/dist/{model → tests/playwright/src/model}/pages/kubernetes-context-page.d.ts +1 -18
  40. package/dist/{model → tests/playwright/src/model}/pages/kubernetes-dashboard-page.d.ts +2 -19
  41. package/dist/tests/playwright/src/model/pages/kubernetes-resource-details-page.d.ts +18 -0
  42. package/dist/tests/playwright/src/model/pages/kubernetes-resource-page.d.ts +12 -0
  43. package/dist/{model → tests/playwright/src/model}/pages/main-page.d.ts +1 -18
  44. package/dist/tests/playwright/src/model/pages/network-details-page.d.ts +16 -0
  45. package/dist/{model → tests/playwright/src/model}/pages/networks-page.d.ts +1 -18
  46. package/dist/tests/playwright/src/model/pages/onboarding-page.d.ts +13 -0
  47. package/dist/tests/playwright/src/model/pages/podman-kube-play-page.d.ts +20 -0
  48. package/dist/tests/playwright/src/model/pages/podman-machine-details-page.d.ts +19 -0
  49. package/dist/tests/playwright/src/model/pages/podman-onboarding-page.d.ts +11 -0
  50. package/dist/tests/playwright/src/model/pages/pods-details-page.d.ts +23 -0
  51. package/dist/tests/playwright/src/model/pages/pods-page.d.ts +18 -0
  52. package/dist/tests/playwright/src/model/pages/preferences-page.d.ts +15 -0
  53. package/dist/tests/playwright/src/model/pages/proxy-page.d.ts +21 -0
  54. package/dist/{model → tests/playwright/src/model}/pages/pull-image-page.d.ts +1 -18
  55. package/dist/tests/playwright/src/model/pages/registries-page.d.ts +19 -0
  56. package/dist/tests/playwright/src/model/pages/resource-card-page.d.ts +11 -0
  57. package/dist/tests/playwright/src/model/pages/resource-cli-card-page.d.ts +3 -0
  58. package/dist/tests/playwright/src/model/pages/resource-connection-card-page.d.ts +16 -0
  59. package/dist/tests/playwright/src/model/pages/resource-details-page.d.ts +8 -0
  60. package/dist/tests/playwright/src/model/pages/resources-page.d.ts +10 -0
  61. package/dist/{model → tests/playwright/src/model}/pages/run-image-page.d.ts +2 -19
  62. package/dist/tests/playwright/src/model/pages/select-image-page.d.ts +18 -0
  63. package/dist/tests/playwright/src/model/pages/settings-bar.d.ts +19 -0
  64. package/dist/tests/playwright/src/model/pages/settings-page.d.ts +10 -0
  65. package/dist/{model → tests/playwright/src/model}/pages/tasks-page.d.ts +1 -18
  66. package/dist/{model → tests/playwright/src/model}/pages/troubleshooting-page.d.ts +1 -18
  67. package/dist/tests/playwright/src/model/pages/volume-details-page.d.ts +10 -0
  68. package/dist/{model → tests/playwright/src/model}/pages/volumes-page.d.ts +1 -18
  69. package/dist/{model → tests/playwright/src/model}/pages/welcome-page.d.ts +1 -18
  70. package/dist/tests/playwright/src/model/workbench/navigation.d.ts +33 -0
  71. package/dist/tests/playwright/src/model/workbench/status-bar.d.ts +24 -0
  72. package/dist/{runner → tests/playwright/src/runner}/podman-desktop-runner.d.ts +2 -19
  73. package/dist/tests/playwright/src/special-specs/podman-remote/podman-remote.spec.d.ts +2 -0
  74. package/dist/tests/playwright/src/specs/builtin-extension-smoke.spec.d.ts +18 -0
  75. package/dist/tests/playwright/src/specs/cancelable-task-smoke.spec.d.ts +18 -0
  76. package/dist/tests/playwright/src/specs/cli-tools-smoke.spec.d.ts +18 -0
  77. package/dist/tests/playwright/src/specs/compose-onboarding-smoke.spec.d.ts +18 -0
  78. package/dist/tests/playwright/src/specs/container-smoke.spec.d.ts +18 -0
  79. package/dist/tests/playwright/src/specs/docker-compatibility-smoke.spec.d.ts +18 -0
  80. package/dist/tests/playwright/src/specs/extension-installation-smoke.spec.d.ts +18 -0
  81. package/dist/tests/playwright/src/specs/extension-onboarding-smoke.spec.d.ts +18 -0
  82. package/dist/tests/playwright/src/specs/image-manifest-smoke.spec.d.ts +18 -0
  83. package/dist/tests/playwright/src/specs/image-push-to-registry-smoke.spec.d.ts +18 -0
  84. package/dist/tests/playwright/src/specs/image-search.spec.d.ts +18 -0
  85. package/dist/tests/playwright/src/specs/image-smoke.spec.d.ts +18 -0
  86. package/dist/tests/playwright/src/specs/kind.spec.d.ts +18 -0
  87. package/dist/tests/playwright/src/specs/kubernetes-context-smoke.spec.d.ts +18 -0
  88. package/dist/tests/playwright/src/specs/kubernetes-image-push.spec.d.ts +18 -0
  89. package/dist/tests/playwright/src/specs/kubernetes-networking.spec.d.ts +18 -0
  90. package/dist/tests/playwright/src/specs/kubernetes-status-bar-providers.spec.d.ts +18 -0
  91. package/dist/tests/playwright/src/specs/kubernetes.spec.d.ts +18 -0
  92. package/dist/tests/playwright/src/specs/network-smoke.spec.d.ts +18 -0
  93. package/dist/tests/playwright/src/specs/pod-smoke.spec.d.ts +18 -0
  94. package/dist/tests/playwright/src/specs/podman-compose-smoke.spec.d.ts +18 -0
  95. package/dist/tests/playwright/src/specs/podman-extension-smoke.spec.d.ts +18 -0
  96. package/dist/tests/playwright/src/specs/podman-kube-play-smoke.spec.d.ts +18 -0
  97. package/dist/tests/playwright/src/specs/preferences.spec.d.ts +18 -0
  98. package/dist/tests/playwright/src/specs/proxy-smoke.spec.d.ts +18 -0
  99. package/dist/tests/playwright/src/specs/registry-image.spec.d.ts +18 -0
  100. package/dist/tests/playwright/src/specs/registry.spec.d.ts +18 -0
  101. package/dist/tests/playwright/src/specs/troubleshooting-smoke.spec.d.ts +18 -0
  102. package/dist/tests/playwright/src/specs/volume-smoke.spec.d.ts +18 -0
  103. package/dist/tests/playwright/src/specs/welcome-page-smoke.spec.d.ts +18 -0
  104. package/dist/tests/playwright/src/specs/yaml-smoke.spec.d.ts +18 -0
  105. package/dist/tests/playwright/src/specs/z-podman-machine-dashboard-onboarding.spec.d.ts +18 -0
  106. package/dist/tests/playwright/src/specs/z-podman-machine-onboarding.spec.d.ts +18 -0
  107. package/dist/tests/playwright/src/specs/z-podman-machine-resources.spec.d.ts +18 -0
  108. package/dist/tests/playwright/src/specs/z-podman-machine-tests.spec.d.ts +18 -0
  109. package/dist/{utility → tests/playwright/src/utility}/auth-utils.d.ts +1 -18
  110. package/dist/{utility → tests/playwright/src/utility}/cluster-operations.d.ts +5 -22
  111. package/dist/tests/playwright/src/utility/fixtures.d.ts +18 -0
  112. package/dist/{utility → tests/playwright/src/utility}/kubernetes.d.ts +3 -20
  113. package/dist/{utility → tests/playwright/src/utility}/operations.d.ts +4 -22
  114. package/dist/tests/playwright/src/utility/provider.d.ts +4 -0
  115. package/dist/{utility → tests/playwright/src/utility}/wait.d.ts +1 -18
  116. package/package.json +2 -1
  117. package/dist/model/pages/authentication-page.d.ts +0 -28
  118. package/dist/model/pages/base-page.d.ts +0 -23
  119. package/dist/model/pages/cluster-creation-base-page.d.ts +0 -30
  120. package/dist/model/pages/command-palette.d.ts +0 -24
  121. package/dist/model/pages/compose-onboarding/compose-failed-page.d.ts +0 -23
  122. package/dist/model/pages/compose-onboarding/compose-local-install-page.d.ts +0 -23
  123. package/dist/model/pages/compose-onboarding/compose-onboarding-page.d.ts +0 -23
  124. package/dist/model/pages/compose-onboarding/compose-version-page.d.ts +0 -24
  125. package/dist/model/pages/compose-onboarding/compose-wide-install-page.d.ts +0 -23
  126. package/dist/model/pages/create-kind-cluster-page.d.ts +0 -33
  127. package/dist/model/pages/create-machine-page.d.ts +0 -36
  128. package/dist/model/pages/create-network-page.d.ts +0 -31
  129. package/dist/model/pages/create-pod-page.d.ts +0 -29
  130. package/dist/model/pages/create-volume-page.d.ts +0 -30
  131. package/dist/model/pages/details-page.d.ts +0 -33
  132. package/dist/model/pages/docker-compatibility-page.d.ts +0 -29
  133. package/dist/model/pages/experimental-page.d.ts +0 -29
  134. package/dist/model/pages/extension-catalog-card-page.d.ts +0 -31
  135. package/dist/model/pages/extension-details-page.d.ts +0 -37
  136. package/dist/model/pages/image-edit-page.d.ts +0 -31
  137. package/dist/model/pages/kubernetes-bar.d.ts +0 -30
  138. package/dist/model/pages/kubernetes-resource-details-page.d.ts +0 -35
  139. package/dist/model/pages/kubernetes-resource-page.d.ts +0 -29
  140. package/dist/model/pages/network-details-page.d.ts +0 -33
  141. package/dist/model/pages/onboarding-page.d.ts +0 -30
  142. package/dist/model/pages/podman-kube-play-page.d.ts +0 -37
  143. package/dist/model/pages/podman-machine-details-page.d.ts +0 -36
  144. package/dist/model/pages/podman-onboarding-page.d.ts +0 -28
  145. package/dist/model/pages/pods-details-page.d.ts +0 -40
  146. package/dist/model/pages/pods-page.d.ts +0 -35
  147. package/dist/model/pages/preferences-page.d.ts +0 -32
  148. package/dist/model/pages/proxy-page.d.ts +0 -38
  149. package/dist/model/pages/registries-page.d.ts +0 -36
  150. package/dist/model/pages/resource-card-page.d.ts +0 -28
  151. package/dist/model/pages/resource-connection-card-page.d.ts +0 -33
  152. package/dist/model/pages/resource-details-page.d.ts +0 -25
  153. package/dist/model/pages/resources-page.d.ts +0 -27
  154. package/dist/model/pages/select-image-page.d.ts +0 -35
  155. package/dist/model/pages/settings-bar.d.ts +0 -36
  156. package/dist/model/pages/settings-page.d.ts +0 -27
  157. package/dist/model/pages/volume-details-page.d.ts +0 -27
  158. package/dist/model/workbench/navigation.d.ts +0 -50
  159. package/dist/model/workbench/status-bar.d.ts +0 -41
  160. package/dist/special-specs/podman-remote/podman-remote.spec.d.ts +0 -19
  161. package/dist/utility/fixtures.d.ts +0 -35
  162. package/dist/utility/provider.d.ts +0 -21
  163. /package/dist/{globalSetup → tests/playwright/src/globalSetup}/global-setup.d.ts +0 -0
  164. /package/dist/{model → tests/playwright/src/model}/core/extensions.d.ts +0 -0
  165. /package/dist/{model → tests/playwright/src/model}/core/operations.d.ts +0 -0
  166. /package/dist/{model → tests/playwright/src/model}/core/platforms.d.ts +0 -0
  167. /package/dist/{model → tests/playwright/src/model}/core/states.d.ts +0 -0
  168. /package/dist/{model → tests/playwright/src/model}/core/types.d.ts +0 -0
  169. /package/dist/{runner → tests/playwright/src/runner}/runner-options.d.ts +0 -0
  170. /package/dist/{setupFiles → tests/playwright/src/setupFiles}/setup-kind.d.ts +0 -0
  171. /package/dist/{setupFiles → tests/playwright/src/setupFiles}/setup-registry.d.ts +0 -0
  172. /package/dist/{special-specs → tests/playwright/src/special-specs}/installation/podman-installer.spec.d.ts +0 -0
  173. /package/dist/{special-specs → tests/playwright/src/special-specs}/installation/update-install.spec.d.ts +0 -0
  174. /package/dist/{special-specs → tests/playwright/src/special-specs}/managed-configuration/managed-configuration-no-predefined-settings.spec.d.ts +0 -0
  175. /package/dist/{special-specs → tests/playwright/src/special-specs}/managed-configuration/managed-configuration-user-settings.spec.d.ts +0 -0
  176. /package/dist/{special-specs → tests/playwright/src/special-specs}/ui-stress/ui-stress.spec.d.ts +0 -0
  177. /package/dist/{utility → tests/playwright/src/utility}/cleanup.d.ts +0 -0
  178. /package/dist/{utility → tests/playwright/src/utility}/platform.d.ts +0 -0
@@ -1,32 +0,0 @@
1
- /**********************************************************************
2
- * Copyright (C) 2024 Red Hat, Inc.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- *
16
- * SPDX-License-Identifier: Apache-2.0
17
- ***********************************************************************/
18
- import type { Locator, Page } from '@playwright/test';
19
- import { SettingsPage } from './settings-page';
20
- export declare class PreferencesPage extends SettingsPage {
21
- readonly heading: Locator;
22
- readonly searchbar: Locator;
23
- readonly kubePathInput: Locator;
24
- readonly APPEARANCE_PREFERENCE_LABEL = "Appearance";
25
- constructor(page: Page);
26
- getPreferenceRowByName(name: string): Locator;
27
- isPreferenceManaged(name: string): Promise<boolean>;
28
- resetPreference(name: string): Promise<void>;
29
- getAppearancePreferenceValue(): Promise<string>;
30
- setAppearancePreference(value: string): Promise<void>;
31
- selectKubeFile(pathToKube: string): Promise<void>;
32
- }
@@ -1,38 +0,0 @@
1
- /**********************************************************************
2
- * Copyright (C) 2025 Red Hat, Inc.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- *
16
- * SPDX-License-Identifier: Apache-2.0
17
- ***********************************************************************/
18
- import type { Locator, Page } from '@playwright/test';
19
- import { ProxyTypes } from '/@/model/core/types';
20
- import { SettingsPage } from './settings-page';
21
- export declare class ProxyPage extends SettingsPage {
22
- readonly heading: Locator;
23
- readonly toggleProxyButton: Locator;
24
- readonly updateButton: Locator;
25
- readonly httpProxy: Locator;
26
- readonly httpsProxy: Locator;
27
- readonly noProxy: Locator;
28
- readonly proxyAlert: Locator;
29
- readonly proxyDialog: Locator;
30
- constructor(page: Page);
31
- getProxyType(): Promise<ProxyTypes>;
32
- selectProxy(proxyType: ProxyTypes): Promise<void>;
33
- private fillProxyInput;
34
- updateProxySettings(): Promise<void>;
35
- fillHttpProxy(value: string): Promise<void>;
36
- fillHttpsProxy(value: string): Promise<void>;
37
- fillNoProxy(value: string): Promise<void>;
38
- }
@@ -1,36 +0,0 @@
1
- /**********************************************************************
2
- * Copyright (C) 2023 Red Hat, Inc.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- *
16
- * SPDX-License-Identifier: Apache-2.0
17
- ***********************************************************************/
18
- import type { Locator, Page } from 'playwright';
19
- import { SettingsPage } from './settings-page';
20
- export declare class RegistriesPage extends SettingsPage {
21
- readonly heading: Locator;
22
- readonly addRegistryButton: Locator;
23
- readonly registriesTable: Locator;
24
- readonly addRegistryDialog: Locator;
25
- readonly cancelDialogButton: Locator;
26
- readonly confirmDialogButton: Locator;
27
- readonly registryUrlField: Locator;
28
- readonly registryUsernameField: Locator;
29
- readonly registryPswdField: Locator;
30
- constructor(page: Page);
31
- createRegistry(url: string, username: string, pswd: string): Promise<void>;
32
- editRegistry(title: string, newUsername: string, newPswd: string): Promise<void>;
33
- removeRegistry(title: string): Promise<void>;
34
- getRegistryRowByName(name: string): Promise<Locator>;
35
- private loginButtonHandling;
36
- }
@@ -1,28 +0,0 @@
1
- /**********************************************************************
2
- * Copyright (C) 2024 Red Hat, Inc.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- *
16
- * SPDX-License-Identifier: Apache-2.0
17
- ***********************************************************************/
18
- import type { Locator, Page } from '@playwright/test';
19
- import { BasePage } from './base-page';
20
- export declare abstract class ResourceCardPage extends BasePage {
21
- readonly parent: Locator;
22
- readonly card: Locator;
23
- readonly providerSetup: Locator;
24
- readonly providerConnections: Locator;
25
- readonly markdownContent: Locator;
26
- readonly setupButton: Locator;
27
- constructor(page: Page, resourceName: string);
28
- }
@@ -1,33 +0,0 @@
1
- /**********************************************************************
2
- * Copyright (C) 2024 Red Hat, Inc.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- *
16
- * SPDX-License-Identifier: Apache-2.0
17
- ***********************************************************************/
18
- import { type Locator, type Page } from '@playwright/test';
19
- import type { ResourceElementActions } from '/@/model/core/operations';
20
- import { ResourceCardPage } from './resource-card-page';
21
- export declare class ResourceConnectionCardPage extends ResourceCardPage {
22
- readonly resourceElement: Locator;
23
- readonly resourceElementDetailsButton: Locator;
24
- readonly resourceElementConnectionStatus: Locator;
25
- readonly resourceElementConnectionActions: Locator;
26
- readonly createButton: Locator;
27
- readonly connectionType: Locator;
28
- readonly machinePrivileges: Locator;
29
- constructor(page: Page, resourceName: string, resourceElementVisibleName?: string);
30
- doesResourceElementExist(): Promise<boolean>;
31
- performConnectionAction(operation: ResourceElementActions, timeout?: number): Promise<void>;
32
- getConnectionInfoByLabel(label: string): Promise<string>;
33
- }
@@ -1,25 +0,0 @@
1
- /**********************************************************************
2
- * Copyright (C) 2025 Red Hat, Inc.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- *
16
- * SPDX-License-Identifier: Apache-2.0
17
- ***********************************************************************/
18
- import { type Locator, type Page } from '@playwright/test';
19
- import type { ResourceElementActions } from '/@/model/core/operations';
20
- import { DetailsPage } from '/@/model/pages/details-page';
21
- export declare class ResourceDetailsPage extends DetailsPage {
22
- readonly resourceStatus: Locator;
23
- constructor(page: Page, title: string);
24
- performConnectionActionDetails(operation: ResourceElementActions, timeout?: number): Promise<void>;
25
- }
@@ -1,27 +0,0 @@
1
- /**********************************************************************
2
- * Copyright (C) 2023-2025 Red Hat, Inc.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- *
16
- * SPDX-License-Identifier: Apache-2.0
17
- ***********************************************************************/
18
- import type { Locator, Page } from 'playwright';
19
- import { SettingsPage } from './settings-page';
20
- export declare class ResourcesPage extends SettingsPage {
21
- readonly heading: Locator;
22
- readonly featuredProviderResources: Locator;
23
- constructor(page: Page);
24
- resourceCardIsVisible(resourceCardAriaLabel: string): Promise<boolean>;
25
- goToCreateNewResourcePage(resourceCardAriaLabel: string, newResourceName?: string): Promise<void>;
26
- private resourceCardLocatorGenerator;
27
- }
@@ -1,35 +0,0 @@
1
- /**********************************************************************
2
- * Copyright (C) 2025 Red Hat, Inc.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- *
16
- * SPDX-License-Identifier: Apache-2.0
17
- ***********************************************************************/
18
- import type { Locator, Page } from '@playwright/test';
19
- import { BasePage } from './base-page';
20
- import { ContainersPage } from './containers-page';
21
- import { RunImagePage } from './run-image-page';
22
- export declare class SelectImagePage extends BasePage {
23
- readonly heading: Locator;
24
- readonly imageNameInput: Locator;
25
- readonly cancelButton: Locator;
26
- readonly runImageButton: Locator;
27
- readonly pullImageAndRunButton: Locator;
28
- readonly manageRegistriesButton: Locator;
29
- readonly errorMessage: Locator;
30
- constructor(page: Page);
31
- selectImage(imageName: string): Promise<SelectImagePage>;
32
- cancel(): Promise<ContainersPage>;
33
- runImage(imageName: string): Promise<RunImagePage>;
34
- openManageRegistries(): Promise<void>;
35
- }
@@ -1,36 +0,0 @@
1
- /**********************************************************************
2
- * Copyright (C) 2023-2024 Red Hat, Inc.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- *
16
- * SPDX-License-Identifier: Apache-2.0
17
- ***********************************************************************/
18
- import { type Locator, type Page } from '@playwright/test';
19
- import type { SettingsPage } from './settings-page';
20
- export declare class SettingsBar {
21
- readonly page: Page;
22
- readonly settingsNavBar: Locator;
23
- readonly resourcesTab: Locator;
24
- readonly proxyTab: Locator;
25
- readonly registriesTab: Locator;
26
- readonly authenticationTab: Locator;
27
- readonly preferencesTab: Locator;
28
- readonly cliToolsTab: Locator;
29
- readonly kubernetesTab: Locator;
30
- constructor(page: Page);
31
- openTabPage<T extends SettingsPage>(type: new (page: Page) => T): Promise<T>;
32
- getSettingsNavBarTabLocator(name: string): Locator;
33
- getPreferencesLinkLocator(label: string): Locator;
34
- getLinkLocatorByHref(href: string): Locator;
35
- expandPreferencesTab(): Promise<void>;
36
- }
@@ -1,27 +0,0 @@
1
- /**********************************************************************
2
- * Copyright (C) 2023 Red Hat, Inc.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- *
16
- * SPDX-License-Identifier: Apache-2.0
17
- ***********************************************************************/
18
- import type { Locator, Page } from '@playwright/test';
19
- import { BasePage } from './base-page';
20
- export declare abstract class SettingsPage extends BasePage {
21
- readonly tabName: string;
22
- readonly parent: Locator;
23
- readonly header: Locator;
24
- readonly content: Locator;
25
- constructor(page: Page, tabName: string);
26
- getTab(): Promise<Locator>;
27
- }
@@ -1,27 +0,0 @@
1
- /**********************************************************************
2
- * Copyright (C) 2024 Red Hat, Inc.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- *
16
- * SPDX-License-Identifier: Apache-2.0
17
- ***********************************************************************/
18
- import type { Locator, Page } from '@playwright/test';
19
- import { DetailsPage } from './details-page';
20
- import { VolumesPage } from './volumes-page';
21
- export declare class VolumeDetailsPage extends DetailsPage {
22
- readonly deleteButton: Locator;
23
- static readonly SUMMARY_TAB = "Summary";
24
- constructor(page: Page, name: string);
25
- isUsed(): Promise<boolean>;
26
- deleteVolume(): Promise<VolumesPage>;
27
- }
@@ -1,50 +0,0 @@
1
- /**********************************************************************
2
- * Copyright (C) 2023-2025 Red Hat, Inc.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- *
16
- * SPDX-License-Identifier: Apache-2.0
17
- ***********************************************************************/
18
- import { type Locator, type Page } from '@playwright/test';
19
- import { ContainersPage } from '/@/model/pages/containers-page';
20
- import { DashboardPage } from '/@/model/pages/dashboard-page';
21
- import { ExtensionsPage } from '/@/model/pages/extensions-page';
22
- import { ImagesPage } from '/@/model/pages/images-page';
23
- import { KubernetesBar } from '/@/model/pages/kubernetes-bar';
24
- import { NetworksPage } from '/@/model/pages/networks-page';
25
- import { PodsPage } from '/@/model/pages/pods-page';
26
- import { SettingsBar } from '/@/model/pages/settings-bar';
27
- import { VolumesPage } from '/@/model/pages/volumes-page';
28
- export declare class NavigationBar {
29
- readonly page: Page;
30
- readonly navigationLocator: Locator;
31
- readonly imagesLink: Locator;
32
- readonly containersLink: Locator;
33
- readonly volumesLink: Locator;
34
- readonly podsLink: Locator;
35
- readonly dashboardLink: Locator;
36
- readonly settingsLink: Locator;
37
- readonly extensionsLink: Locator;
38
- readonly kubernetesLink: Locator;
39
- readonly networksLink: Locator;
40
- constructor(page: Page);
41
- openDashboard(): Promise<DashboardPage>;
42
- openImages(): Promise<ImagesPage>;
43
- openContainers(): Promise<ContainersPage>;
44
- openPods(): Promise<PodsPage>;
45
- openSettings(): Promise<SettingsBar>;
46
- openVolumes(): Promise<VolumesPage>;
47
- openKubernetes(): Promise<KubernetesBar>;
48
- openExtensions(): Promise<ExtensionsPage>;
49
- openNetworks(): Promise<NetworksPage>;
50
- }
@@ -1,41 +0,0 @@
1
- /**********************************************************************
2
- * Copyright (C) 2024 Red Hat, Inc.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- *
16
- * SPDX-License-Identifier: Apache-2.0
17
- ***********************************************************************/
18
- import { type Locator, type Page } from '@playwright/test';
19
- import { BasePage } from '/@/model/pages/base-page';
20
- import { TasksPage } from '/@/model/pages/tasks-page';
21
- export declare class StatusBar extends BasePage {
22
- readonly content: Locator;
23
- readonly kindInstallationButton: Locator;
24
- readonly kubernetesContext: Locator;
25
- readonly versionButton: Locator;
26
- readonly updateButtonTitle: Locator;
27
- readonly shareYourFeedbackButton: Locator;
28
- readonly troubleshootingButton: Locator;
29
- readonly tasksButton: Locator;
30
- readonly helpButton: Locator;
31
- readonly pinProvidersButton: Locator;
32
- readonly pinMenu: Locator;
33
- constructor(page: Page);
34
- installKindCLI(): Promise<void>;
35
- validateKubernetesContext(context: string): Promise<void>;
36
- kindInstallationButtonIsVisible(): Promise<boolean>;
37
- openTasksPage(): Promise<TasksPage>;
38
- getProviderButton(providerName: string): Promise<Locator>;
39
- pinProvider(providerName: string, pin: boolean): Promise<void>;
40
- isProviderResourceRunning(providerName: string, resourceName: string): Promise<boolean>;
41
- }
@@ -1,19 +0,0 @@
1
- /**********************************************************************
2
- * Copyright (C) 2024 Red Hat, Inc.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- *
16
- * SPDX-License-Identifier: Apache-2.0
17
- ***********************************************************************/
18
- import type { Locator } from '@playwright/test';
19
- export declare function toggleCheckbox(checkbox: Locator, checked: boolean): Promise<void>;
@@ -1,35 +0,0 @@
1
- /**********************************************************************
2
- * Copyright (C) 2024 Red Hat, Inc.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- *
16
- * SPDX-License-Identifier: Apache-2.0
17
- ***********************************************************************/
18
- import type { Page } from '@playwright/test';
19
- import { WelcomePage } from '/@/model/pages/welcome-page';
20
- import { NavigationBar } from '/@/model/workbench/navigation';
21
- import { StatusBar } from '/@/model/workbench/status-bar';
22
- import { Runner } from '/@/runner/podman-desktop-runner';
23
- import { RunnerOptions } from '/@/runner/runner-options';
24
- export type TestFixtures = {
25
- runner: Runner;
26
- navigationBar: NavigationBar;
27
- welcomePage: WelcomePage;
28
- page: Page;
29
- statusBar: StatusBar;
30
- };
31
- export type FixtureOptions = {
32
- runnerOptions: RunnerOptions;
33
- };
34
- export declare const test: import("@playwright/test").TestType<import("@playwright/test").PlaywrightTestArgs & import("@playwright/test").PlaywrightTestOptions & TestFixtures & FixtureOptions, import("@playwright/test").PlaywrightWorkerArgs & import("@playwright/test").PlaywrightWorkerOptions>;
35
- export { expect } from '@playwright/test';
@@ -1,21 +0,0 @@
1
- /**********************************************************************
2
- * Copyright (C) 2024 Red Hat, Inc.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- *
16
- * SPDX-License-Identifier: Apache-2.0
17
- ***********************************************************************/
18
- import { PodmanVirtualizationProviders } from '/@/model/core/types';
19
- export declare const envProvider: string | undefined;
20
- export declare function getVirtualizationProvider(): PodmanVirtualizationProviders | undefined;
21
- export declare function getDefaultVirtualizationProvider(): PodmanVirtualizationProviders;