Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump urllib3 from 1.26.16 to 1.26.18 in /backend/src #14

Open
wants to merge 673 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
673 commits
Select commit Hold shift + click to select a range
1453a2f
added intable edit functionality and validation
Tornike-Papuashvili Mar 27, 2023
0ff0707
data actualizaction is now based on observable subscription, update a…
Tornike-Papuashvili Mar 28, 2023
7b6d672
feat (variables): added logic for delete
ArslanSB Mar 28, 2023
0c4a963
#3948 - Variable Enchancement
ArslanSB Mar 28, 2023
ef643a4
Merge branch 'feature_variable_enchancement' into 'development'
ArslanSB Mar 28, 2023
2c663a1
#3948 - Variable Enchancement
ArslanSB Mar 28, 2023
ff0fb0e
Merge branch 'development' into 'stage'
ArslanSB Mar 28, 2023
279eb52
fix (variables): fixed variable filter in front
ArslanSB Mar 28, 2023
d282c27
Merge branch 'development' into 'feature_variable_enchancement'
ArslanSB Mar 28, 2023
318fc86
#3948 - created new table for variales and refactored old code
ArslanSB Mar 28, 2023
a659abb
Merge branch 'feature_variable_enchancement' into 'development'
ArslanSB Mar 28, 2023
baa2754
Merge branch 'stage' into 'development'
ArslanSB Mar 28, 2023
9e18fab
Merge branch 'development' into 'stage'
ArslanSB Mar 28, 2023
18fdb6f
edit environment variable button will be disabled, untill feature its…
Tornike-Papuashvili Mar 29, 2023
c7714f4
modified api functions related to variables in order to skip interceptor
Tornike-Papuashvili Mar 29, 2023
16a795d
modified variables.state.ts, added function to update state on variab…
Tornike-Papuashvili Mar 29, 2023
3506487
feat (tree view): #3952 implementing tree view
ArslanSB Mar 29, 2023
bac04e0
removed allvariables api call on each update, added snack notificatio…
Tornike-Papuashvili Mar 29, 2023
6f94755
added native angular table sorting and filtering
Tornike-Papuashvili Mar 30, 2023
0a72f50
#3964 - First ever user to login to co.meta will become superuser.
ArslanSB Mar 24, 2023
adbb954
edit environment variable button will be disabled, untill feature its…
Tornike-Papuashvili Mar 29, 2023
88eb673
modified api functions related to variables in order to skip interceptor
Tornike-Papuashvili Mar 29, 2023
5210b67
modified variables.state.ts, added function to update state on variab…
Tornike-Papuashvili Mar 29, 2023
46d43aa
removed allvariables api call on each update, added snack notificatio…
Tornike-Papuashvili Mar 29, 2023
5c4675f
added native angular table sorting and filtering
Tornike-Papuashvili Mar 30, 2023
226435f
feat (tree view): further implementing tree view
ArslanSB Mar 30, 2023
4a1492d
Merge branch 'feature_variable_enchancement' of ssh://git.amvara.de:2…
Tornike-Papuashvili Mar 31, 2023
dbe18bf
added requested changes present in #3982
Tornike-Papuashvili Mar 31, 2023
ac9d7a4
#3928 - adding OIDCUser Information to variables JSON
raro42 Apr 3, 2023
202c261
Revert "#3928 - adding OIDCUser Information to variables JSON"
raro42 Apr 3, 2023
907be6e
#3928 - adding OIDCUser Information to variables JSON
raro42 Apr 3, 2023
80dd7f5
modified new edit variables dialog according to #3982
Tornike-Papuashvili Apr 3, 2023
2035548
#3928 - adding OIDCUser Information to variables JSON
raro42 Apr 3, 2023
1239e6c
Merge branch 'feature_variable_enchancement' of ssh://git.amvara.de:2…
raro42 Apr 3, 2023
9a3cd5f
edit variable dialog, now supports keyboard and mouse events
Tornike-Papuashvili Apr 4, 2023
41d2c6f
fixed bugs described in #3985
Tornike-Papuashvili Apr 5, 2023
2525634
fixed - in firefox feature's description textarea goes outside container
Tornike-Papuashvili Apr 5, 2023
515ee66
in addition to resizabe, edit-variables dialog is now draggable
Tornike-Papuashvili Apr 5, 2023
734a3be
original file will no longer be eliminated if user uploads already up…
Tornike-Papuashvili Apr 5, 2023
28a50ba
added new item called 'Variables' in base folder tree which displays …
Tornike-Papuashvili Apr 6, 2023
5c291c9
Merge branch 'stage' into 'feature_variable_enchancement'
raro42 Apr 11, 2023
e88b9e0
Merge branch 'feature_variable_enchancement' into 'stage'
raro42 Apr 11, 2023
6f0b744
fixed double click on input in firefox, causes user-selection on inpu…
Tornike-Papuashvili Apr 11, 2023
fce76cb
Merge branch 'feature_variable_enchancement' of ssh://git.amvara.de:2…
Tornike-Papuashvili Apr 11, 2023
acd4037
Fixing temporary problems on PROD
raro42 Apr 11, 2023
5bd227c
Merge branch 'feature_variable_enchancement' into 'development'
raro42 Apr 11, 2023
1cdd901
Merge branch 'development' into 'stage'
raro42 Apr 11, 2023
9a42fb0
#3970 - first implementation ... needs further testing
raro42 Apr 11, 2023
eacce36
#3970 - implemented new step - I cannot see.
raro42 Apr 12, 2023
69d3889
#3970 - first implementation ... needs further testing
raro42 Apr 11, 2023
fd26e1e
#3970 - implemented new step - I cannot see.
raro42 Apr 12, 2023
1e80b25
Merge branch 'stage' of ssh://git.amvara.de:2223/cometa/cometa into s…
raro42 Apr 12, 2023
eec6f16
#3970 - first implementation ... needs further testing
raro42 Apr 11, 2023
be52fa2
#3970 - implemented new step - I cannot see.
raro42 Apr 12, 2023
1a8fea0
#3970 - adding version information about new step to changelog
raro42 Apr 12, 2023
52cf69d
fixed old variables cannot be saved after modification
Tornike-Papuashvili Apr 12, 2023
898a761
Merge branch 'development' into 'stage'
ArslanSB Mar 21, 2023
d982d68
Merge branch 'cherry-pick-3a7836cb' into 'master'
raro42 Apr 13, 2023
73e0bee
added small popup for steps to help user insert variables
Tornike-Papuashvili Apr 13, 2023
67caec2
edit variables's button will be enabled, but once popup is open user …
Tornike-Papuashvili Apr 13, 2023
2de07e8
fixed expansion panel hides part of popup if it is open on the last s…
Tornike-Papuashvili Apr 13, 2023
5d891a5
changed styles for variable insertion popup to be just like that of c…
Tornike-Papuashvili Apr 13, 2023
930c98e
Merge branch 'feature_variable_enchancement' into stage
raro42 Apr 13, 2023
68e4638
Fixing deploy_selenoid.sh with pwd missing if backrgound image is pre…
raro42 Apr 14, 2023
205d92b
Moving pdf directory to /data in docker-compose.yml to have it on ext…
raro42 Apr 14, 2023
083fb2a
Merge branch 'feature_variable_enchancement' into development
raro42 Apr 14, 2023
8227087
Merge branch 'development' into stage
raro42 Apr 14, 2023
f0a6bcc
implemented requested in #3950
Tornike-Papuashvili Apr 14, 2023
4a2cf8f
Create LBTEST file just in case recreating container via CLI
raro42 Apr 14, 2023
6a7e2a2
variable flyout will have it's values selectable, but will be removed…
Tornike-Papuashvili Apr 17, 2023
de36679
(feature: Tree View) - #3952 - finished v1 implementation
ArslanSB Apr 17, 2023
3278e80
Merge branch 'feature_tree_view' into 'feature_variable_enchancement'
ArslanSB Apr 17, 2023
fa47258
fix (old code): removing old code that was used for testing autocomplete
ArslanSB Apr 17, 2023
1aabf48
feat (new step): added new step that generate a One-Time Password
ArslanSB Apr 17, 2023
8bd570f
fix (masking passwords): fixed issue when escaping passwords
ArslanSB Apr 17, 2023
c4a0579
added 'no such variable' if searched variable does not exist, added v…
Tornike-Papuashvili Apr 17, 2023
e55eab3
Merge branch 'feature_variable_enchancement' into 'development'
ArslanSB Apr 17, 2023
c222b81
Merge branch 'development' into 'stage'
ArslanSB Apr 17, 2023
2dd2d7d
fix (tree view): fixed missing folders
ArslanSB Apr 18, 2023
831583d
Merge branch 'feature_variable_enchancement' into 'development'
ArslanSB Apr 18, 2023
b4fca5e
Merge branch 'development' into 'stage'
ArslanSB Apr 18, 2023
ccc1130
feat (tree view): showing used by in feature
ArslanSB Apr 18, 2023
910d877
Merge branch 'feature_variable_enchancement' into 'development'
ArslanSB Apr 18, 2023
bb6cd5f
Merge branch 'development' into 'stage'
ArslanSB Apr 18, 2023
d287360
added variable replacement on key ENTER, when variable flyout appears…
Tornike-Papuashvili Apr 18, 2023
095bbf2
fixed textares's 'keypress ENTER' event to jump on newline was preven…
Tornike-Papuashvili Apr 18, 2023
593e76a
added column selection button to variables' table, variable flyout wi…
Tornike-Papuashvili Apr 19, 2023
9000179
variables will be shown in flyout if current feature is still not cre…
Tornike-Papuashvili Apr 19, 2023
24c9c40
#3881 - fallback to use value as string instead of failing the step
raro42 Apr 19, 2023
ebef040
Merge branch 'feature_variable_enchancement' into development
raro42 Apr 19, 2023
975c828
variable table's rows with change background color on hover event
Tornike-Papuashvili Apr 19, 2023
1527a8d
Merge branch 'development' into stage
raro42 Apr 19, 2023
cd4ea2a
fixed variable flyout bring out wrong variables when department is ch…
Tornike-Papuashvili Apr 19, 2023
642883c
fixed variable dialog does not show current env and department, fixed…
Tornike-Papuashvili Apr 19, 2023
3b0b2dd
fixed mat-icons are not horizontally centered in edit-variables dialog
Tornike-Papuashvili Apr 20, 2023
2897437
fixed in stepedit cannot detect variables unless user changes departm…
Tornike-Papuashvili Apr 20, 2023
40f8dd6
fixed - when viewing variables from folder tree, on certain resolutio…
Tornike-Papuashvili Apr 20, 2023
e9e78c1
Removing some styles for optimization
raro42 Apr 20, 2023
854b362
Merge branch 'feature_variable_enchancement' of ssh://git.amvara.de:2…
raro42 Apr 20, 2023
be8a6d6
Merge branch 'feature_variable_enchancement' into development
raro42 Apr 20, 2023
5fe73d2
Merge branch 'development' into stage
raro42 Apr 20, 2023
7b149bd
fix-new (tree-view): features' name will have feature_id as prefix, f…
Tornike-Papuashvili Apr 20, 2023
40a1322
Merge branch 'feature_variable_enchancement' of ssh://git.amvara.de:2…
Tornike-Papuashvili Apr 20, 2023
751ff3e
Merge branch 'feature_variable_enchancement' into development
raro42 Apr 20, 2023
58588ff
Merge branch 'development' into stage
raro42 Apr 20, 2023
4d5dd30
#4004 - Order by depends_on_others and feature_name
raro42 Apr 24, 2023
992b284
#4004 - adding depends_on_others to son results to be shown in front
raro42 Apr 24, 2023
919008f
Merge branch 'stage' into 'master'
raro42 Apr 25, 2023
d2418d1
fixed long folder and department names break folder tree hierarchy la…
Tornike-Papuashvili Apr 26, 2023
f2ede98
fixed from step result details link that has to navigate back to feat…
Tornike-Papuashvili Apr 26, 2023
6d721a9
variables can be created even if feature creation is not finished, b…
Tornike-Papuashvili Apr 27, 2023
1759d7e
Allow variables to be saved without featureid
raro42 Apr 27, 2023
3599b28
Merge branch 'feature_variable_enchancement' into 'development'
raro42 Apr 27, 2023
3c38b74
Merge branch 'development' into 'stage'
raro42 Apr 27, 2023
6d13571
fix (variables): fixed django setting more variables than necessary
ArslanSB Apr 28, 2023
e5cd9eb
Merge branch 'development' into 'stage'
ArslanSB Apr 28, 2023
9f90895
fix (variables): returing only user department variables
ArslanSB Apr 28, 2023
def2bb8
fix (logging): added logging for production, it should now show and s…
ArslanSB Apr 28, 2023
51f5bec
fix (typo): fixed typo from the views
ArslanSB Apr 28, 2023
6981f3a
Merge branch 'development' into 'stage'
ArslanSB Apr 28, 2023
26ed057
Merge branch 'stage' into 'master'
raro42 May 2, 2023
3408e59
fix (actions): variables being replaced in all loop's sub-steps
ArslanSB May 4, 2023
b9438ce
feat (step_timeouts): Implemented step_timouts
ArslanSB May 8, 2023
dfa273b
Merge branch 'timeout' into 'development'
ArslanSB May 8, 2023
a13f0fe
Merge branch 'development' into 'stage'
ArslanSB May 8, 2023
23af989
Feature variable enchancement
Tornike-Papuashvili May 17, 2023
d3732e7
Merge branch 'feature_variable_enchancement' into 'development'
Tornike-Papuashvili May 17, 2023
74101e5
existing steps will maintain their current timeout, but any new step …
Tornike-Papuashvili May 17, 2023
a5f4975
Merge branch 'timeout' into 'development'
Tornike-Papuashvili May 17, 2023
844b6cc
removed unused code from modify-department.component.ts
Tornike-Papuashvili May 17, 2023
a286297
removed increase/decrease arrows from number type mat input
Tornike-Papuashvili May 17, 2023
84d8b72
reduced width of all timeout related number type inputs
Tornike-Papuashvili May 17, 2023
9132f84
fix (downloads volume): fixed downloads volume path in docker
ArslanSB May 17, 2023
9dfe1f7
Merge branch 'development' into 'stage'
ArslanSB May 17, 2023
28727cf
Merge branch 'stage' into 'master'
ArslanSB May 17, 2023
98f8a67
feat (screenshot): taking screenshot always on step fail
ArslanSB May 18, 2023
235eea4
fix (step_timeout): fixed browser not stopping, when page takes longe…
ArslanSB May 18, 2023
ef6f7b2
fix (step_timeout): updated max step_timeout from 1000 => 7200
ArslanSB May 18, 2023
07c0b56
removd engine.io vulnerability
Tornike-Papuashvili May 19, 2023
de336c0
Merge branch 'development' of ssh://git.amvara.de:2223/cometa/cometa …
Tornike-Papuashvili May 19, 2023
3761d40
id prefix of features in tree-view component has been modified to be …
Tornike-Papuashvili May 19, 2023
9549032
fixed typos in config.json changelog
Tornike-Papuashvili May 19, 2023
82a820a
feature's icon will be gray if it depends on other feature
Tornike-Papuashvili May 19, 2023
a475d42
added screenshots view mechanism on step-view component's table rows
Tornike-Papuashvili May 19, 2023
3a06838
added screenshot view in feature result table, fixed table colum name…
Tornike-Papuashvili May 22, 2023
fa445e9
changed description for 'Integrations' field
Tornike-Papuashvili May 23, 2023
e2834d3
added go to main button in, feature results view, table layout was no…
Tornike-Papuashvili May 24, 2023
8ac3623
if step has screenshot comparison enabled then clicking on pixel diff…
Tornike-Papuashvili May 24, 2023
d0102b4
removed socket.io vulnerabilities. #4057
Tornike-Papuashvili May 25, 2023
01e0f5e
angular has been updated to v15, standalone components and strictly t…
Tornike-Papuashvili May 26, 2023
2819963
removed ajv package vulnerability
Tornike-Papuashvili May 26, 2023
66e76fa
updated ngx-network-error package version
Tornike-Papuashvili May 30, 2023
495d2b2
feat (custom error messages): implemented
ArslanSB May 31, 2023
d7feedb
adapted step view template to display custom error messages #3969
Tornike-Papuashvili May 31, 2023
f6e61e2
feat (step error): showing step errors on pdf file, fixed pixel diffe…
ArslanSB May 31, 2023
36d2d7a
step result view will always display error if step has one, fixed var…
Tornike-Papuashvili May 31, 2023
d87b1b9
hightchart/highstock diagram's range selection button will be respons…
Tornike-Papuashvili Jun 1, 2023
1f7329b
fix (upload temp file): how getting the actual file name and saving a…
ArslanSB Jun 7, 2023
7f95e31
Added link to public github documentation in help section
raro42 Jun 21, 2023
6ddff28
fix (variables): missing department based variables
ArslanSB Jun 26, 2023
e818676
Merge branch 'feature/custom_error_message' into 'development'
ArslanSB Jun 26, 2023
914dc5d
Merge branch 'development' into 'stage'
ArslanSB Jun 26, 2023
5b4a14b
fix (get_latest_browsers): retrieval from the docker registry is not …
ArslanSB Jun 26, 2023
cde559c
feat (actions): added double click step.
ArslanSB Jun 28, 2023
370743d
fix (steps): fixed cannot see element step logic
ArslanSB Jun 30, 2023
13b3432
Merge branch 'development' into 'stage'
ArslanSB Jun 30, 2023
92e1c08
docs (changelog): updated changelog
ArslanSB Jun 30, 2023
f78d6a6
Merge branch 'development' into 'stage'
ArslanSB Jun 30, 2023
7373824
Merge branch 'stage' into 'master'
ArslanSB Jun 30, 2023
19cb6be
fixed (max timeout): max timeout value and showing warning on the ste…
ArslanSB Jul 4, 2023
1bdddc0
Merge branch 'development' into 'stage'
ArslanSB Jul 4, 2023
9f7d101
fix (upload file): removing target file if exists or generating a tar…
ArslanSB Jul 5, 2023
39ab774
Merge branch 'development' into 'stage'
ArslanSB Jul 5, 2023
c1d1086
doc (changelog): update changelog
ArslanSB Jul 5, 2023
700eaba
Merge branch 'development' into 'stage'
ArslanSB Jul 5, 2023
f3a868e
fix (logging): added logging and commented the delete feature result …
ArslanSB Jul 5, 2023
4bbcbfd
doc (changelog): updated changelog
ArslanSB Jul 5, 2023
619e0c6
fix (logging): added logging and commented the delete feature result …
ArslanSB Jul 5, 2023
ae93f54
Merge branch 'development' into 'stage'
ArslanSB Jul 5, 2023
c8dc7d1
fix (package update): update django and behave container packages
ArslanSB Jul 10, 2023
fcc12b9
Merge branch 'stage' into 'master'
ArslanSB Jul 11, 2023
84d94db
fix (feature_result delete): exception was not parsed as an string wh…
ArslanSB Jul 19, 2023
c54d463
fix (feature_result delete): exception was not parsed as an string wh…
ArslanSB Jul 19, 2023
fe91d9f
Merge branch 'development' of ssh://git.amvara.de:2223/cometa/cometa …
ArslanSB Jul 19, 2023
68830ef
fix (pkg update): update packages
ArslanSB Jul 19, 2023
c945860
Merge branch 'development' into 'stage'
ArslanSB Jul 19, 2023
6b17200
Merge branch 'stage' into 'master'
ArslanSB Jul 19, 2023
74576a0
fix (cloud): cloud connection.
ArslanSB Jul 19, 2023
a6cdd62
fix (steps): added maxTimeout for waitSelectors and checking for Stal…
ArslanSB Jul 25, 2023
f804293
Feat/integration
ArslanSB Jul 27, 2023
8805c71
Merge branch 'feat/integration' into 'development'
ArslanSB Jul 27, 2023
9210702
Merge branch 'development' into 'stage'
ArslanSB Jul 27, 2023
1b00c05
Merge branch 'stage' into 'master'
ArslanSB Jul 27, 2023
389dd6e
feat: add pdf column to main view
santoshyadavdev Aug 30, 2023
3dcba29
Merge branch 'feat/add-pdf-column-in-main-view' into 'development'
santoshyadavdev Aug 30, 2023
65b9242
Batch Executions
ArslanSB Sep 7, 2023
52683e1
Merge branch 'feat/parallel_executions' into 'development'
ArslanSB Sep 7, 2023
973d264
Merge branch 'development' into 'stage'
ArslanSB Sep 7, 2023
22e2ccb
fix (pipeline): docker compose v2.20 issues
ArslanSB Sep 7, 2023
4769eac
Merge branch 'development' into 'stage'
ArslanSB Sep 7, 2023
f7f7a25
Merge branch 'stage' into 'master'
ArslanSB Sep 7, 2023
86a62c6
fix (live steps): play icon and steps will not be shown when feature …
ArslanSB Sep 9, 2023
90d4c36
feat (page title): add page titles to the routes
ArslanSB Sep 13, 2023
fc209ee
Merge branch 'feat/page-titles' into 'development'
ArslanSB Sep 13, 2023
fe7df1a
fix (front): small fixed for frontend, scroll and percentage issues a…
ArslanSB Sep 18, 2023
b5b851b
Merge branch 'feat/page-titles' into 'development'
ArslanSB Sep 18, 2023
85f6572
Merge branch 'development' into 'stage'
ArslanSB Sep 20, 2023
dde7535
fix (actions): steps migrated
ArslanSB Sep 21, 2023
749f3bb
Merge branch 'fix/steps_migration' into 'development'
ArslanSB Sep 21, 2023
1d76406
fix (browser): parsing error during startup, doesn't show anything, a…
ArslanSB Sep 21, 2023
ed632b7
Merge branch 'development' into 'stage'
ArslanSB Sep 21, 2023
5e7f0b2
fix (ci/cd): restarting the RedisQ after pipeline
ArslanSB Sep 21, 2023
150e00f
Merge branch 'development' into 'stage'
ArslanSB Sep 21, 2023
7c4e553
feat (feature results): update restuls table.
ArslanSB Sep 21, 2023
a883b65
Update README.md and install routine
raro42 Sep 22, 2023
bedf00a
Merge branch 'development' of ssh://git.amvara.de:2223/cometa/cometa …
raro42 Sep 22, 2023
1638491
fix (feature): create feature not working after changing schedule set…
ArslanSB Sep 22, 2023
6fa9141
feat (results): update results table
ArslanSB Sep 22, 2023
6af410b
Merge branch 'development' into 'stage'
raro42 Sep 25, 2023
31a0cf1
Merge branch 'stage' into 'master'
raro42 Sep 25, 2023
bd5891c
Update views.py - adding test on empty schedule to not save anything
raro42 Sep 26, 2023
6c3a931
Fixing tipo porgress to progress
raro42 Sep 29, 2023
1913213
refactor (results): Feature Result table
ArslanSB Oct 3, 2023
7e6603e
Merge branch 'feat/results_table' into 'development'
ArslanSB Oct 3, 2023
f49214d
Merge branch 'development' into 'stage'
ArslanSB Oct 3, 2023
cede72c
Merge branch 'stage' into 'master'
raro42 Oct 3, 2023
84776d3
fix (selector): dangling results
ArslanSB Oct 3, 2023
2094c72
Merge branch 'feat/results_table' into 'development'
ArslanSB Oct 3, 2023
041b8d8
Merge branch 'development' into 'stage'
ArslanSB Oct 3, 2023
02e369f
Merge branch 'stage' into 'master'
ArslanSB Oct 3, 2023
15b8272
fix (result log): result log button fixed.
ArslanSB Oct 3, 2023
f149ac5
fix (execution): dead-lock issue fix
ArslanSB Oct 5, 2023
fddb6cb
feat (highligth element): highlight of element implemented.
ArslanSB Oct 12, 2023
358556f
Merge branch 'development' into 'stage'
ArslanSB Oct 12, 2023
c029c24
fix (tree-view): duplicate feature id fix
ArslanSB Oct 17, 2023
59540b2
Merge branch 'development' into 'stage'
ArslanSB Oct 17, 2023
b626e20
fix (tree-view): duplicate feature id fix
ArslanSB Oct 17, 2023
0a73625
Merge branch 'development' into 'stage'
ArslanSB Oct 17, 2023
d08e545
feat: Data-Driven Implemented
santoshyadavdev Oct 20, 2023
e698250
Merge branch 'feat/add-data-driven-test' into 'development'
ArslanSB Oct 20, 2023
d0291b1
Merge branch 'development' into 'stage'
ArslanSB Oct 20, 2023
9f9a380
fix (keydown): V for edit variables changed to CTRL+V
ArslanSB Oct 20, 2023
584c652
Merge branch 'development' into 'stage'
ArslanSB Oct 20, 2023
c0c3ae3
fix (keydown): V for edit variables changed to CTRL+V
ArslanSB Oct 20, 2023
936e7a2
Merge branch 'development' into 'stage'
ArslanSB Oct 20, 2023
1fe587b
fix (data-driven): websockets fix and ignoring if feature_id or featu…
ArslanSB Oct 22, 2023
46dbd3f
fix (data-driven): adding to changelog
ArslanSB Oct 22, 2023
52d2ebe
Merge branch 'development' into 'stage'
ArslanSB Oct 22, 2023
2caa770
Merge branch 'stage' into 'master'
ArslanSB Oct 22, 2023
c79a812
Bump urllib3 from 1.26.16 to 1.26.18 in /backend/src
dependabot[bot] Oct 22, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# ignore visual studio code directory
.vscode/
# ignore data directory incase cometa was created using cometa.sh script
data/
# ignore _template files
*_template
102 changes: 60 additions & 42 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# for every installation / server / client
# ######################################## #
# Changelog:
# 2022-01-26 RRO Added GITCLIENTID, GITCLIENTSECRET
# 2022-01-06 RRO Added gunicorn reload for behave and django
# ######################################## #

