mirror of
https://github.com/Ku6epXBOCTuK/easy-png-tools.git
synced 2026-11-13 17:08:20 +00:00
test: less fragile - use semantic locators\helpers
This commit is contained in:
@@ -82,11 +82,17 @@
|
||||
{/each}
|
||||
</div>
|
||||
{:else if resultKind === "image" && resultUrl}
|
||||
<img src={resultUrl} alt={t("resultCard.alt")} />
|
||||
<img
|
||||
data-testid="result-image"
|
||||
src={resultUrl}
|
||||
alt={t("resultCard.alt")}
|
||||
/>
|
||||
{:else if running}
|
||||
<Check size={22} />
|
||||
{:else}
|
||||
<span class="empty">{t("resultCard.noResult")}</span>
|
||||
<span data-testid="empty-state" class="empty"
|
||||
>{t("resultCard.noResult")}</span
|
||||
>
|
||||
{/if}
|
||||
</div>
|
||||
</PreviewTile>
|
||||
|
||||
Reference in New Issue
Block a user