mirror of https://github.com/rancher/dashboard.git
Fleet: refactoring data-testids
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
parent
805690623d
commit
357746bf19
|
|
@ -519,7 +519,7 @@ export default {
|
|||
<router-link
|
||||
v-if="value.createdBy.location"
|
||||
:to="value.createdBy.location"
|
||||
data-testid="masthead-subheader-createdBy_link"
|
||||
data-testid="masthead-subheader-createdBy-link"
|
||||
>
|
||||
{{ value.createdBy.displayName }}
|
||||
</router-link>
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ describe('component: Masthead', () => {
|
|||
});
|
||||
|
||||
const container = wrapper.find('[data-testid="masthead-subheader-createdBy"]');
|
||||
const link = wrapper.find('[data-testid="masthead-subheader-createdBy_link"]');
|
||||
const link = wrapper.find('[data-testid="masthead-subheader-createdBy-link"]');
|
||||
const plainText = wrapper.find('[data-testid="masthead-subheader-createdBy_plain-text"]');
|
||||
|
||||
expect(link.exists()).toBe(showLink);
|
||||
|
|
|
|||
Loading…
Reference in New Issue