mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 14:20:42 +08:00
Fix failing e2e tests
We had e2e tests failing for the new Assignee and LabelInput components, and due to the changes to the SeedButton.
This commit is contained in:
@@ -115,13 +115,14 @@
|
||||
placeholder="Add assignee"
|
||||
on:submit={addAssignee} />
|
||||
<IconButton
|
||||
title="discard assignee"
|
||||
on:click={() => {
|
||||
inputValue = "";
|
||||
showInput = false;
|
||||
}}>
|
||||
<IconSmall name="cross" />
|
||||
</IconButton>
|
||||
<IconButton on:click={addAssignee}>
|
||||
<IconButton title="save assignee" on:click={addAssignee}>
|
||||
<IconSmall name="checkmark" />
|
||||
</IconButton>
|
||||
</div>
|
||||
@@ -129,6 +130,7 @@
|
||||
<Badge
|
||||
variant="outline"
|
||||
size="small"
|
||||
title="add assignee"
|
||||
round
|
||||
on:click={() => (showInput = true)}>
|
||||
<IconSmall name="plus" />
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
size="small"
|
||||
style="cursor: pointer;"
|
||||
on:click={() => (removeToggles[label] = !removeToggles[label])}>
|
||||
<div aria-label="chip" class="label">{label}</div>
|
||||
<div class="label">{label}</div>
|
||||
{#if removeToggles[label]}
|
||||
<IconButton title="remove label">
|
||||
<IconSmall name="cross" on:click={() => removeLabel(label)} />
|
||||
@@ -100,13 +100,14 @@
|
||||
bind:value={inputValue}
|
||||
on:submit={addLabel} />
|
||||
<IconButton
|
||||
title="discard label"
|
||||
on:click={() => {
|
||||
inputValue = "";
|
||||
showInput = false;
|
||||
}}>
|
||||
<IconSmall name="cross" />
|
||||
</IconButton>
|
||||
<IconButton on:click={addLabel}>
|
||||
<IconButton title="save label" on:click={addLabel}>
|
||||
<IconSmall name="checkmark" />
|
||||
</IconButton>
|
||||
</div>
|
||||
@@ -114,6 +115,7 @@
|
||||
<Badge
|
||||
variant="outline"
|
||||
size="small"
|
||||
title="add labels"
|
||||
round
|
||||
on:click={() => (showInput = true)}>
|
||||
<IconSmall name="plus"></IconSmall>
|
||||
|
||||
Reference in New Issue
Block a user