Expand All @@ -11,14 +12,14 @@
include:
- 'gitlab-ci-yamls/*.yml'

# set GIT_STRATEGY to none to avoid
# pulling content accidentally and
# losing old changes
variables:
# CI_DEBUG_TRACE: "true" # show verbose information
# GIT_STRATEGY: none
# GIT_STRATEGY: clone
COMETA_EMAIL_ENABLED: 'True'
COMETA_REPLACE_FAVICON_IN: "front/src/index.html front/src/manifest.json front/src/welcome.html"
COMETA_TOTAL_BROWSER_VERSION: 10 # number of latest browser version that will be pulled.

# set deploy order in which jobs
# will be executed
Expand All @@ -29,27 +30,46 @@ stages:
# redundancy.
.deployment_script: &deployment_script
stage: deploy
script:
script:
#########################################################
# OLD REPOSITORY CODE
# REPLACE
#########################################################
# cd to DEPLOY_BACKEND_FOLDER before doing anything
# - cd $DEPLOY_BACKEND_FOLDER
# stash old changes before pulling new changes
# - sudo git stash
# make sure we are in correct branch
# - sudo git checkout $CI_COMMIT_BRANCH
# pull new changes
# - sudo git pull
# update docker-compose file depending on server variables
- sed -i 's/<outside_port>/'$DOCKER_HTTP_PORT'/g;s/<server>/'$DOCKER_OPENIDC_CONFIG_EXT'/g' docker-compose.yml
# Replace secrets in openidc
- sed -i 's/@@COMETA_CRYPTO_PASSPHRASE@@/'$COMETA_CRYPTO_PASSPHRASE'/g' front/apache-conf/openidc.conf_${DOCKER_OPENIDC_CONFIG_EXT}
# Replace google client information
- sed -i 's/@@COMETA_GOOGLE_CLIENTID@@/'$COMETA_GOOGLE_CLIENTID'/g' front/apache-conf/metadata/accounts.google.com.client
- sed -i 's/@@COMETA_GOOGLE_SECRETKEY@@/'$COMETA_GOOGLE_SECRETKEY'/g' front/apache-conf/metadata/accounts.google.com.client
# Replace git client secret for access to git.amvara.de
- sed -i 's/@@GITCLIENTID@@/'$GITCLIENTID'/g' front/apache-conf/metadata/git.amvara.de.client
- sed -i 's/@@GITCLIENTSECRET@@/'$GITCLIENTSECRET'/g' front/apache-conf/metadata/git.amvara.de.client
# Replace Stripe client keys
- sed -i 's/@@COMETA_STRIPE_PUBLIC_LIVE_KEY@@/'$COMETA_STRIPE_PUBLIC_LIVE_KEY/'g' front/src/app/deploy-tokens.ts
- sed -i 's/@@COMETA_STRIPE_PUBLIC_TEST_KEY@@/'$COMETA_STRIPE_PUBLIC_TEST_KEY'/g' front/src/app/deploy-tokens.ts
# Replace co.meta favicon depending on the branch
- for FILE in ${COMETA_REPLACE_FAVICON_IN}; do sed -i 's/@@BRANCH@@/'$CI_COMMIT_BRANCH'/g' $FILE; done


