Commit Graph

66 Commits

Author SHA1 Message Date
Marcial Rosales 5b2d021f15 Add functions to mgt-api for selenium
(cherry picked from commit ea0dd8beb8)
2025-05-07 16:00:11 +00:00
Michael Klishin 01d520fdcb
Resolve a conflict #13843 #13847 2025-05-03 11:09:50 -04:00
Marcial Rosales 816cf8a993 Fix test
it was necessary to add a queue first before checking which
columns are available

(cherry picked from commit 7653b6522a)

# Conflicts:
#	selenium/test/queuesAndStreams/list.js
2025-05-03 14:38:04 +00:00
Marcial Rosales e5e80efbef Fix location of definitions file
(cherry picked from commit fa315e4d86)
2025-05-03 14:38:03 +00:00
Marcial Rosales bb05f41e63 Minor test chnage
(cherry picked from commit 64f7aa2c95)
2025-05-03 14:38:03 +00:00
Marcial Rosales 44fbd67a7a Modify scripts so that it is possible to start 2 rabbitmqs
(cherry picked from commit 438b77443c)
2025-05-03 14:38:03 +00:00
Marcial Rosales 87d8d95f87 Fix test 2025-05-03 12:40:29 +02:00
Marcial Rosales e116c0822b Test columns for queues and exchanges
(cherry picked from commit fb02466b20)
2025-05-02 14:37:52 +00:00
Marcial Rosales bbeef880bf Test columns available for queues and stream
(cherry picked from commit ba0510f85d)
2025-05-02 14:37:52 +00:00
Marcial Rosales ec243ba836 Test virtual hosts and select tags column
(cherry picked from commit 175abbff87)
2025-05-02 14:37:52 +00:00
Marcial Rosales 4fd25e0518 Testing new vhost has the tag
(cherry picked from commit ea66a25dfa)
2025-05-02 14:37:52 +00:00
Marcial Rosales 385598387e Select columns of vhosts
(cherry picked from commit 7003fefa44)
2025-05-02 14:37:51 +00:00
Marcial Rosales 4231ea7e19 Select tags column on vhosts table
(cherry picked from commit 1ab81f7901)
2025-05-02 14:37:51 +00:00
Marcial Rosales e308af1547 Test adding vhost
(cherry picked from commit 01ca72edc0)
2025-05-02 14:37:51 +00:00
Marcial Rosales 3579eacf7b Add queues and streams page and test suite
(cherry picked from commit 0cb63bb544)
2025-04-25 19:27:52 +00:00
Marcial Rosales 55a3ac5598 Remove commented out exchange
(cherry picked from commit 0b1a4d283b)
2025-04-25 14:57:50 +00:00
Marcial Rosales aead47d7fa Remove event exchange
(cherry picked from commit 9e69496c85)
2025-04-25 14:57:50 +00:00
Marcial Rosales 3b79aa8f87 Parse multi-line enabled_plugins
Use only needed required plugins for basic auth suite

(cherry picked from commit b6d2ff85b2)
2025-04-25 14:57:49 +00:00
Marcial Rosales d233757215 Convert multiline enabled_plugins to single value
(cherry picked from commit ceb7b244f2)
2025-04-25 14:57:49 +00:00
Marcial Rosales 8abda6ca40 Use RABBITMQ_ENABLED_PLUGINS instead of RABBITMQ_ENABLED_PLUGINS_FILE
gmake was ignoring the former env var.

(cherry picked from commit 6262c849a2)
2025-04-25 14:57:49 +00:00
Marcial Rosales f521421f08 Renconcile changes from tanzu rabbitmq
(cherry picked from commit 06bd98ddd1)
2025-04-08 19:21:52 +00:00
Marcial Rosales 63d95f89fa Test management custom path on each commit to PRs
(cherry picked from commit 03fae668e0)
2025-04-01 17:07:01 +00:00
Marcial Rosales 40d180bbb4 Use relative path for the path linked to the cookie
used by mangement ui oauth logic to store the
token until it is moved onto the local storage

