Skip to content

Commit

Permalink
fix create/update membership interaction test
Browse files Browse the repository at this point in the history
  • Loading branch information
eshark9312 committed Feb 13, 2024
1 parent fcce38b commit 207584f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/app/App.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ const fillMembershipFormValidatorAccounts = async (modal: Container, accounts: s
expect(await modal.findByText(/^If your validator account/))
const validatorAccountsContainer = document.getElementsByClassName('validator-accounts')[0]
const addButton = modal.getByText('Add Validator Account')
for (let i = 0; i < accounts.length - 1; i++) {
for (let i = 0; i < accounts.length; i++) {
await userEvent.click(addButton)
}
const selectors = validatorAccountsContainer.querySelectorAll('input')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ export const SelectValidatorAccounts = ({ isValidatorAccount, state, onChange }:
onClick={() => {
RemoveAccount(index)
}}
className="remove-button"
>
<CrossIcon />
</ButtonGhost>
Expand Down

0 comments on commit 207584f

Please sign in to comment.