Commit bd7efd2b authored by tom's avatar tom

update tests

parent 56102921
...@@ -23,8 +23,8 @@ test('base view +@mobile', async({ render }) => { ...@@ -23,8 +23,8 @@ test('base view +@mobile', async({ render }) => {
await component.getByLabel('Tag (max 35 characters)*').fill(mocks.tag1.name); await component.getByLabel('Tag (max 35 characters)*').fill(mocks.tag1.name);
await component.getByLabel(/label url/i).fill(mocks.tag1.meta.tagUrl); await component.getByLabel(/label url/i).fill(mocks.tag1.meta.tagUrl);
await component.getByLabel(/background color/i).fill(mocks.tag1.meta.bgColor.replace('#', '')); await component.getByLabel(/background \(hex\)/i).fill(mocks.tag1.meta.bgColor);
await component.getByLabel(/text color/i).fill(mocks.tag1.meta.textColor.replace('#', '')); await component.getByLabel(/text \(hex\)/i).fill(mocks.tag1.meta.textColor);
await component.getByLabel(/add/i).nth(3).click(); await component.getByLabel(/add/i).nth(3).click();
await component.getByLabel(/comment/i).focus(); await component.getByLabel(/comment/i).focus();
......
...@@ -51,7 +51,7 @@ const AccountActionsMenu = ({ isLoading, className }: Props) => { ...@@ -51,7 +51,7 @@ const AccountActionsMenu = ({ isLoading, className }: Props) => {
}, },
{ {
render: (props: ItemProps) => <PublicTagMenuItem { ...props }/>, render: (props: ItemProps) => <PublicTagMenuItem { ...props }/>,
enabled: !isTxPage, enabled: !isTxPage && config.features.publicTagsSubmission.isEnabled,
}, },
].filter(({ enabled }) => enabled); ].filter(({ enabled }) => enabled);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment