Skip to content

Commit

Permalink
Updated tests for write permissions.
Browse files Browse the repository at this point in the history
  • Loading branch information
chth0n1x committed Oct 5, 2023
1 parent 26ecfad commit 240eca9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ module('Registries | Acceptance | overview.overview', hooks => {
reg.update({ currentUserPermissions: [Permission.Write, Permission.Read] });
await visit(`/${reg.id}/`);

assert.dom('[data-test-tags-widget-tag-input="edit"] input').isNotVisible();
await click('[data-test-edit-button="tags"]');
assert.dom('[data-test-tags-widget-tag-input="edit"] input').isVisible();

reg.update({ currentUserPermissions: [Permission.Read] });
await visit(`/${reg.id}/`);
Expand Down

0 comments on commit 240eca9

Please sign in to comment.