fix: ui tests run is fixed (applying class attribute twice to the hbs element caused the issue (#16428)

This commit is contained in:
Valeriia Ruban 2023-02-24 23:46:45 -08:00 committed by GitHub
parent d9e6748738
commit 859abf8a34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 2 deletions

3
.changelog/16428.txt Normal file
View File

@ -0,0 +1,3 @@
```release-note:bug
ui: fixes ui tests run on CI
```

View File

@ -1,4 +1,4 @@
<Hds::Alert @type='inline' @color={{or @type "neutral"}} class='mb-2 mt-2' as |A|> <Hds::Alert @type='inline' @color={{or @type "neutral"}} class='mb-2 mt-2 consul-intention-notice-custom-resource' as |A|>
<A.Title>Intention Custom Resource</A.Title> <A.Title>Intention Custom Resource</A.Title>
<A.Description>Some of your intentions are being managed through an Intention Custom Resource in your Kubernetes cluster. Those managed intentions will be view only in the UI. Any intentions created in the UI will work but will not be synced to the Custom Resource Definition (CRD) datastore.</A.Description> <A.Description>Some of your intentions are being managed through an Intention Custom Resource in your Kubernetes cluster. Those managed intentions will be view only in the UI. Any intentions created in the UI will work but will not be synced to the Custom Resource Definition (CRD) datastore.</A.Description>
<A.Link::Standalone @href="{{env 'CONSUL_DOCS_URL'}}/k8s/crds" <A.Link::Standalone @href="{{env 'CONSUL_DOCS_URL'}}/k8s/crds"

View File

@ -1,5 +1,5 @@
{{#if isVisible}} {{#if isVisible}}
<Hds::Alert @type="inline" class='mb-3 mt-2' class='agentless-node-notice' data-test-node-agentless-notice as |A|> <Hds::Alert @type="inline" class='mb-3 mt-2 agentless-node-notice' data-test-node-agentless-notice as |A|>
<A.Title> <A.Title>
<span>{{t 'routes.dc.nodes.index.agentless.notice.header'}}</span> <span>{{t 'routes.dc.nodes.index.agentless.notice.header'}}</span>
<Hds::Button <Hds::Button