@podman-desktop/tests-playwright 1.25.0-next.202512121024-9b149ef → 1.25.0-next.202512121600-43cbe28

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
@@ -0,0 +1,18 @@
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
+ export {};
@@ -0,0 +1,18 @@
1
+ /**********************************************************************
2
+ * Copyright (C) 2024-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
+ export {};
@@ -0,0 +1,18 @@
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
+ export {};
@@ -0,0 +1,18 @@
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
+ export {};
@@ -0,0 +1,18 @@
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
+ export {};
@@ -0,0 +1,18 @@
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
+ export {};
@@ -0,0 +1,18 @@
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
+ export {};
@@ -0,0 +1,18 @@
1
+ /**********************************************************************
2
+ * Copyright (C) 2024-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
+ export {};
@@ -1,21 +1,4 @@
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 { Browser, Locator, Page } from '@playwright/test';
1
+ import { Browser, Locator, Page } from '@playwright/test';
19
2
  export type ConfirmInputValue = {
20
3
  inputLocator: Locator;
21
4
  inputValue: string;
@@ -1,25 +1,8 @@
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 { Page } from '@playwright/test';
19
- import { ResourceElementActions } from '/@/model/core/operations';
20
- import { ResourceElementState } from '/@/model/core/states';
21
- import type { KindClusterOptions } from '/@/model/core/types';
22
- import { ResourceConnectionCardPage } from '/@/model/pages/resource-connection-card-page';
1
+ import { Page } from '@playwright/test';
2
+ import { ResourceElementActions } from '../model/core/operations';
3
+ import { ResourceElementState } from '../model/core/states';
4
+ import { KindClusterOptions } from '../model/core/types';
5
+ import { ResourceConnectionCardPage } from '../model/pages/resource-connection-card-page';
23
6
  export declare function createKindCluster(page: Page, clusterName: string, timeout?: number, { configFilePath, providerType, httpPort, httpsPort, useIngressController, containerImage }?: KindClusterOptions): Promise<void>;
24
7
  export declare function deleteCluster(page: Page, resourceName?: string, containerName?: string, clusterName?: string, timeout?: number): Promise<void>;
25
8
  export declare function checkClusterResources(page: Page, containerName: string): Promise<void>;
@@ -0,0 +1,18 @@
1
+ import { Page } from '@playwright/test';
2
+ import { WelcomePage } from '../model/pages/welcome-page';
3
+ import { NavigationBar } from '../model/workbench/navigation';
4
+ import { StatusBar } from '../model/workbench/status-bar';
5
+ import { Runner } from '../runner/podman-desktop-runner';
6
+ import { RunnerOptions } from '../runner/runner-options';
7
+ export type TestFixtures = {
8
+ runner: Runner;
9
+ navigationBar: NavigationBar;
10
+ welcomePage: WelcomePage;
11
+ page: Page;
12
+ statusBar: StatusBar;
13
+ };
14
+ export type FixtureOptions = {
15
+ runnerOptions: RunnerOptions;
16
+ };
17
+ 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>;
18
+ export { expect } from '@playwright/test';
@@ -1,23 +1,6 @@
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 { Page } from '@playwright/test';
19
- import type { KubernetesResourceState } from '/@/model/core/states';
20
- import { KubernetesResources } from '/@/model/core/types';
1
+ import { Page } from '@playwright/test';
2
+ import { KubernetesResourceState } from '../model/core/states';
3
+ import { KubernetesResources } from '../model/core/types';
21
4
  export declare function deployContainerToCluster(page: Page, containerName: string, kubernetesContext: string, deployedPodName: string): Promise<void>;
22
5
  export declare function createKubernetesResource(page: Page, resourceType: KubernetesResources, resourceName: string, resourceYamlPath: string): Promise<void>;
23
6
  export declare function deleteKubernetesResource(page: Page, resourceType: KubernetesResources, resourceName: string, timeout?: number): Promise<void>;
@@ -1,25 +1,7 @@
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/test';
19
- import type { PodmanVirtualizationProviders } from '/@/model/core/types';
20
- import { PodmanMachinePrivileges } from '/@/model/core/types';
21
- import { ResourceConnectionCardPage } from '/@/model/pages/resource-connection-card-page';
22
- import { NavigationBar } from '/@/model/workbench/navigation';
1
+ import { Locator, Page } from '@playwright/test';
2
+ import { PodmanVirtualizationProviders, PodmanMachinePrivileges } from '../model/core/types';
3
+ import { ResourceConnectionCardPage } from '../model/pages/resource-connection-card-page';
4
+ import { NavigationBar } from '../model/workbench/navigation';
23
5
  /**
24
6
  * Stop and delete container defined by its name
25
7
  * @param page playwright's page object
@@ -0,0 +1,4 @@
1
+ import { PodmanVirtualizationProviders } from '../model/core/types';
2
+ export declare const envProvider: string | undefined;
3
+ export declare function getVirtualizationProvider(): PodmanVirtualizationProviders | undefined;
4
+ export declare function getDefaultVirtualizationProvider(): PodmanVirtualizationProviders;
@@ -1,21 +1,4 @@
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 { Page } from '@playwright/test';
1
+ import { Page } from '@playwright/test';
19
2
  export declare function wait(waitFunction: () => Promise<boolean>, until: boolean, timeout: number, diff: number, sendError: boolean, errorMessage: string): Promise<void>;
20
3
  /**
21
4
  * Waiting function that tests the condition (callback) to become true until timeout is reached,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@podman-desktop/tests-playwright",
3
- "version": "1.25.0-next.202512121024-9b149ef",
3
+ "version": "1.25.0-next.202512121600-43cbe28",
4
4
  "description": "Playwright-based testing libraries for Podman Desktop and its extensions",
5
5
  "type": "module",
6
6
  "repository": "https://github.com/podman-desktop/podman-desktop",
@@ -20,6 +20,7 @@
20
20
  "@types/node": "^22",
21
21
  "electron": "39.2.6",
22
22
  "typescript": "^5.9.3",
23
+ "unplugin-dts": "1.0.0-beta.6",
23
24
  "vitest": "^4.0.10"
24
25
  },
25
26
  "scripts": {
@@ -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 { SettingsPage } from './settings-page';
20
- export declare class AuthenticationPage extends SettingsPage {
21
- readonly main: Locator;
22
- readonly header: Locator;
23
- readonly heading: Locator;
24
- readonly content: Locator;
25
- readonly providersList: Locator;
26
- constructor(page: Page);
27
- getProvider(providerName: string): Locator;
28
- }
@@ -1,23 +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 { Page } from '@playwright/test';
19
- export declare abstract class BasePage {
20
- readonly page: Page;
21
- constructor(page: Page);
22
- getPage(): Page;
23
- }
@@ -1,30 +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 './base-page';
20
- export declare abstract class CreateClusterBasePage extends BasePage {
21
- readonly header: Locator;
22
- readonly content: Locator;
23
- readonly clusterPropertiesInformation: Locator;
24
- readonly clusterCreationButton: Locator;
25
- readonly goBackButton: Locator;
26
- readonly logsButton: Locator;
27
- readonly errorMessage: Locator;
28
- constructor(page: Page);
29
- createCluster(timeout?: number): Promise<void>;
30
- }
@@ -1,24 +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
- export declare class CommandPalette extends BasePage {
21
- readonly commandPaletteInputField: Locator;
22
- constructor(page: Page);
23
- executeCommand(command: string): Promise<void>;
24
- }
@@ -1,23 +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';
19
- import { ComposeOnboardingPage } from './compose-onboarding-page';
20
- export declare class ComposeFailedPage extends ComposeOnboardingPage {
21
- readonly tryAgainButton: Locator;
22
- constructor(page: Page);
23
- }
@@ -1,23 +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';
19
- import { ComposeOnboardingPage } from './compose-onboarding-page';
20
- export declare class ComposeLocalInstallPage extends ComposeOnboardingPage {
21
- readonly wideDownloadAvailableMessage: Locator;
22
- constructor(page: Page);
23
- }
@@ -1,23 +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';
19
- import { OnboardingPage } from '/@/model/pages/onboarding-page';
20
- export declare class ComposeOnboardingPage extends OnboardingPage {
21
- readonly heading: Locator;
22
- constructor(page: Page);
23
- }
@@ -1,24 +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';
19
- import { ComposeOnboardingPage } from './compose-onboarding-page';
20
- export declare class ComposeVersionPage extends ComposeOnboardingPage {
21
- readonly versionStatusMessage: Locator;
22
- constructor(page: Page);
23
- getVersion(): Promise<string>;
24
- }
@@ -1,23 +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';
19
- import { ComposeOnboardingPage } from './compose-onboarding-page';
20
- export declare class ComposeWideInstallPage extends ComposeOnboardingPage {
21
- readonly composeCommandMessage: Locator;
22
- constructor(page: Page);
23
- }
@@ -1,33 +0,0 @@
1
- /**********************************************************************
2
- * Copyright (C) 2024-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 { KindClusterOptions } from '/@/model/core/types';
20
- import { CreateClusterBasePage } from './cluster-creation-base-page';
21
- export declare class CreateKindClusterPage extends CreateClusterBasePage {
22
- readonly clusterNameField: Locator;
23
- readonly controllerCheckbox: Locator;
24
- readonly providerType: Locator;
25
- readonly httpPort: Locator;
26
- readonly httpsPort: Locator;
27
- readonly containerImage: Locator;
28
- readonly configFileInput: Locator;
29
- readonly warning: Locator;
30
- constructor(page: Page);
31
- private validateKindClusterDefaultSettings;
32
- createKindCluster(clusterName?: string, { configFilePath, providerType, httpPort, httpsPort, useIngressController, containerImage }?: KindClusterOptions, timeout?: number): Promise<void>;
33
- }
@@ -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/test';
19
- import type { PodmanVirtualizationProviders } from '/@/model/core/types';
20
- import { BasePage } from './base-page';
21
- import { MachineCreationForm } from './forms/machine-creation-form';
22
- import { ResourcesPage } from './resources-page';
23
- export declare class CreateMachinePage extends BasePage {
24
- readonly heading: Locator;
25
- readonly machineCreationForm: MachineCreationForm;
26
- readonly closeButton: Locator;
27
- constructor(page: Page);
28
- createMachine(machineName: string, { isRootful, enableUserNet, startNow, setAsDefault, virtualizationProvider, }: {
29
- isRootful?: boolean;
30
- enableUserNet?: boolean;
31
- startNow?: boolean;
32
- setAsDefault?: boolean;
33
- virtualizationProvider?: PodmanVirtualizationProviders;
34
- }): Promise<ResourcesPage>;
35
- handleConnectionDialog(machineName: string, setAsDefault: boolean): Promise<void>;
36
- }