Skip to content

Commit

Permalink
Add All permissions for creator and input style fixes (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
rubycop authored Jan 8, 2025
1 parent dc4a23d commit 153ed4b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,8 @@ const checkAccountAvailable = async (accountId) => {
};

return (
<div className="position-relative d-flex align-items-center">
<div className="account-field position-relative d-flex align-items-center">
<input
className="account-input"
type="text"
placeholder="app-account"
value={value}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const [members, setMembers] = useState(
formFields.members ?? [
{
accountId: context.accountId,
permissions: [PERMISSIONS.create],
permissions: [PERMISSIONS.create, PERMISSIONS.edit, PERMISSIONS.vote],
},
]
);
Expand Down
4 changes: 2 additions & 2 deletions playwright-tests/tests/page.treasury-factory.near.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,14 @@ test.describe("admin connected", function () {
await expect(
await page.locator("h3", { hasText: "Create Application Account" })
).toBeVisible();
await page.locator("input.account-input").fill(accName);
await page.locator(".account-field input").fill(accName);
await page.locator("a", { hasText: "Next" }).click();

// create sputnik dao account step
await expect(
await page.locator("h3", { hasText: "Create Sputnik DAO Account" })
).toBeVisible();
await page.locator("input.account-input").fill(accName);
await page.locator(".account-field input").fill(accName);
await page.locator("a", { hasText: "Next" }).click();

// add members step
Expand Down

0 comments on commit 153ed4b

Please sign in to comment.