#########################################################

# COPY CODE TO DEPLOY_BACKEND_FOLDER
#########################################################
# make sure the deployment folder exists
- mkdir -p $DEPLOY_BACKEND_FOLDER
# copy all the data from current directory to the deployment directory
- rsync -av --exclude={".git/","*.so"} ./ $DEPLOY_BACKEND_FOLDER/.
# change directory to deployment folder
- cd $DEPLOY_BACKEND_FOLDER

#########################################################
# BACKEND
#########################################################
# spin up dockers if not started yet
# - docker-compose up -d db django behave ws selenoid novnc
# save all environment variables that start with COMETA_ to secret_variables.py
# these variables come from CI/CD variables from gitlab and variables set inside
# gitlab-ci yaml files.
- env | grep "^COMETA_" | sed -E "s/([A-Z_])=(.*)/\1='\2'/" > secret_variables.py
- env | grep "^COMETA_" | sed -E "s/([A-Z_])=(.*)/\1='\2'/" > backend/secret_variables.py
# Build Selenoid browsers
- echo -e "\e[0Ksection_start:`date +%s`:deploy_selenoid\r\e[0KRunning selenoid deployment script"
- bash backend/selenoid/deploy_selenoid.sh
Expand All @@ -68,52 +88,50 @@ stages:
- echo -e "\e[0Ksection_start:`date +%s`:parse_browsers\r\e[0KParsing selenoid browsers to update database"
- docker exec cometa_django bash -c "curl http://localhost:8000/parseBrowsers/ --silent --retry 5 --retry-delay 5"
- echo -e "\e[0Ksection_end:`date +%s`:parse_browsers\r\e[0K"
# Reload project files in gunicorn
- echo -e "\e[0Ksection_start:`date +%s`:reloading_gunicorn\r\e[0KPreparing to reload project in gunicorn"
- echo -e "Now reloading gunicorn for django"
- docker exec cometa_django fuser -k -HUP 8000/tcp
- echo -e "Now reloading gunicorn for behave"
- docker exec cometa_behave fuser -k -HUP 8001/tcp
- echo -e "\e[0Ksection_end:`date +%s`:reloading_gunicorn\r\e[0K"

