Skip to content

Commit

Permalink
fix: Modify navigation icon length in cypress tests (#3234)
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikriemer authored Sep 17, 2024
1 parent 88b6765 commit 878e68d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ describe('Test Group Management for Pipelines', () => {

cy.dataCy('navigation-icon', { timeout: 10000 }).should(
'have.length',
2,
3,
);

// Check if pipeline is invisible to user2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ describe('Test User Roles for Pipelines', () => {

cy.dataCy('navigation-icon', { timeout: 10000 }).should(
'have.length',
2,
3,
);

PipelineUtils.goToPipelines();
Expand Down
2 changes: 1 addition & 1 deletion ui/deployment/modules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ spConfiguration:
description: 'In the configuration module, basic StreamPipes settings and services can be configured.'
icon: 'settings'
pageNames: 'PageName.SETTINGS'
privileges: '[UserPrivilege.PRIVILEGE_WRITE_ASSETS, UserPrivilege.PRIVILEGE_WRITE_LABELS, UserPrivilege.PRIVILEGE_READ_FILES, UserPrivilege.PRIVILEGE_WRITE_FILES]'
privileges: '[UserPrivilege.PRIVILEGE_WRITE_ASSETS, UserPrivilege.PRIVILEGE_WRITE_LABELS, UserPrivilege.PRIVILEGE_WRITE_FILES]'
showStatusBox: false
spAppOverview:
componentImport: False
Expand Down
2 changes: 1 addition & 1 deletion ui/src/app/configuration/configuration-tabs.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export class SpConfigurationTabsService {
itemId: 'files',
itemTitle: 'Files',
itemLink: ['configuration', 'files'],
roles: ['PRIVILEGE_READ_FILES', 'PRIVILEGE_WRITE_FILES'],
roles: ['PRIVILEGE_WRITE_FILES'],
},
{
itemId: 'labels',
Expand Down

0 comments on commit 878e68d

Please sign in to comment.