1
0
Fork 0
mirror of synced 2024-08-13 00:51:22 +12:00

Cypress test fix

This commit is contained in:
Dean 2022-04-26 13:54:18 +01:00
parent 64d4ea1533
commit bccaac253a
2 changed files with 4 additions and 2 deletions

View file

@ -11,7 +11,7 @@ filterTests(['all'], () => {
cy.applicationInAppTable("Cypress Tests")
cy.get(".appTable")
.within(() => {
cy.get("[data-cy='app-row-actions-menu']").eq(0).click()
cy.get(".app-row-actions-icon").eq(0).click()
})
cy.get(".spectrum-Menu").contains("Edit icon").click()
// Select random icon

View file

@ -89,7 +89,9 @@
</Button>
</div>
<ActionMenu align="right" dataCy="app-row-actions-menu-popover">
<Icon hoverable slot="control" name="More" />
<span slot="control" class="app-row-actions-icon">
<Icon hoverable name="More" />
</span>
{#if app.lockedYou}
<MenuItem on:click={() => releaseLock(app)} icon="LockOpen">
Release lock