Skip to content

Commit

Permalink
tests continued
Browse files Browse the repository at this point in the history
  • Loading branch information
Tupsu-jy committed Jan 19, 2024
1 parent 0bb5aa6 commit 1ad3d58
Show file tree
Hide file tree
Showing 13 changed files with 133 additions and 16 deletions.
15 changes: 10 additions & 5 deletions developmentdb/init.sql
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,16 @@ INSERT INTO tasks (id, name, assigned, description, importance) VALUES
('f0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::UUID, 'Task2', ARRAY['b0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11', 'c0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11']::UUID[], 'Description2', 2),
('010ebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::UUID, 'Task3', ARRAY['d0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11']::UUID[], 'Description3', 0),
('021ebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::UUID, 'Task4', ARRAY['e1eebc99-9c0b-4ef8-bb6d-6bb9bd380a11']::UUID[], 'Description4', 2),
('031ebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::UUID, 'Task5', ARRAY['f1eebc99-9c0b-4ef8-bb6d-6bb9bd380a11', '95e53e16-da0b-45b0-ad8b-d1afc91c473c']::UUID[], 'Description5', 1);
('031ebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::UUID, 'Task5', ARRAY['f1eebc99-9c0b-4ef8-bb6d-6bb9bd380a11', '95e53e16-da0b-45b0-ad8b-d1afc91c473c']::UUID[], 'Description5', 1),
('041ebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::UUID, 'Task6', ARRAY['a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11']::UUID[], 'Description6', 1),
('051ebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::UUID, 'Task7', ARRAY['b0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11']::UUID[], 'Description7', 2),
('061ebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::UUID, 'Task8', ARRAY['c0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11']::UUID[], 'Description8', 0),
('071ebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::UUID, 'Task9', ARRAY['d0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11']::UUID[], 'Description9', 1),
('081ebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::UUID, 'Task10', ARRAY['e1eebc99-9c0b-4ef8-bb6d-6bb9bd380a11']::UUID[], 'Description10', 2);

-- Columns with task assignments
INSERT INTO columns (id, task_ids, name) VALUES
('020ebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::UUID, ARRAY['e0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11', 'f0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11']::UUID[], 'Column1'),
('030ebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::UUID, ARRAY['010ebc99-9c0b-4ef8-bb6d-6bb9bd380a11']::UUID[], 'Column2'),
('040ebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::UUID, ARRAY['021ebc99-9c0b-4ef8-bb6d-6bb9bd380a11']::UUID[], 'Column3'),
('050ebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::UUID, ARRAY['031ebc99-9c0b-4ef8-bb6d-6bb9bd380a11']::UUID[], 'Column4');
('020ebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::UUID, ARRAY['e0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11', 'f0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11', '041ebc99-9c0b-4ef8-bb6d-6bb9bd380a11']::UUID[], 'Column1'),
('030ebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::UUID, ARRAY['010ebc99-9c0b-4ef8-bb6d-6bb9bd380a11', '051ebc99-9c0b-4ef8-bb6d-6bb9bd380a11', '061ebc99-9c0b-4ef8-bb6d-6bb9bd380a11']::UUID[], 'Column2'),
('040ebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::UUID, ARRAY['021ebc99-9c0b-4ef8-bb6d-6bb9bd380a11', '071ebc99-9c0b-4ef8-bb6d-6bb9bd380a11']::UUID[], 'Column3'),
('050ebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::UUID, ARRAY['031ebc99-9c0b-4ef8-bb6d-6bb9bd380a11', '081ebc99-9c0b-4ef8-bb6d-6bb9bd380a11']::UUID[], 'Column4');
2 changes: 2 additions & 0 deletions e2e/cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ const { defineConfig } = require('cypress')
module.exports = defineConfig({
e2e: {
baseUrl: 'http://localhost:9000',
viewportWidth: 1920,
viewportHeight: 1080,
setupNodeEvents(on, config) {
// implement node event listeners here
},
Expand Down
13 changes: 12 additions & 1 deletion e2e/node_modules/.bin/cypress

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 12 additions & 1 deletion e2e/node_modules/.bin/extract-zip

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 12 additions & 1 deletion e2e/node_modules/.bin/is-ci

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 12 additions & 1 deletion e2e/node_modules/.bin/node-which

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 12 additions & 1 deletion e2e/node_modules/.bin/rimraf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 12 additions & 1 deletion e2e/node_modules/.bin/semver

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 12 additions & 1 deletion e2e/node_modules/.bin/sshpk-conv

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 12 additions & 1 deletion e2e/node_modules/.bin/sshpk-sign

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 12 additions & 1 deletion e2e/node_modules/.bin/sshpk-verify

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 12 additions & 1 deletion e2e/node_modules/.bin/uuid

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion e2e/node_modules/.package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1ad3d58

Please sign in to comment.