Commit Graph

72 Commits

Author SHA1 Message Date
M. Mert Yıldıran
36d59ede07
Fix acceptance tests failures caused by fetch 50 and a race in the tests (#1074)
* #run_acceptance_tests

* Wait 4 seconds after filter submission #run_acceptance_tests

* Revert "Wait 4 seconds after filter submission #run_acceptance_tests"

This reverts commit 3c20ccfcec.

* Upgrade Basenine version to `v0.8.2` #run_acceptance_tests

* #run_acceptance_tests

* Revert "Revert "Wait 4 seconds after filter submission #run_acceptance_tests""

This reverts commit f0c595150d.

* Reduce the delay to 2 seconds #run_acceptance_tests

* Use `cy.wait()` instead of `setTimeout`

* #run_acceptance_tests

* Increase it to 4 seconds #run_acceptance_tests

* #run_acceptance_tests

* Wait for a second and pause the stream to preserve the DOM #run_acceptance_tests

* Wait in a better place #run_acceptance_tests

* Wait `pause-icon` to disappear #run_acceptance_tests

* Wait one more second #run_acceptance_tests

* Fix `setup.sh`

* #run_acceptance_tests

* Fix the place of `npm i` call

* #run_acceptance_tests

* Fix the other workflow as well #run_acceptance_tests

* Fix the workflows once more

* #run_acceptance_tests

* Don't ignore `*/cypress/support` #run_acceptance_tests

* Do `npm i` in `setup.sh` #run_acceptance_tests

* Wait for at least 4 seconds #run_acceptance_tests

* #run_acceptance_tests

* Fix #run_acceptance_tests

* Comment #run_acceptance_tests

* Fix `{alt+enter}` to `{ctrl+enter}` and update the `checkFilter` and `deeperCheck` method signatures #run_acceptance_tests

* #run_acceptance_tests

* #run_acceptance_tests

* Extract it to a function #run_acceptance_tests

* Remove `cypress-wait-until`

* Revert `.gitignore` #run_acceptance_tests
2022-05-11 13:14:01 +03:00
M. Mert Yıldıran
eef0ee8023
Fetch N number of records in M milliseconds timeout before streaming the records (#1056)
* Fetch N number of records in M milliseconds timeout before streaming the records

* Implement the functionality inside socket data streamer

* Reverse the `fetchData` slice

* #run_acceptance_tests

* Trying to fix the tests.
#run_acceptance_tests

* javascript compilation error.

* #run_acceptance_tests

* Name the method better

* Upgrade Basenine version to `v0.8.0`

* Fix some issues related to `Fetch`

* Upgrade the Basenine version in `Dockerfile` as well

* Remove underscore from the parameter name

* Parameterize fetch timeout ms

Co-authored-by: gadotroee <55343099+gadotroee@users.noreply.github.com>
Co-authored-by: Roee Gadot <roee.gadot@up9.com>
2022-05-09 19:11:27 +03:00
gadotroee
8102c49138
Improve acceptance tests setup script (#887) 2022-05-04 11:13:18 +03:00
M. Mert Yıldıran
90c54f9505
Fix acceptance tests (logger module) (#1049) 2022-04-27 23:59:16 +03:00
gadotroee
171b72831f
Add docker buildx acceptance tests image build (#1039) 2022-04-25 13:06:46 +03:00
RoyUP9
e104128df8
Fix for acceptance tests (#1006) 2022-04-14 15:01:15 +03:00
gadotroee
8f3b0e8fee
Fix acceptance tests entry id is string and not number (#1000) 2022-04-13 14:37:59 +03:00
gadotroee
2a31739100
Fix acceptance test (body size and right side pane changes) (#907) 2022-03-22 09:56:34 +02:00
gadotroee
a4d0e250c9
Fixing acceptance tests (#900) 2022-03-21 14:21:08 +02:00
RoyUP9
edbe4ab00b
Removed all code related to install (#892) 2022-03-15 16:41:42 +02:00
M. Mert Yıldıran
dd430c31d5
Always derive the summary and method fields from the entry in the database on read (#877)
* Always derive the summary and method fields from the entry in the database on read

* Update the expected JSONs in the protocol unit tests

* Add test cases for `Summarize` method

* Remove unused `GetEntry` method, `DataUnmarshaler` struct and `UnmarshalData` method

* Temporarily enable the acceptance tests

* Temporarily disable Slack notification on failure

* Update the Cypress tests

* Fix an issue in Redis

* Fix a typo and the Cypress tests

* Revert "Temporarily disable Slack notification on failure"

This reverts commit cad1901ea4.

* Revert "Temporarily enable the acceptance tests"

This reverts commit bad7706c9b.
2022-03-06 15:41:36 +03:00
RoyUP9
5af0c5a9e9
Refactor to acceptance tests setup (#875) 2022-03-03 17:22:26 +02:00
RoyUP9
5f8a5a3a29
Exported test funcs (#872) 2022-03-02 18:34:51 +02:00
RoyUP9
b9f5475e3a
Exported test consts (#870) 2022-03-02 10:02:21 +02:00
Nimrod Gilboa Markevich
c5471c501b
Add acceptance tests for k8s permissions (#834) 2022-03-01 12:22:34 +02:00
RoyUP9
1597321e24
Exported test utils functions (#866)
Co-authored-by: Igor Gov <iggvrv@gmail.com>
2022-02-28 19:19:45 +02:00
Adam Kol
f37abfff88
Cypress: pods and namespaces to params & param for the 'src' and 'dest' checks (#864) 2022-02-28 17:23:33 +02:00
Igor Gov
51658db0bd
Acceptance tests module rename (#862) 2022-02-27 15:42:12 +02:00
Adam Kol
a54cb917d0
Cypress: minimum entries check (#850) 2022-02-24 15:55:30 +02:00
Adam Kol
cdbacff996
Cypress: Service Map test (#847) 2022-02-23 17:36:31 +02:00
RoyUP9
f01962085a
Return amqp tests (#841) 2022-02-22 15:35:20 +02:00
Adam Kol
5a4baa05ca
rabbit test is skipped temporarily (#833) 2022-02-20 18:10:00 +02:00
Adam Kol
74f58a88bf
no minimum entries check (#826)
Co-authored-by: gadotroee <55343099+gadotroee@users.noreply.github.com>
2022-02-19 20:03:23 +02:00
Adam Kol
c98c99e488
Cypress fix: resizing mizu when needed (#821) 2022-02-17 13:19:44 +02:00
RoyUP9
83722f1a02
Added AMQP acceptance test (#769)
Co-authored-by: Adam Kol <adam@up9.com>
Co-authored-by: gadotroee <55343099+gadotroee@users.noreply.github.com>
2022-02-16 10:50:44 +02:00
Igor Gov
9318388101
Update Go dependencies to latest and greatest (#772) 2022-02-09 11:25:41 +02:00
Igor Gov
98ca1b2840
Moving to go 1.17 (#766)
* Updating to go1.17
2022-02-08 11:58:08 +02:00
RoyUP9
0365b8971f
Added redis acceptance test (#750) 2022-02-07 18:47:54 +02:00
RoyUP9
ea678a4d8c
Fixed acceptance test agent image (#764) 2022-02-07 08:38:29 +02:00
Adam Kol
78be20fe4d
Cypress: GuiPort test fix & new check in every test (#748) 2022-02-02 16:05:07 +02:00
Adam Kol
20fcc8e163
Cypress: prettier code (#743)
Co-authored-by: gadotroee <55343099+gadotroee@users.noreply.github.com>
2022-02-01 17:46:07 +02:00
Adam Kol
3a51ca21eb
cypress body test fix (#741) 2022-02-01 15:12:01 +02:00
Adam Kol
f7c200b821
Cypress: first step of the sanity test (#727)
Co-authored-by: gadotroee <55343099+gadotroee@users.noreply.github.com>
Co-authored-by: Roee Gadot <roee.gadot@up9.com>
2022-02-01 12:43:45 +02:00
Igor Gov
602225bb36
Adding go lint to more modules (#738) 2022-02-01 12:08:55 +02:00
Adam Kol
c0f6f2a049
Cypress: Right side body test (#722) 2022-02-01 11:12:41 +02:00
Adam Kol
beb8363722
better looking code (#699) 2022-01-26 15:15:20 +02:00
Adam Kol
1eb67c69d9
Cypress: big UI test first version is ready (#689) 2022-01-26 13:18:25 +02:00
Adam Kol
cc4638afe6
Cypress: two new tests --> IgnoredUserAgents and RegexMasking (#663) 2022-01-18 17:32:50 +02:00
Adam Kol
c8a3033f87
Cypress: fix redact tests (#658) 2022-01-17 12:57:12 +02:00
Adam Kol
6b4bcc8abd
Cypress: refactor for Redact and NoRedact tests (#656) 2022-01-17 10:43:39 +02:00
Adam Kol
20d69228d3
Cypress: new Redact and NoRedact tests (#618) 2022-01-16 09:57:14 +02:00
RoyUP9
26a9c31d1e
Extracted agent status to consistent volume (#628) 2022-01-12 16:03:50 +02:00
Adam Kol
9d0c2a693e
Cypress: new TapRegex test is ready + pageObjects (#611)
* introducing pageObjects

* fixes

* pretty code

Co-authored-by: lirazyehezkel <61656597+lirazyehezkel@users.noreply.github.com>
2022-01-11 10:56:27 +02:00
Adam Kol
a2eff2654d
Cypress: new 'Multiple Namespaces' test (#600) 2022-01-09 16:47:35 +02:00
M. Mert Yıldıran
9771d689ca
Fix the acceptance tests and a typo in CONFIGURATION.md (#610)
* Enable acceptance tests

* Fix the acceptance tests and a typo in `CONFIGURATION.md`

* Include the container name into the log fetching function

* Duplicate the fix for the logs test

* Revert "Enable acceptance tests"

This reverts commit c10a67c293.
2022-01-09 17:38:41 +03:00
RamiBerm
833d08bb40
TRA-4075 integrate kratos user management (#583)
* WIP

* WIP

* WIP

* WIP

* Update App.tsx and Header.tsx

* Update createResources.go, provider.go, and 2 more files...

* WIP

* fix eof newlines

* Fix ts imports, add readiness probe to kratos to prevent mizu being used while kratos isnt ready

* cleaned code

* fix install create namespace

* Update package-lock.json

* Update provider.go

* Update provider.go

* Update provider.go

* Update install_controller.go

* Update kratos.yml

* Update start.sh

* Update provider.go

* Update provider.go

* Update main.go, socket_routes.go, and 8 more files...

* Update App.tsx

* Update installRunner.go

* Update App.tsx
2022-01-05 17:50:27 +02:00
Adam Kol
dbc18b9648
Cypress: first-time-using cypress files + new GuiPort test on the UI (#584) 2022-01-04 18:02:02 +02:00
RoyUP9
de046c65b0
Mizu install mode (#566) 2021-12-28 15:44:37 +02:00
RoyUP9
06785ec877
fixed acceptance test go.sum (#560) 2021-12-27 14:45:42 +02:00
gadotroee
2d78785558
Fix acceptance tests (after pods status request change) (#545) 2021-12-19 13:46:14 +02:00