(cherry picked from commit 8dfcfa61e4)
2025-04-01 17:07:00 +00:00
Michael Klishin c320d0a31e
Merge pull request #13502 from rabbitmq/mergify/bp/v4.1.x/pr-13476
Improve oauth2 idp-initiated login (backport #13476)
2025-03-12 15:47:18 -04:00
Marcial Rosales 5e5521a3c0 Use POST+Redirect_with_cookie
(cherry picked from commit 69b54869c9)
2025-03-12 19:17:32 +00:00
Marcial Rosales c66bb40373 Fix issue thanks to @zerpet
(cherry picked from commit e6fe38b504)
2025-03-12 16:07:46 +00:00
Marcial Rosales 2fe3518b8a Add initOnly function
For scenarios where rabbitmq needs
the certificates of an idp but the
idp has not been started yet and
hence the cert has not been generated
With this function, the idp generates
its certificates without starting

(cherry picked from commit f9eec1ea82)
2025-03-12 16:07:45 +00:00
Marcial Rosales f18d0e628d Add missing function that
checks if element is not visible

(cherry picked from commit 8b0589bd5c)
2025-03-12 16:07:45 +00:00
Marcial Rosales 335eb0052e Do not propagate none password for http auth backend
(cherry picked from commit b09bfb25b6)
2025-02-25 18:28:18 +00:00
Aitor Perez 2b893ac24b Update selenium README
[skip ci]

(cherry picked from commit a5b8d194b8)
2025-02-25 16:32:04 +00:00
Aitor Perez dc9e7d2e76 Make Selenium image configurable
In certain environments, we may want to customise the docker image e.g.
to use a proxy to avoid docker hub rate limiting. The default behaviour
remains unchanged.

The `if` logic was broken because `uname -a` returns the entire uname,
including OS, Kernel version, machine type and what not. The string
always starts with the OS i.e. Linux or Darwin, therefore, the matching
for `arm*` was always false; therefore, it was always defaulting to the
`else` image, which happens to be multi-arch. However, it was using
`seleniarm`, which is a community driven effort, not the official
Selenium account.

In the official OSS image, version 123.0 is too old. The oldest
available is 127.0. This commit bumps to the latest available. We could
consider depending on version `4`. Version `4` refers to Selenium
version, whilst version 123.0/133.0 refer to the browser version.

(cherry picked from commit ef8b4fc767)
2025-02-25 16:32:04 +00:00
Aitor Perez 63a927591d Selenium: make conf_dir configurable
CI can configure this variable to use a dynamic variable e.g. `${{
worker.temp }}`

(cherry picked from commit c2b9fece78)
2025-02-25 16:32:02 +00:00
Marcial Rosales 371118ad3a Remove duplicate flag
(cherry picked from commit c3da54c3ea)
2025-02-21 19:29:02 +00:00
Marcial Rosales 665ad58c35 Configure location of mocha-test dockerfile
(cherry picked from commit 94c28d642b)
2025-02-21 19:29:02 +00:00
Marcial Rosales e84a51603b Fix flake on rabbitmq_mqtt auth_SUITE (#13180)
* Separate invalid client test from the valid one

* Apply same changes from pr #13197

* Deal with stalereferences caused by timing issues

looking up objects in the DOM

* Unlink before assertion

(cherry picked from commit 2ab890f344)
2025-02-12 18:36:56 +01:00
Marcial Rosales 1d8b28d10e Clean up 2024-11-28 16:56:12 +01:00
Marcial Rosales 0f9a7cfb9c Fix queue name 2024-11-28 16:54:19 +01:00
Marcial Rosales 40d150fb9d Fix bug building connection options for amqps 2024-11-28 16:30:50 +01:00
Marcial Rosales 31f0a5487f Fix issue in amqp10 2024-11-28 16:18:38 +01:00
Marcial Rosales 713c7c9a53 Fix queue name used in amqp10 2024-11-28 16:02:23 +01:00
Marcial Rosales 0ba194ae53 Replace java amqp10 with javascript one 2024-11-27 10:40:23 +01:00
Marcial Rosales 106012d57f Add extra logging
To capture where the flake occurs
2024-11-25 14:46:09 +01:00
Marcial Rosales 751dd41eb2 Fix issue 2024-11-25 14:46:09 +01:00
Marcial Rosales e5bcf7f327
Remove extra delay in AMQP 1.0 selenium round trip test 2024-11-22 11:17:51 -05:00
Marcial Rosales 50a316ac1e Add missing vhost 2024-11-21 17:07:27 +01:00
Marcial Rosales ce760c688b Insert control-cache headers to every resource and reload index.html 2024-11-21 16:47:48 +01:00
Marcial Rosales a8e7d69ed0 Clean up 2024-11-18 13:45:07 +01:00
Marcial Rosales 0bc9a49b24 Test live data 2024-11-18 13:22:34 +01:00
Marcial Rosales 310b7e91e6 Include other vhost 2024-11-18 12:44:17 +01:00
Marcial Rosales b46a7ed684 Test session and links details 2024-11-18 11:47:44 +01:00