@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.
- package/dist/index.d.ts +2 -96
- package/dist/index.js +679 -614
- package/dist/index.js.map +1 -1
- package/dist/{model/pages/resource-cli-card-page.d.ts → playwright.config.d.ts} +2 -3
- package/dist/tests/playwright/src/index.d.ts +96 -0
- package/dist/{model → tests/playwright/src/model}/components/dropdown-component.d.ts +1 -18
- package/dist/tests/playwright/src/model/pages/authentication-page.d.ts +11 -0
- package/dist/tests/playwright/src/model/pages/base-page.d.ts +6 -0
- package/dist/{model → tests/playwright/src/model}/pages/build-image-page.d.ts +1 -18
- package/dist/{model → tests/playwright/src/model}/pages/cli-tools-page.d.ts +1 -18
- package/dist/tests/playwright/src/model/pages/cluster-creation-base-page.d.ts +13 -0
- package/dist/tests/playwright/src/model/pages/command-palette.d.ts +7 -0
- package/dist/tests/playwright/src/model/pages/compose-onboarding/compose-failed-page.d.ts +6 -0
- package/dist/tests/playwright/src/model/pages/compose-onboarding/compose-local-install-page.d.ts +6 -0
- package/dist/tests/playwright/src/model/pages/compose-onboarding/compose-onboarding-page.d.ts +6 -0
- package/dist/tests/playwright/src/model/pages/compose-onboarding/compose-version-page.d.ts +7 -0
- package/dist/tests/playwright/src/model/pages/compose-onboarding/compose-wide-install-page.d.ts +6 -0
- package/dist/{model → tests/playwright/src/model}/pages/container-details-page.d.ts +1 -18
- package/dist/{model → tests/playwright/src/model}/pages/containers-page.d.ts +1 -18
- package/dist/tests/playwright/src/model/pages/create-kind-cluster-page.d.ts +16 -0
- package/dist/tests/playwright/src/model/pages/create-machine-page.d.ts +19 -0
- package/dist/tests/playwright/src/model/pages/create-network-page.d.ts +14 -0
- package/dist/tests/playwright/src/model/pages/create-pod-page.d.ts +12 -0
- package/dist/tests/playwright/src/model/pages/create-volume-page.d.ts +13 -0
- package/dist/{model → tests/playwright/src/model}/pages/dashboard-page.d.ts +1 -18
- package/dist/{model → tests/playwright/src/model}/pages/deploy-to-kubernetes-page.d.ts +2 -19
- package/dist/tests/playwright/src/model/pages/details-page.d.ts +16 -0
- package/dist/tests/playwright/src/model/pages/docker-compatibility-page.d.ts +12 -0
- package/dist/tests/playwright/src/model/pages/experimental-page.d.ts +12 -0
- package/dist/{model → tests/playwright/src/model}/pages/extension-card-page.d.ts +1 -18
- package/dist/tests/playwright/src/model/pages/extension-catalog-card-page.d.ts +14 -0
- package/dist/tests/playwright/src/model/pages/extension-details-page.d.ts +20 -0
- package/dist/{model → tests/playwright/src/model}/pages/extensions-page.d.ts +2 -19
- package/dist/{model → tests/playwright/src/model}/pages/forms/machine-creation-form.d.ts +4 -21
- package/dist/{model → tests/playwright/src/model}/pages/image-details-page.d.ts +1 -18
- package/dist/tests/playwright/src/model/pages/image-edit-page.d.ts +14 -0
- package/dist/{model → tests/playwright/src/model}/pages/images-page.d.ts +3 -20
- package/dist/tests/playwright/src/model/pages/kubernetes-bar.d.ts +13 -0
- package/dist/{model → tests/playwright/src/model}/pages/kubernetes-context-page.d.ts +1 -18
- package/dist/{model → tests/playwright/src/model}/pages/kubernetes-dashboard-page.d.ts +2 -19
- package/dist/tests/playwright/src/model/pages/kubernetes-resource-details-page.d.ts +18 -0
- package/dist/tests/playwright/src/model/pages/kubernetes-resource-page.d.ts +12 -0
- package/dist/{model → tests/playwright/src/model}/pages/main-page.d.ts +1 -18
- package/dist/tests/playwright/src/model/pages/network-details-page.d.ts +16 -0
- package/dist/{model → tests/playwright/src/model}/pages/networks-page.d.ts +1 -18
- package/dist/tests/playwright/src/model/pages/onboarding-page.d.ts +13 -0
- package/dist/tests/playwright/src/model/pages/podman-kube-play-page.d.ts +20 -0
- package/dist/tests/playwright/src/model/pages/podman-machine-details-page.d.ts +19 -0
- package/dist/tests/playwright/src/model/pages/podman-onboarding-page.d.ts +11 -0
- package/dist/tests/playwright/src/model/pages/pods-details-page.d.ts +23 -0
- package/dist/tests/playwright/src/model/pages/pods-page.d.ts +18 -0
- package/dist/tests/playwright/src/model/pages/preferences-page.d.ts +15 -0
- package/dist/tests/playwright/src/model/pages/proxy-page.d.ts +21 -0
- package/dist/{model → tests/playwright/src/model}/pages/pull-image-page.d.ts +1 -18
- package/dist/tests/playwright/src/model/pages/registries-page.d.ts +19 -0
- package/dist/tests/playwright/src/model/pages/resource-card-page.d.ts +11 -0
- package/dist/tests/playwright/src/model/pages/resource-cli-card-page.d.ts +3 -0
- package/dist/tests/playwright/src/model/pages/resource-connection-card-page.d.ts +16 -0
- package/dist/tests/playwright/src/model/pages/resource-details-page.d.ts +8 -0
- package/dist/tests/playwright/src/model/pages/resources-page.d.ts +10 -0
- package/dist/{model → tests/playwright/src/model}/pages/run-image-page.d.ts +2 -19
- package/dist/tests/playwright/src/model/pages/select-image-page.d.ts +18 -0
- package/dist/tests/playwright/src/model/pages/settings-bar.d.ts +19 -0
- package/dist/tests/playwright/src/model/pages/settings-page.d.ts +10 -0
- package/dist/{model → tests/playwright/src/model}/pages/tasks-page.d.ts +1 -18
- package/dist/{model → tests/playwright/src/model}/pages/troubleshooting-page.d.ts +1 -18
- package/dist/tests/playwright/src/model/pages/volume-details-page.d.ts +10 -0
- package/dist/{model → tests/playwright/src/model}/pages/volumes-page.d.ts +1 -18
- package/dist/{model → tests/playwright/src/model}/pages/welcome-page.d.ts +1 -18
- package/dist/tests/playwright/src/model/workbench/navigation.d.ts +33 -0
- package/dist/tests/playwright/src/model/workbench/status-bar.d.ts +24 -0
- package/dist/{runner → tests/playwright/src/runner}/podman-desktop-runner.d.ts +2 -19
- package/dist/tests/playwright/src/special-specs/podman-remote/podman-remote.spec.d.ts +2 -0
- package/dist/tests/playwright/src/specs/builtin-extension-smoke.spec.d.ts +18 -0
- package/dist/tests/playwright/src/specs/cancelable-task-smoke.spec.d.ts +18 -0
- package/dist/tests/playwright/src/specs/cli-tools-smoke.spec.d.ts +18 -0
- package/dist/tests/playwright/src/specs/compose-onboarding-smoke.spec.d.ts +18 -0
- package/dist/tests/playwright/src/specs/container-smoke.spec.d.ts +18 -0
- package/dist/tests/playwright/src/specs/docker-compatibility-smoke.spec.d.ts +18 -0
- package/dist/tests/playwright/src/specs/extension-installation-smoke.spec.d.ts +18 -0
- package/dist/tests/playwright/src/specs/extension-onboarding-smoke.spec.d.ts +18 -0
- package/dist/tests/playwright/src/specs/image-manifest-smoke.spec.d.ts +18 -0
- package/dist/tests/playwright/src/specs/image-push-to-registry-smoke.spec.d.ts +18 -0
- package/dist/tests/playwright/src/specs/image-search.spec.d.ts +18 -0
- package/dist/tests/playwright/src/specs/image-smoke.spec.d.ts +18 -0
- package/dist/tests/playwright/src/specs/kind.spec.d.ts +18 -0
- package/dist/tests/playwright/src/specs/kubernetes-context-smoke.spec.d.ts +18 -0
- package/dist/tests/playwright/src/specs/kubernetes-image-push.spec.d.ts +18 -0
- package/dist/tests/playwright/src/specs/kubernetes-networking.spec.d.ts +18 -0
- package/dist/tests/playwright/src/specs/kubernetes-status-bar-providers.spec.d.ts +18 -0
- package/dist/tests/playwright/src/specs/kubernetes.spec.d.ts +18 -0
- package/dist/tests/playwright/src/specs/network-smoke.spec.d.ts +18 -0
- package/dist/tests/playwright/src/specs/pod-smoke.spec.d.ts +18 -0
- package/dist/tests/playwright/src/specs/podman-compose-smoke.spec.d.ts +18 -0
- package/dist/tests/playwright/src/specs/podman-extension-smoke.spec.d.ts +18 -0
- package/dist/tests/playwright/src/specs/podman-kube-play-smoke.spec.d.ts +18 -0
- package/dist/tests/playwright/src/specs/preferences.spec.d.ts +18 -0
- package/dist/tests/playwright/src/specs/proxy-smoke.spec.d.ts +18 -0
- package/dist/tests/playwright/src/specs/registry-image.spec.d.ts +18 -0
- package/dist/tests/playwright/src/specs/registry.spec.d.ts +18 -0
- package/dist/tests/playwright/src/specs/troubleshooting-smoke.spec.d.ts +18 -0
- package/dist/tests/playwright/src/specs/volume-smoke.spec.d.ts +18 -0
- package/dist/tests/playwright/src/specs/welcome-page-smoke.spec.d.ts +18 -0
- package/dist/tests/playwright/src/specs/yaml-smoke.spec.d.ts +18 -0
- package/dist/tests/playwright/src/specs/z-podman-machine-dashboard-onboarding.spec.d.ts +18 -0
- package/dist/tests/playwright/src/specs/z-podman-machine-onboarding.spec.d.ts +18 -0
- package/dist/tests/playwright/src/specs/z-podman-machine-resources.spec.d.ts +18 -0
- package/dist/tests/playwright/src/specs/z-podman-machine-tests.spec.d.ts +18 -0
- package/dist/{utility → tests/playwright/src/utility}/auth-utils.d.ts +1 -18
- package/dist/{utility → tests/playwright/src/utility}/cluster-operations.d.ts +5 -22
- package/dist/tests/playwright/src/utility/fixtures.d.ts +18 -0
- package/dist/{utility → tests/playwright/src/utility}/kubernetes.d.ts +3 -20
- package/dist/{utility → tests/playwright/src/utility}/operations.d.ts +4 -22
- package/dist/tests/playwright/src/utility/provider.d.ts +4 -0
- package/dist/{utility → tests/playwright/src/utility}/wait.d.ts +1 -18
- package/package.json +2 -1
- package/dist/model/pages/authentication-page.d.ts +0 -28
- package/dist/model/pages/base-page.d.ts +0 -23
- package/dist/model/pages/cluster-creation-base-page.d.ts +0 -30
- package/dist/model/pages/command-palette.d.ts +0 -24
- package/dist/model/pages/compose-onboarding/compose-failed-page.d.ts +0 -23
- package/dist/model/pages/compose-onboarding/compose-local-install-page.d.ts +0 -23
- package/dist/model/pages/compose-onboarding/compose-onboarding-page.d.ts +0 -23
- package/dist/model/pages/compose-onboarding/compose-version-page.d.ts +0 -24
- package/dist/model/pages/compose-onboarding/compose-wide-install-page.d.ts +0 -23
- package/dist/model/pages/create-kind-cluster-page.d.ts +0 -33
- package/dist/model/pages/create-machine-page.d.ts +0 -36
- package/dist/model/pages/create-network-page.d.ts +0 -31
- package/dist/model/pages/create-pod-page.d.ts +0 -29
- package/dist/model/pages/create-volume-page.d.ts +0 -30
- package/dist/model/pages/details-page.d.ts +0 -33
- package/dist/model/pages/docker-compatibility-page.d.ts +0 -29
- package/dist/model/pages/experimental-page.d.ts +0 -29
- package/dist/model/pages/extension-catalog-card-page.d.ts +0 -31
- package/dist/model/pages/extension-details-page.d.ts +0 -37
- package/dist/model/pages/image-edit-page.d.ts +0 -31
- package/dist/model/pages/kubernetes-bar.d.ts +0 -30
- package/dist/model/pages/kubernetes-resource-details-page.d.ts +0 -35
- package/dist/model/pages/kubernetes-resource-page.d.ts +0 -29
- package/dist/model/pages/network-details-page.d.ts +0 -33
- package/dist/model/pages/onboarding-page.d.ts +0 -30
- package/dist/model/pages/podman-kube-play-page.d.ts +0 -37
- package/dist/model/pages/podman-machine-details-page.d.ts +0 -36
- package/dist/model/pages/podman-onboarding-page.d.ts +0 -28
- package/dist/model/pages/pods-details-page.d.ts +0 -40
- package/dist/model/pages/pods-page.d.ts +0 -35
- package/dist/model/pages/preferences-page.d.ts +0 -32
- package/dist/model/pages/proxy-page.d.ts +0 -38
- package/dist/model/pages/registries-page.d.ts +0 -36
- package/dist/model/pages/resource-card-page.d.ts +0 -28
- package/dist/model/pages/resource-connection-card-page.d.ts +0 -33
- package/dist/model/pages/resource-details-page.d.ts +0 -25
- package/dist/model/pages/resources-page.d.ts +0 -27
- package/dist/model/pages/select-image-page.d.ts +0 -35
- package/dist/model/pages/settings-bar.d.ts +0 -36
- package/dist/model/pages/settings-page.d.ts +0 -27
- package/dist/model/pages/volume-details-page.d.ts +0 -27
- package/dist/model/workbench/navigation.d.ts +0 -50
- package/dist/model/workbench/status-bar.d.ts +0 -41
- package/dist/special-specs/podman-remote/podman-remote.spec.d.ts +0 -19
- package/dist/utility/fixtures.d.ts +0 -35
- package/dist/utility/provider.d.ts +0 -21
- /package/dist/{globalSetup → tests/playwright/src/globalSetup}/global-setup.d.ts +0 -0
- /package/dist/{model → tests/playwright/src/model}/core/extensions.d.ts +0 -0
- /package/dist/{model → tests/playwright/src/model}/core/operations.d.ts +0 -0
- /package/dist/{model → tests/playwright/src/model}/core/platforms.d.ts +0 -0
- /package/dist/{model → tests/playwright/src/model}/core/states.d.ts +0 -0
- /package/dist/{model → tests/playwright/src/model}/core/types.d.ts +0 -0
- /package/dist/{runner → tests/playwright/src/runner}/runner-options.d.ts +0 -0
- /package/dist/{setupFiles → tests/playwright/src/setupFiles}/setup-kind.d.ts +0 -0
- /package/dist/{setupFiles → tests/playwright/src/setupFiles}/setup-registry.d.ts +0 -0
- /package/dist/{special-specs → tests/playwright/src/special-specs}/installation/podman-installer.spec.d.ts +0 -0
- /package/dist/{special-specs → tests/playwright/src/special-specs}/installation/update-install.spec.d.ts +0 -0
- /package/dist/{special-specs → tests/playwright/src/special-specs}/managed-configuration/managed-configuration-no-predefined-settings.spec.d.ts +0 -0
- /package/dist/{special-specs → tests/playwright/src/special-specs}/managed-configuration/managed-configuration-user-settings.spec.d.ts +0 -0
- /package/dist/{special-specs → tests/playwright/src/special-specs}/ui-stress/ui-stress.spec.d.ts +0 -0
- /package/dist/{utility → tests/playwright/src/utility}/cleanup.d.ts +0 -0
- /package/dist/{utility → tests/playwright/src/utility}/platform.d.ts +0 -0
|
@@ -1,31 +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, Page } from '@playwright/test';
|
|
19
|
-
import { BasePage } from './base-page';
|
|
20
|
-
import { NetworkDetailsPage } from './network-details-page';
|
|
21
|
-
import { NetworksPage } from './networks-page';
|
|
22
|
-
export declare class CreateNetworkPage extends BasePage {
|
|
23
|
-
readonly heading: Locator;
|
|
24
|
-
readonly networkNameBox: Locator;
|
|
25
|
-
readonly subnetBox: Locator;
|
|
26
|
-
readonly createButton: Locator;
|
|
27
|
-
readonly cancelButton: Locator;
|
|
28
|
-
constructor(page: Page);
|
|
29
|
-
createNetwork(name: string, subnet: string): Promise<NetworkDetailsPage>;
|
|
30
|
-
cancel(): Promise<NetworksPage>;
|
|
31
|
-
}
|
|
@@ -1,29 +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, type Page } from '@playwright/test';
|
|
19
|
-
import { BasePage } from './base-page';
|
|
20
|
-
import { PodsPage } from './pods-page';
|
|
21
|
-
export declare class CreatePodsPage extends BasePage {
|
|
22
|
-
readonly heading: Locator;
|
|
23
|
-
readonly closeLink: Locator;
|
|
24
|
-
readonly podNameBox: Locator;
|
|
25
|
-
readonly closeButton: Locator;
|
|
26
|
-
readonly createPodButton: Locator;
|
|
27
|
-
constructor(page: Page);
|
|
28
|
-
createPod(podName: string): Promise<PodsPage>;
|
|
29
|
-
}
|
|
@@ -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, Page } from '@playwright/test';
|
|
19
|
-
import { BasePage } from './base-page';
|
|
20
|
-
import { VolumesPage } from './volumes-page';
|
|
21
|
-
export declare class CreateVolumePage extends BasePage {
|
|
22
|
-
readonly heading: Locator;
|
|
23
|
-
readonly closeLink: Locator;
|
|
24
|
-
readonly volumeNameBox: Locator;
|
|
25
|
-
readonly doneButton: Locator;
|
|
26
|
-
readonly closeButton: Locator;
|
|
27
|
-
readonly createVolumeButton: Locator;
|
|
28
|
-
constructor(page: Page);
|
|
29
|
-
createVolume(name: string): Promise<VolumesPage>;
|
|
30
|
-
}
|
|
@@ -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 { BasePage } from './base-page';
|
|
20
|
-
export declare abstract class DetailsPage extends BasePage {
|
|
21
|
-
readonly header: Locator;
|
|
22
|
-
readonly tabs: Locator;
|
|
23
|
-
readonly tabContent: Locator;
|
|
24
|
-
readonly controlActions: Locator;
|
|
25
|
-
readonly closeButton: Locator;
|
|
26
|
-
readonly backLink: Locator;
|
|
27
|
-
readonly pageName: Locator;
|
|
28
|
-
readonly resourceName: string;
|
|
29
|
-
readonly heading: Locator;
|
|
30
|
-
readonly breadcrumb: Locator;
|
|
31
|
-
constructor(page: Page, resourceName: string);
|
|
32
|
-
activateTab(tabName: string): Promise<this>;
|
|
33
|
-
}
|
|
@@ -1,29 +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 { SettingsPage } from './settings-page';
|
|
20
|
-
export declare class DockerCompatibilityPage extends SettingsPage {
|
|
21
|
-
readonly heading: Locator;
|
|
22
|
-
readonly serverInformationBox: Locator;
|
|
23
|
-
readonly podmanComposeCLICard: Locator;
|
|
24
|
-
readonly dockerCLICard: Locator;
|
|
25
|
-
readonly dockerContextDropdownMenu: Locator;
|
|
26
|
-
readonly podmanListeningLabel: Locator;
|
|
27
|
-
constructor(page: Page);
|
|
28
|
-
socketIsReachable(): Promise<boolean>;
|
|
29
|
-
}
|
|
@@ -1,29 +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 { SettingsPage } from './settings-page';
|
|
20
|
-
export declare class ExperimentalPage extends SettingsPage {
|
|
21
|
-
readonly heading: Locator;
|
|
22
|
-
readonly enableAllExperimentalFeaturesCheckbox: Locator;
|
|
23
|
-
readonly enableAllExperimentalFeaturesButton: Locator;
|
|
24
|
-
readonly statusBarProvidersCheckbox: Locator;
|
|
25
|
-
constructor(page: Page);
|
|
26
|
-
enableAllExperimentalFeatures(): Promise<void>;
|
|
27
|
-
disableAllExperimentalFeatures(): Promise<void>;
|
|
28
|
-
setExperimentalCheckbox(checkbox: Locator, enable: boolean): Promise<void>;
|
|
29
|
-
}
|
|
@@ -1,31 +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
|
-
import { ExtensionDetailsPage } from './extension-details-page';
|
|
21
|
-
export declare class ExtensionCatalogCardPage extends BasePage {
|
|
22
|
-
readonly parent: Locator;
|
|
23
|
-
readonly extensionName: string;
|
|
24
|
-
readonly detailsButton: Locator;
|
|
25
|
-
readonly downloadButton: Locator;
|
|
26
|
-
readonly alreadyInstalledText: Locator;
|
|
27
|
-
constructor(page: Page, extensionName: string);
|
|
28
|
-
openDetails(): Promise<ExtensionDetailsPage>;
|
|
29
|
-
isInstalled(): Promise<boolean>;
|
|
30
|
-
install(timeout: number): Promise<void>;
|
|
31
|
-
}
|
|
@@ -1,37 +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, Page } from '@playwright/test';
|
|
19
|
-
import { BasePage } from './base-page';
|
|
20
|
-
import { ExtensionsPage } from './extensions-page';
|
|
21
|
-
export declare class ExtensionDetailsPage extends BasePage {
|
|
22
|
-
readonly extensionName: string;
|
|
23
|
-
readonly header: Locator;
|
|
24
|
-
readonly tabs: Locator;
|
|
25
|
-
readonly tabContent: Locator;
|
|
26
|
-
readonly enableButton: Locator;
|
|
27
|
-
readonly disableButton: Locator;
|
|
28
|
-
readonly removeExtensionButton: Locator;
|
|
29
|
-
readonly status: Locator;
|
|
30
|
-
readonly heading: Locator;
|
|
31
|
-
readonly errorStackTrace: Locator;
|
|
32
|
-
constructor(page: Page, extensionName: string);
|
|
33
|
-
disableExtension(): Promise<this>;
|
|
34
|
-
enableExtension(): Promise<this>;
|
|
35
|
-
removeExtension(disableBeforeRemove?: boolean): Promise<ExtensionsPage>;
|
|
36
|
-
activateTab(tabName: string): Promise<this>;
|
|
37
|
-
}
|
|
@@ -1,31 +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
|
-
import { ImagesPage } from './images-page';
|
|
21
|
-
export declare class ImageEditPage extends BasePage {
|
|
22
|
-
readonly name: string;
|
|
23
|
-
readonly cancelButton: Locator;
|
|
24
|
-
readonly saveButton: Locator;
|
|
25
|
-
readonly imageName: Locator;
|
|
26
|
-
readonly imageTag: Locator;
|
|
27
|
-
readonly editDialog: Locator;
|
|
28
|
-
readonly alertDialog: Locator;
|
|
29
|
-
constructor(page: Page, name: string);
|
|
30
|
-
renameImage(name: string, tag?: string): Promise<ImagesPage>;
|
|
31
|
-
}
|
|
@@ -1,30 +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, Page } from '@playwright/test';
|
|
19
|
-
import type { KubernetesResources } from '/@/model/core/types';
|
|
20
|
-
import { KubernetesDashboardPage } from './kubernetes-dashboard-page';
|
|
21
|
-
import { KubernetesResourcePage } from './kubernetes-resource-page';
|
|
22
|
-
export declare class KubernetesBar {
|
|
23
|
-
readonly page: Page;
|
|
24
|
-
readonly kubernetesNavBar: Locator;
|
|
25
|
-
readonly title: Locator;
|
|
26
|
-
constructor(page: Page);
|
|
27
|
-
openTabPage(kubernetesResource: KubernetesResources): Promise<KubernetesResourcePage>;
|
|
28
|
-
openKubernetesDashboardPage(): Promise<KubernetesDashboardPage>;
|
|
29
|
-
getSettingsNavBarTabLocator(name: string): Locator;
|
|
30
|
-
}
|
|
@@ -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 Locator, type Page } from '@playwright/test';
|
|
19
|
-
import { DetailsPage } from './details-page';
|
|
20
|
-
export declare class KubernetesResourceDetailsPage extends DetailsPage {
|
|
21
|
-
readonly applyChangesButton: Locator;
|
|
22
|
-
readonly revertChagesButton: Locator;
|
|
23
|
-
readonly deleteButton: Locator;
|
|
24
|
-
readonly editorWidget: Locator;
|
|
25
|
-
readonly toggleButton: Locator;
|
|
26
|
-
readonly findTextArea: Locator;
|
|
27
|
-
readonly replaceTextArea: Locator;
|
|
28
|
-
readonly replaceButton: Locator;
|
|
29
|
-
static readonly SUMMARY_TAB = "Summary";
|
|
30
|
-
static readonly INSPECT_TAB = "Inspect";
|
|
31
|
-
static readonly KUBE_TAB = "Kube";
|
|
32
|
-
constructor(page: Page, title: string);
|
|
33
|
-
getState(): Promise<string>;
|
|
34
|
-
editKubernetsYamlFile(textToBeChanged: string, newText: string): Promise<void>;
|
|
35
|
-
}
|
|
@@ -1,29 +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 { KubernetesResources } from '/@/model/core/types';
|
|
20
|
-
import { KubernetesResourceDetailsPage } from './kubernetes-resource-details-page';
|
|
21
|
-
import { MainPage } from './main-page';
|
|
22
|
-
export declare class KubernetesResourcePage extends MainPage {
|
|
23
|
-
readonly applyYamlButton: Locator;
|
|
24
|
-
constructor(page: Page, name: string);
|
|
25
|
-
fetchKubernetesResource(resourceName: string, timeout?: number): Promise<Locator>;
|
|
26
|
-
geAttributeByRow(row: Locator, attributeName: string, resourceType: KubernetesResources): Promise<Locator>;
|
|
27
|
-
openResourceDetails(resourceName: string, resourceType: KubernetesResources, timeout?: number): Promise<KubernetesResourceDetailsPage>;
|
|
28
|
-
deleteKubernetesResource(resourceName: string): Promise<void>;
|
|
29
|
-
}
|
|
@@ -1,33 +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 { DetailsPage } from './details-page';
|
|
20
|
-
import { NetworksPage } from './networks-page';
|
|
21
|
-
export declare class NetworkDetailsPage extends DetailsPage {
|
|
22
|
-
readonly updateButton: Locator;
|
|
23
|
-
readonly deleteButton: Locator;
|
|
24
|
-
static readonly SUMMARY_TAB = "Summary";
|
|
25
|
-
static readonly INSPECT_TAB = "Inspect";
|
|
26
|
-
constructor(page: Page, name: string);
|
|
27
|
-
updateNetwork(options?: {
|
|
28
|
-
dnsServersToAdd?: string;
|
|
29
|
-
dnsServersToRemove?: string;
|
|
30
|
-
action?: 'Cancel' | 'Update';
|
|
31
|
-
}): Promise<NetworkDetailsPage>;
|
|
32
|
-
deleteNetwork(): Promise<NetworksPage>;
|
|
33
|
-
}
|
|
@@ -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, Page } from '@playwright/test';
|
|
19
|
-
import { BasePage } from './base-page';
|
|
20
|
-
export declare class OnboardingPage extends BasePage {
|
|
21
|
-
readonly mainPage: Locator;
|
|
22
|
-
readonly header: Locator;
|
|
23
|
-
readonly skipSetupButton: Locator;
|
|
24
|
-
readonly onboardingComponent: Locator;
|
|
25
|
-
readonly onboardingStatusMessage: Locator;
|
|
26
|
-
readonly nextInfoMessage: Locator;
|
|
27
|
-
readonly nextStepButton: Locator;
|
|
28
|
-
readonly cancelSetupButtion: Locator;
|
|
29
|
-
constructor(page: Page);
|
|
30
|
-
}
|
|
@@ -1,37 +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 { PlayYamlOptions } from '/@/model/core/types';
|
|
20
|
-
import { BasePage } from './base-page';
|
|
21
|
-
import { PodsPage } from './pods-page';
|
|
22
|
-
export declare class PodmanKubePlayPage extends BasePage {
|
|
23
|
-
readonly heading: Locator;
|
|
24
|
-
readonly yamlPathInput: Locator;
|
|
25
|
-
readonly playButton: Locator;
|
|
26
|
-
readonly doneButton: Locator;
|
|
27
|
-
readonly selectYamlButton: Locator;
|
|
28
|
-
readonly createYamlFromScratchButton: Locator;
|
|
29
|
-
readonly customYamlEditor: Locator;
|
|
30
|
-
readonly alertMessage: Locator;
|
|
31
|
-
readonly buildCheckbox: Locator;
|
|
32
|
-
constructor(page: Page);
|
|
33
|
-
private enableBuildFlag;
|
|
34
|
-
private createFromScratch;
|
|
35
|
-
private selectYamlFile;
|
|
36
|
-
playYaml(options: PlayYamlOptions, buildImage?: boolean, timeout?: number): Promise<PodsPage>;
|
|
37
|
-
}
|
|
@@ -1,36 +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 { ResourcesPage } from './resources-page';
|
|
20
|
-
export declare class PodmanMachineDetails extends ResourcesPage {
|
|
21
|
-
readonly podmanMachineName: Locator;
|
|
22
|
-
readonly podmanMachineStatus: Locator;
|
|
23
|
-
readonly podmanMachineConnectionActions: Locator;
|
|
24
|
-
readonly podmanMachineStartButton: Locator;
|
|
25
|
-
readonly podmanMachineRestartButton: Locator;
|
|
26
|
-
readonly podmanMachineStopButton: Locator;
|
|
27
|
-
readonly podmanMachineDeleteButton: Locator;
|
|
28
|
-
readonly tabs: Locator;
|
|
29
|
-
readonly summaryTab: Locator;
|
|
30
|
-
readonly logsTab: Locator;
|
|
31
|
-
readonly terminalTab: Locator;
|
|
32
|
-
readonly tabContent: Locator;
|
|
33
|
-
readonly terminalInput: Locator;
|
|
34
|
-
readonly terminalContent: Locator;
|
|
35
|
-
constructor(page: Page, podmanMachineName: string);
|
|
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 { MachineCreationForm } from './forms/machine-creation-form';
|
|
20
|
-
import { OnboardingPage } from './onboarding-page';
|
|
21
|
-
export declare class PodmanOnboardingPage extends OnboardingPage {
|
|
22
|
-
readonly podmanAutostartToggle: Locator;
|
|
23
|
-
readonly createMachinePageTitle: Locator;
|
|
24
|
-
readonly machineCreationForm: MachineCreationForm;
|
|
25
|
-
readonly podmanMachineShowLogsButton: Locator;
|
|
26
|
-
readonly goBackButton: Locator;
|
|
27
|
-
constructor(page: Page);
|
|
28
|
-
}
|
|
@@ -1,40 +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 { DetailsPage } from './details-page';
|
|
20
|
-
import { PodsPage } from './pods-page';
|
|
21
|
-
export declare class PodDetailsPage extends DetailsPage {
|
|
22
|
-
readonly startButton: Locator;
|
|
23
|
-
readonly stopButton: Locator;
|
|
24
|
-
readonly restartButton: Locator;
|
|
25
|
-
readonly deleteButton: Locator;
|
|
26
|
-
readonly findInLogsInput: Locator;
|
|
27
|
-
readonly searchResults: Locator;
|
|
28
|
-
static readonly SUMMARY_TAB = "Summary";
|
|
29
|
-
static readonly LOGS_TAB = "Logs";
|
|
30
|
-
static readonly INSPECT_TAB = "Inspect";
|
|
31
|
-
static readonly KUBE_TAB = "Kube";
|
|
32
|
-
constructor(page: Page, name: string);
|
|
33
|
-
getState(): Promise<string>;
|
|
34
|
-
startPod(): Promise<void>;
|
|
35
|
-
stopPod(): Promise<void>;
|
|
36
|
-
restartPod(): Promise<void>;
|
|
37
|
-
deletePod(): Promise<PodsPage>;
|
|
38
|
-
findInLogs(text: string): Promise<void>;
|
|
39
|
-
getCountOfSearchResults(): Promise<number>;
|
|
40
|
-
}
|
|
@@ -1,35 +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, Page } from '@playwright/test';
|
|
19
|
-
import { MainPage } from './main-page';
|
|
20
|
-
import { PodmanKubePlayPage } from './podman-kube-play-page';
|
|
21
|
-
import { PodDetailsPage } from './pods-details-page';
|
|
22
|
-
export declare class PodsPage extends MainPage {
|
|
23
|
-
readonly podmanKubePlayButton: Locator;
|
|
24
|
-
readonly prunePodsButton: Locator;
|
|
25
|
-
readonly pruneConfirmationButton: Locator;
|
|
26
|
-
constructor(page: Page);
|
|
27
|
-
openPodDetails(name: string): Promise<PodDetailsPage>;
|
|
28
|
-
getPodRowByName(name: string): Promise<Locator | undefined>;
|
|
29
|
-
podExists(name: string): Promise<boolean>;
|
|
30
|
-
openPodmanKubePlay(): Promise<PodmanKubePlayPage>;
|
|
31
|
-
prunePods(): Promise<PodsPage>;
|
|
32
|
-
selectPod(names: string[]): Promise<void>;
|
|
33
|
-
getPodActionsMenu(name: string): Promise<Locator>;
|
|
34
|
-
deployedPodExists(podName: string, environment?: string): Promise<boolean>;
|
|
35
|
-
}
|