Commit Graph

85 Commits

Author SHA1 Message Date
Marcial Rosales 3de9508377 Make it executable 2025-06-03 12:47:49 +02:00
Marcial Rosales 3c1224a1bb Test mqtt qos0 queue type 2025-06-03 10:41:16 +02:00
Marcial Rosales c36a4668b6 Relocate temp folder from /tmp to /var
(cherry picked from commit 94cba43e75)
2025-05-28 18:14:42 +00:00
Marcial Rosales 13f7438fa1 Fix credentials used to create vhost
(cherry picked from commit 09fc5357a7)
2025-05-28 07:53:11 +00:00
Marcial Rosales c9a5ea5c90 Stop page refresh
To prevent state element exception

(cherry picked from commit a92242918b)
2025-05-28 07:53:11 +00:00
Marcial Rosales 4d37daa303 Fix typo
(cherry picked from commit 98061c8e96)
2025-05-28 07:53:11 +00:00
Marcial Rosales 3ebbad1dce Test SAC with consumres w/o priorities
(cherry picked from commit 23eb9854ee)
2025-05-28 07:53:11 +00:00
Marcial Rosales 148debc550 Use different way to parse tables for consuers
(cherry picked from commit 870c66734b)
2025-05-28 07:53:10 +00:00
Marcial Rosales b48600251f Apply patch that addresses the issue with SAC
And improve how to parse a html table to
extract its rows

(cherry picked from commit 8960d19492)
2025-05-28 07:53:10 +00:00
Marcial Rosales 93e5aefa9a Reproduce issue
(cherry picked from commit d2767983dc)
2025-05-28 07:53:10 +00:00
Marcial Rosales 9464a202fd Add amqplib
Required to subscribe with a priority in the arguments
which is only possible in AMQP 0.9.1

(cherry picked from commit 4fdbcb33e1)
2025-05-28 07:53:10 +00:00
Marcial Rosales 19c45cb08a Remove log statements
(cherry picked from commit 586a946213)
2025-05-28 07:53:09 +00:00
Marcial Rosales 3a4ea0ae21 Selenium test with SAC
(cherry picked from commit 70ec8dffdd)

# Conflicts:
#	deps/rabbitmq_management/priv/www/js/tmpl/quorum-queue-stats.ejs
2025-05-28 07:53:09 +00:00
Marcial Rosales 94e4aa9412 Fix issue related to popup warning
And in particular locating the span#close button

(cherry picked from commit 27b3e21554)
2025-05-22 23:23:47 +00:00
Marcial Rosales 4054f6572e Briefly explain how to start a second rabbitmq server
interactively

(cherry picked from commit a028db8156)
2025-05-21 14:22:42 +00:00
Marcial Rosales c9da9e15ef Eliminate flake around listing live amqp connections
(cherry picked from commit 44dd282ed4)
2025-05-21 14:22:41 +00:00
Marcial Rosales d84424f6aa Bump up chrome driver
This is needed when running tests interactively.
The OS updates the local chrome binary and this
node.js library has to be upgraded too.

(cherry picked from commit 6578c83a0e)
2025-05-21 14:22:41 +00:00
Marcial Rosales f790bf3728 Wait until page is fully loaded
(cherry picked from commit f79c7229d5)
2025-05-09 18:47:45 +00:00
Marcial Rosales c306fd9e60 Exclude other_rabbitmq when running start-others. And fix some issues
(cherry picked from commit 81cf5f2e46)
2025-05-08 17:45:46 +00:00
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