1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-04 21:35:23 +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

This commit is contained in:
Ali 2024-04-11 12:11:38 +12:00 committed by GitHub
parent 3cad13388c
commit d38085a560
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
538 changed files with 2571 additions and 595 deletions

View file

@ -54,6 +54,7 @@ export function ComposeForm({
)}
<WebEditorForm
data-cy="compose-editor"
value={values.content}
yaml
id="compose-editor"

View file

@ -159,6 +159,7 @@ function InnerForm({
<div className="col-sm-12">
<SwitchField
label="Create an Edge stack webhook"
data-cy="edge-stack-enable-webhook-switch"
checked={values.webhookEnabled}
labelClass="col-sm-3 col-lg-2"
onChange={(value) => setFieldValue('webhookEnabled', value)}
@ -212,6 +213,7 @@ function InnerForm({
<div className="col-sm-12">
<LoadingButton
className="!ml-0"
data-cy="update-stack-button"
size="small"
disabled={!isValid}
isLoading={isSubmitting}

View file

@ -273,6 +273,7 @@ function InnerForm({
<FormSection title="Actions">
<LoadingButton
disabled={dirty || !isValid || isLoading}
data-cy="pull-and-update-stack-button"
isLoading={isUpdateVersion && isLoading}
loadingText="updating stack..."
>
@ -285,6 +286,7 @@ function InnerForm({
isLoading={!isUpdateVersion && isLoading}
loadingText="updating settings..."
onClick={onUpdateSettingsClick}
data-cy="edge-stack-update-settings-button"
>
Update settings
</LoadingButton>

View file

@ -20,6 +20,7 @@ export function KubernetesForm({
<div className="col-sm-12">
<SwitchField
label="Use namespace(s) specified from manifest"
data-cy="use-manifest-namespaces-switch"
tooltip="If you have defined namespaces in your deployment file turning this on will enforce the use of those only in the deployment"
checked={values.useManifestNamespaces}
onChange={(value) => setFieldValue('useManifestNamespaces', value)}
@ -28,6 +29,7 @@ export function KubernetesForm({
</div>
<WebEditorForm
data-cy="kube-manifest-editor"
value={values.content}
yaml
id="kube-manifest-editor"