Skip to content

Commit

Permalink
Small test script and seeding changes (#631)
Browse files Browse the repository at this point in the history
* Small test script and seeding changes

* Remove Shreyas from the seed

Co-authored-by: Nick Phura <[email protected]>
  • Loading branch information
rstens and NickPhura authored Nov 9, 2021
1 parent f497da7 commit 47d48a1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
21 changes: 9 additions & 12 deletions database/src/seeds/01_db_system_users.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,18 @@ const systemUsers = [
{ identifier: 'jxdunsdo', type: 'IDIR', roleId: 1 },
{ identifier: 'mbaerg', type: 'IDIR', roleId: 1 },
{ identifier: 'nphura', type: 'IDIR', roleId: 1 },
{ identifier: 'opieross', type: 'IDIR', roleId: 1 },
{ identifier: 'postman', type: 'IDIR', roleId: 2 },
{ identifier: 'robmunro', type: 'IDIR', roleId: 1 },
{ identifier: 'rstens', type: 'IDIR', roleId: 1 }, //13
{ identifier: 'rstens', type: 'IDIR', roleId: 1 },
{ identifier: 'tadekens', type: 'IDIR', roleId: 1 },
{ identifier: 'sdevalap', type: 'IDIR', roleId: 1 },
{ identifier: 'ckich', type: 'IDIR', roleId: 1 },
{ identifier: 'test1', type: 'BCEID', roleId: 1 }, //16
{ identifier: 'test2', type: 'BCEID', roleId: 4 }, //17
{ identifier: 'test3', type: 'IDIR', roleId: 1 }, //18
{ identifier: 'test4', type: 'IDIR', roleId: 2 }, //19
{ identifier: 'test5', type: 'IDIR', roleId: 3 }, //20
{ identifier: 'test6', type: 'IDIR', roleId: 4 }, //21
{ identifier: 'test7', type: 'IDIR', roleId: 4 }, //22
{ identifier: 'cypress', type: 'IDIR', roleId: 1 } //23
{ identifier: 'test1', type: 'BCEID', roleId: 1 },
{ identifier: 'test2', type: 'BCEID', roleId: 4 },
{ identifier: 'test3', type: 'IDIR', roleId: 1 },
{ identifier: 'test4', type: 'IDIR', roleId: 2 },
{ identifier: 'test5', type: 'IDIR', roleId: 3 },
{ identifier: 'test6', type: 'IDIR', roleId: 4 },
{ identifier: 'test7', type: 'IDIR', roleId: 4 },
{ identifier: 'cypress', type: 'IDIR', roleId: 1 }
];

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ export function publish_project() {
.contains("Publish Project")
.should("be.visible");
cy.get('button[data-testid="publish-project-button"]').click();
cy.wait(2000);
cy.get('button[data-testid="publish-project-button"]')
.contains("Unpublish Project")
.should("be.visible");
Expand Down

0 comments on commit 47d48a1

Please sign in to comment.