mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 20:35:25 +02:00
chore(data-cy): require data-cy attributes [EE-6880] (#11453)
Some checks are pending
ci / build_images (map[arch:amd64 platform:linux version:]) (push) Waiting to run
ci / build_images (map[arch:amd64 platform:windows version:1809]) (push) Waiting to run
ci / build_images (map[arch:amd64 platform:windows version:ltsc2022]) (push) Waiting to run
ci / build_images (map[arch:arm platform:linux version:]) (push) Waiting to run
ci / build_images (map[arch:arm64 platform:linux version:]) (push) Waiting to run
ci / build_images (map[arch:ppc64le platform:linux version:]) (push) Waiting to run
ci / build_images (map[arch:s390x platform:linux version:]) (push) Waiting to run
ci / build_manifests (push) Blocked by required conditions
/ triage (push) Waiting to run
Lint / Run linters (push) Waiting to run
Test / test-client (push) Waiting to run
Test / test-server (map[arch:amd64 platform:linux]) (push) Waiting to run
Test / test-server (map[arch:amd64 platform:windows version:1809]) (push) Waiting to run
Test / test-server (map[arch:amd64 platform:windows version:ltsc2022]) (push) Waiting to run
Test / test-server (map[arch:arm64 platform:linux]) (push) Waiting to run
Some checks are pending
ci / build_images (map[arch:amd64 platform:linux version:]) (push) Waiting to run
ci / build_images (map[arch:amd64 platform:windows version:1809]) (push) Waiting to run
ci / build_images (map[arch:amd64 platform:windows version:ltsc2022]) (push) Waiting to run
ci / build_images (map[arch:arm platform:linux version:]) (push) Waiting to run
ci / build_images (map[arch:arm64 platform:linux version:]) (push) Waiting to run
ci / build_images (map[arch:ppc64le platform:linux version:]) (push) Waiting to run
ci / build_images (map[arch:s390x platform:linux version:]) (push) Waiting to run
ci / build_manifests (push) Blocked by required conditions
/ triage (push) Waiting to run
Lint / Run linters (push) Waiting to run
Test / test-client (push) Waiting to run
Test / test-server (map[arch:amd64 platform:linux]) (push) Waiting to run
Test / test-server (map[arch:amd64 platform:windows version:1809]) (push) Waiting to run
Test / test-server (map[arch:amd64 platform:windows version:ltsc2022]) (push) Waiting to run
Test / test-server (map[arch:arm64 platform:linux]) (push) Waiting to run
This commit is contained in:
parent
3cad13388c
commit
d38085a560
538 changed files with 2571 additions and 595 deletions
|
@ -90,6 +90,7 @@ export function IngressDatatable() {
|
|||
/>
|
||||
}
|
||||
disableSelect={useCheckboxes()}
|
||||
data-cy="k8s-ingresses-datatable"
|
||||
/>
|
||||
);
|
||||
|
||||
|
@ -114,15 +115,15 @@ export function IngressDatatable() {
|
|||
<DeleteButton
|
||||
disabled={selectedFlatRows.length === 0}
|
||||
onConfirmed={() => handleRemoveClick(selectedFlatRows)}
|
||||
data-cy="k8sSecret-removeSecretButton"
|
||||
confirmMessage="Are you sure you want to delete the selected ingresses?"
|
||||
data-cy="remove-ingresses-button"
|
||||
/>
|
||||
|
||||
<AddButton to=".create" color="secondary">
|
||||
<AddButton to=".create" color="secondary" data-cy="add-ingress-button">
|
||||
Add with form
|
||||
</AddButton>
|
||||
|
||||
<CreateFromManifestButton />
|
||||
<CreateFromManifestButton data-cy="k8s-ingress-deploy-button" />
|
||||
</Authorized>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -30,6 +30,7 @@ function Cell({ row, getValue }: CellContext<Ingress, string>) {
|
|||
name,
|
||||
}}
|
||||
title={name}
|
||||
data-cy={`ingress-name-link-${name}`}
|
||||
>
|
||||
{name}
|
||||
</Link>
|
||||
|
|
|
@ -24,7 +24,7 @@ export const namespace = columnHelper.accessor('Namespace', {
|
|||
enableColumnFilter: true,
|
||||
});
|
||||
|
||||
function Cell({ getValue }: CellContext<Ingress, string>) {
|
||||
function Cell({ getValue, row }: CellContext<Ingress, string>) {
|
||||
const namespace = getValue();
|
||||
return (
|
||||
<Link
|
||||
|
@ -33,6 +33,7 @@ function Cell({ getValue }: CellContext<Ingress, string>) {
|
|||
id: namespace,
|
||||
}}
|
||||
title={namespace}
|
||||
data-cy={`ingress-namespace-link-${row.original.Name}`}
|
||||
>
|
||||
{namespace}
|
||||
</Link>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue