Skip to content

Commit 7963ed4

Browse files
authored
fix(card): remove broken Small Quiet test (#5797)
* fix(card): remove broken Small Quiet test * fix(card): update golden hash
1 parent 3e803bc commit 7963ed4

File tree

2 files changed

+2
-48
lines changed

2 files changed

+2
-48
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ executors:
1717
AZCOPY_TENANT_ID: $AZURE_TENANT_ID
1818
parameters:
1919
# In order to update the VRT baseline images:
20-
# 1. Copy the hash of the latest golden images cache from the left sidebar in the VRT preview link (not to be confused with the arbitrary hash in the URL).
20+
# 1. Copy the hash of the latest golden images hash from the left sidebar in the VRT preview link (not to be confused with the arbitrary hash in the URL).
2121
# 2. Paste the hash in the current_golden_images_hash default parameter below.
2222
# 3. Commit this change to the PR branch where the changes exist.
2323
current_golden_images_hash:
2424
type: string
25-
default: 9b2f918bdfb7a5d90ac435f9cb103a9d35c263c9
25+
default: fb61509de41ae6a2cd09fbcf661e20b9f270450b
2626
wireit_cache_name:
2727
type: string
2828
default: wireit

packages/card/stories/card.stories.ts

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -78,52 +78,6 @@ export const Default = (args: StoryArgs): TemplateResult => {
7878
};
7979
Default.args = {};
8080

81-
export const SmallQuiet = (args: StoryArgs): TemplateResult => {
82-
const { onClick } = args;
83-
return html`
84-
<sp-card
85-
heading="Card Heading"
86-
subheading="JPG"
87-
?toggles=${args.toggles !== undefined ? args.toggles : true}
88-
?horizontal=${args.horizontal}
89-
style="width: 200px;"
90-
href="https://opensource.adobe.com/spectrum-web-components"
91-
variant="quiet"
92-
size="s"
93-
@click=${(event: Event) => {
94-
const composedTarget = event.composedPath()[0] as HTMLElement;
95-
if (composedTarget.id !== 'like-anchor') return;
96-
event.stopPropagation();
97-
event.preventDefault();
98-
onClick && onClick(event);
99-
}}
100-
>
101-
<div slot="footer">
102-
Footer with a
103-
<sp-link href="https://google.com">link to Google</sp-link>
104-
</div>
105-
<sp-action-menu
106-
label="More Actions"
107-
slot="actions"
108-
placement="bottom-end"
109-
quiet
110-
>
111-
<sp-menu-item>Deselect</sp-menu-item>
112-
<sp-menu-item>Select Inverse</sp-menu-item>
113-
<sp-menu-item>Feather...</sp-menu-item>
114-
<sp-menu-item>Select and Mask...</sp-menu-item>
115-
<sp-menu-divider></sp-menu-divider>
116-
<sp-menu-item>Save Selection</sp-menu-item>
117-
<sp-menu-item disabled>Make Work Path</sp-menu-item>
118-
</sp-action-menu>
119-
<img slot="cover-photo" src=${portrait} alt="Demo Graphic" />
120-
</sp-card>
121-
`;
122-
};
123-
SmallQuiet.argTypes = {
124-
onClick: { action: 'link click' },
125-
};
126-
12781
export const href = (args: StoryArgs): TemplateResult => {
12882
const { onClick } = args;
12983
return html`

0 commit comments

Comments
 (0)