Skip to content

Commit 41fb1a5

Browse files
Add IDs to View and Edit merchant buttons for test automation
Co-authored-by: StuartFerguson <16325469+StuartFerguson@users.noreply.github.com>
1 parent e57b8a1 commit 41fb1a5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • EstateManagementUI.BlazorServer/Components/Pages/Merchants

EstateManagementUI.BlazorServer/Components/Pages/Merchants/Index.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@
6262
</td>
6363
<td class="text-right">
6464
<div class="flex items-center justify-end space-x-2">
65-
<button class="text-blue-600 hover:text-blue-800 p-2" @onclick:stopPropagation="true" @onclick="() => ViewMerchant(merchant.MerchantId)" title="View">
65+
<button id="viewMerchantLink" class="text-blue-600 hover:text-blue-800 p-2" @onclick:stopPropagation="true" @onclick="() => ViewMerchant(merchant.MerchantId)" title="View">
6666
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
6767
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path>
6868
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"></path>
6969
</svg>
7070
</button>
71-
<button class="text-green-600 hover:text-green-800 p-2" @onclick:stopPropagation="true" @onclick="() => EditMerchant(merchant.MerchantId)" title="Edit">
71+
<button id="editMerchantLink" class="text-green-600 hover:text-green-800 p-2" @onclick:stopPropagation="true" @onclick="() => EditMerchant(merchant.MerchantId)" title="Edit">
7272
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
7373
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"></path>
7474
</svg>

0 commit comments

Comments
 (0)