#########################################################
# FRONTEND
#########################################################
# Replace secrets in openidc
- sed -i 's/@@COMETA_CRYPTO_PASSPHRASE@@/'$COMETA_CRYPTO_PASSPHRASE'/g' front/apache-conf/openidc.conf_${DOCKER_OPENIDC_CONFIG_EXT}
# Replace google client information
- sed -i 's/@@COMETA_GOOGLE_CLIENTID@@/'$COMETA_GOOGLE_CLIENTID'/g' front/apache-conf/metadata/accounts.google.com.client
- sed -i 's/@@COMETA_GOOGLE_SECRETKEY@@/'$COMETA_GOOGLE_SECRETKEY'/g' front/apache-conf/metadata/accounts.google.com.client
# Replace Stripe client keys
- sed -i 's/@@COMETA_STRIPE_PUBLIC_LIVE_KEY@@/'$COMETA_STRIPE_PUBLIC_LIVE_KEY/'g' front/src/app/deploy-tokens.ts
- sed -i 's/@@COMETA_STRIPE_PUBLIC_TEST_KEY@@/'$COMETA_STRIPE_PUBLIC_TEST_KEY'/g' front/src/app/deploy-tokens.ts
# update docker-compose file depending on server variables
- sed -i 's/<outside_port>/'$DOCKER_HTTP_PORT'/g;s/<server>/'$DOCKER_OPENIDC_CONFIG_EXT'/g' docker-compose.yml
# Replace co.meta favicon depending on the branch
- for FILE in ${COMETA_REPLACE_FAVICON_IN}; do sed -i 's/@@BRANCH@@/'$CI_COMMIT_BRANCH'/g' $FILE; done
# start container or if already started then compile else start from zero
- echo "Checking if cometa_front is already running else start it..."
- echo "If there are changes to docker-compose file it will recreate the container..."
- docker-compose up -d apache 2>&1 | grep "up-to-date" && docker exec cometa_front bash -c "cd /code/; ./start.sh $script_options" || ( timeout 360 docker-compose logs -f apache || true )
- docker-compose up -d apache 2>&1 | grep -E "up-to-date|cometa_front.*?Running" && docker exec cometa_front bash -c "cd /code/; ./start.sh $script_options" || ( timeout 360 docker-compose logs -f --tail=0 apache || true )

#########################################################
# RELOAD GUNICORNS
#########################################################
# Reload project files in gunicorn
- echo -e "\e[0Ksection_start:`date +%s`:reloading_gunicorn\r\e[0KPreparing to reload project in gunicorn"
- echo -e "Now reloading gunicorn for django"
- docker exec cometa_django fuser -k -HUP 8000/tcp
- echo -e "Now reloading gunicorn for behave"
- docker exec cometa_behave fuser -k -HUP 8001/tcp
- docker exec cometa_behave bash -c "supervisorctl restart django-rq:"
- echo -e "\e[0Ksection_end:`date +%s`:reloading_gunicorn\r\e[0K"

# create a deploy job for amvara2 for branch stage
deploy:amvara2.stage:
<<: *deployment_script
extends: .amvara2.stage

# create a deploy job for amvara3 for branch prod
# deploy:amvara3.prod:
# <<: *deployment_script
# extends: .amvara3.prod
deploy:amvara3.prod:
<<: *deployment_script
extends: .amvara3.prod

# create a deploy job for client01 for branch prod
# deploy:client01.int:
# <<: *deployment_script
# extends: .client01.int
deploy:client01.int:
<<: *deployment_script
extends: .client01.int

# create a deploy job for client01 for branch prod
# deploy:client01.prod:
deploy:client01.prod:
<<: *deployment_script
extends: .client01.prod

# create a deploy job for client02 for branch prod
# deploy:client02.prod:
# <<: *deployment_script
# extends: .client01.prod
# extends: .client02.prod

# DONE
109 changes: 73 additions & 36 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@
<p align="center">
<h1 align="center">Cometa</h1>
<p align="center">
COMETA is a 100% open source software suite for visual and functional regression testing, to help QA Managers, DevOps and Business Owners get rid of repeating manual tests. <a href="https://cometa.rocks/"><strong>Learn more</strong></a>
Open source is the future. Co.Meta is an advanced & evolving meta-test product that has been made with ❤️ for DevOps and QA Engineers. <a href="https://cometa.rocks/"><strong>Learn more</strong></a>
<br>
<br>
<a href="https://t.me/joinchat/bFquCBGPBCAwYWZk">Telegram</a>
·
<a href="https://matrix.to/#/!LqMzSzyPqrUFRqNiCt:matrix.org?via=matrix.org">Matrix</a>
<a href="https://cometa.rocks/support/">Support</a>

</p>

Expand All @@ -24,11 +22,7 @@ COMETA is a 100% open source software suite for visual and functional regression
- [Django](https://www.djangoproject.com/)
- [Behave](https://behave.readthedocs.io/en/stable/)
- [Selenoid](https://aerokube.com/selenoid/)

## Requirements

- Docker
- Docker Compose
- [PostgreSQL](https://www.postgresql.org/)

## Getting started

Expand All @@ -38,8 +32,9 @@ Here is what you need to be able to run Cometa.

- Docker
- Docker Compose
- Use Linux as operating system. Have a look at pre-build [Virtual Boxes](https://osboxes.org/)

In any case that you are stuck for more than 5 minutes - please us know. And please give us the oportunity to help you. We want to learn how you are using cometa and what problems you encounter. Contact us via Telegram or WhatsApp as seen on https://cometa.rocks/ .
In any case that you are stuck for more than 5 minutes - please us know. And please give us the oportunity to help you. We want to learn how you are using cometa and what problems you encounter. <a href="https://cometa.rocks/support/">Contact us</a>. We are happy to help.

#### Manual

Expand All @@ -49,67 +44,109 @@ In any case that you are stuck for more than 5 minutes - please us know. And ple
```

2. Setup at least 1 authentication provider:

To setup Google:
* Go to [Google Developer Console](https://console.cloud.google.com/)
* Create an OAuth application
* Add your domain to the allowed hosts
* Retrieve the `client_id` and `secret_id` and paste them in `./front/apache-conf/metadata/accounts.google.com.client`

* Set `redirect_uri` to `https://<domain>/callback`

To setup Gitlab:
* Goto [git.amvara.de](https://git.amvara.de/)
* Create a new account
* Settings > Application > Add new application
* Add your domain to the allowed hosts
* Retrieve the `client_id` and `secret_id` and paste them in `./front/apache-conf/metadata/accounts/git.amvara.de.client`

* Set `redirect_uri` to `https://<domain>/callback`

In both cases, the default URL when installing on you Desktop or Laptop, is `localhost`.


Very nice: Instead of following the manual setup instructions below, you may execute `./cometa.sh` to bring up a localhost version on your machine.


3. Create a crontab file for scheduling your automated tests

```sh
mkdir -p backend/behave/schedules && touch backend/behave/schedules/crontab
```

4. Get all Docker containers up:

In `docker-compose.yml` change <server> to 'local' and <server-outside-port> to '80' or according to your needs.

* Change the `<outside_port>` port to `80` or any other port you'd like. Keep in mind that this port should match with what is configured inside the `openidc.conf`
* Change the `<server>` to `local` or your custom configuration file in `front/apache-conf/openidc.conf_<custom_name>`



3. Get all Docker containers up:
```sh
docker-compose up -d
docker-compose up -d && docker-compose logs -f --tail=10
```

Cometa starts on port 443. If that port is used on your machine, change it `docker-compose.yml` to e.g. "8443:443"
Cometa also starts on port 80. If that is not available you could change that to 8081 ind `docker-compose.yml`

In case you want to view some logs `docker-compose logs -f --tail=10`
View some logs `docker-compose logs -f --tail=10` of the installation process, to get a understanding, when cometa is ready.

4. Load required database objects
```bash
docker exec -it cometa_django bash
python manage.py loaddata defaults/*.json
Give cometa some minutes to install python, setup django, download npm and docker files, compile the front end.
Depending on your computer this can take a couple of minutes.

You want a development server?

```sh
docker-compose -f docker-compose-dev.yml up -d
```

5. (optional) Create superuser for the Backend Admin:
5. **(Optional)** Create superuser for the Backend Admin

Default superuser is created on runtime as `admin:admin`
Default superuser is created on runtime as `admin:admin`.

```bash
```
bash
docker exec -it cometa_django bash
root@cometa_django:/opt/code# python manage.py createsuperuser
```
```

6. Run the selenoid setup
6. **(Optional)** Install latest browser versions

`./selenoid/deploy_selenoid.sh`.
`./backend/selenoid/deploy_selenoid.sh -n 3`.

This will configure and pull the Docker images for Selenoid.
This will configure and pull the three newest Docker images with virtual browsers for Selenoid.

Selenoid image are the browser that you will be able use and select in cometa.
Selenoid image are the browser that you will be able use and select in cometa.

Of course there are options to include browserstack, headspin or sourcelabs browsers. But that is a bit something you would not want to configure on your first setup.
Of course there are options to include browserstack, headspin or sourcelabs browsers. But that is a bit you would not want to configure on your first setup.

This step will take some time as all the default browser images are being pulled.
This step will take some time as all the default browser images are being pulled.

Once cometa is up and running, you can parse the new browser images avaible into Cometa by calling `https://localhost/backend/parseBrowsers/`

7. See cometa rocks in your browser

Test server access `curl -k https://<yourdomain>:<specified port - default 443>/`
Test server access `curl -k https://<yourdomain>:<specified port - default 443>/`

Example `curl -k https://localhost:443/`

You should see something like this:
<p>The document has moved <i>here</i>.</p>

Example `curl -k https://localhost:8443/`
8. Import the over 70 pre-defined actions

You should see something like this:
<p>The document has moved <i>here</i>.</p>
On first start you have to manually parse the actions.py file. This enables cometa to use any steps defined in the UI. The user can then choose from the steps in the UI.
`https://localhost/backend/parseActions/` ... as a result cometa will show all actions that have been parsed and are now available for selection in cometa-front.


8. Run your first test

Click on the "+" on the very top. Select Department, Environment and Feature Name
Click on the "+" on the very top. Select Department, Environment and Feature Name

And import this JSON to search for "cometa Rocks" on google
And import this JSON to search for "cometa Rocks" on google

```[{"enabled":true,"screenshot":true,"step_keyword":"Given","compare":false,"step_content":"Goto URL \"https://www.google.de/\"","step_type":"normal","continue_on_failure":false,"timeout":60},{"enabled":true,"screenshot":false,"step_keyword":"Given","compare":false,"step_content":"Maximize the browser","step_type":"normal","continue_on_failure":false,"timeout":60},{"enabled":true,"screenshot":true,"step_keyword":"Given","compare":false,"step_content":"wait until I can see \"google\" on page","step_type":"normal","continue_on_failure":false,"timeout":60},{"enabled":true,"screenshot":true,"step_keyword":"Given","compare":false,"step_content":"I move mouse to \"//button[2]\" and click","step_type":"normal","continue_on_failure":true,"timeout":5},{"enabled":true,"screenshot":true,"step_keyword":"Given","compare":false,"step_content":"I move mouse to \"//input\" and click","step_type":"normal","continue_on_failure":false,"timeout":60},{"enabled":true,"screenshot":true,"step_keyword":"Given","compare":false,"step_content":"Send keys \"cometa rocks\"","step_type":"normal","continue_on_failure":false,"timeout":60},{"enabled":true,"screenshot":true,"step_keyword":"Given","compare":false,"step_content":"Press Enter","step_type":"normal","continue_on_failure":false,"timeout":60},{"enabled":true,"screenshot":true,"step_keyword":"Given","compare":false,"step_content":"wait until I can see \"cometa rocks\" on page","step_type":"normal","continue_on_failure":false,"timeout":60},{"enabled":true,"screenshot":true,"step_keyword":"Given","compare":true,"step_content":"I sleep \"1\" seconds","step_type":"normal","continue_on_failure":false,"timeout":60}]```
```[{"enabled":true,"screenshot":true,"step_keyword":"Given","compare":false,"step_content":"Goto URL \"https://www.google.de/\"","step_type":"normal","continue_on_failure":false,"timeout":60},{"enabled":true,"screenshot":false,"step_keyword":"Given","compare":false,"step_content":"Maximize the browser","step_type":"normal","continue_on_failure":false,"timeout":60},{"enabled":true,"screenshot":true,"step_keyword":"Given","compare":false,"step_content":"wait until I can see \"google\" on page","step_type":"normal","continue_on_failure":false,"timeout":60},{"enabled":true,"screenshot":true,"step_keyword":"Given","compare":false,"step_content":"I move mouse to \"//button[2]\" and click","step_type":"normal","continue_on_failure":true,"timeout":5},{"enabled":true,"screenshot":true,"step_keyword":"Given","compare":false,"step_content":"I move mouse to \"//input\" and click","step_type":"normal","continue_on_failure":false,"timeout":60},{"enabled":true,"screenshot":true,"step_keyword":"Given","compare":false,"step_content":"Send keys \"cometa rocks\"","step_type":"normal","continue_on_failure":false,"timeout":60},{"enabled":true,"screenshot":true,"step_keyword":"Given","compare":false,"step_content":"Press Enter","step_type":"normal","continue_on_failure":false,"timeout":60},{"enabled":true,"screenshot":true,"step_keyword":"Given","compare":false,"step_content":"wait until I can see \"cometa rocks\" on page","step_type":"normal","continue_on_failure":false,"timeout":60},{"enabled":true,"screenshot":true,"step_keyword":"Given","compare":true,"step_content":"I sleep \"1\" seconds","step_type":"normal","continue_on_failure":false,"timeout":60}]```


#### Notes
Expand Down Expand Up @@ -155,10 +192,10 @@ That's all, easy peasy.

## License

Copyright 2021 COMETA ROCKS S.L.
Copyright 2022 COMETA ROCKS S.L.

Portions of this software are licensed as follows:

* All content that resides under "ee/" directory of this repository (Enterprise Edition) is licensed under the license defined in "ee/LICENSE".
* All content that resides under "ee/" directory of this repository (Enterprise Edition) is licensed under the license defined in "ee/LICENSE". (Work in progress)
* All third party components incorporated into the cometa.rocks Software are licensed under the original license provided by the owner of the applicable component.
* Content outside of the above mentioned directories or restrictions above is available under the "AGPLv3" license as defined in `LICENSE` file.
8 changes: 6 additions & 2 deletions backend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ backups/
migrations/
downloads/
videos/
schedules/
pdf/

crontab

# department folders
department_data/
uploads/

# logs
logs/
Expand All @@ -35,4 +36,7 @@ output.txt
accounts.google.com.client
.vars.sh
secret_variables.py
.initiated
.initiated

# browsers.json from selenoid
browsers.json
Loading