Skip to content

Commit 577d9c4

Browse files
Merge pull request #12884 from rabbitmq/fix-mgt-only-selenium-tests-v4.0.x
Fix mgt only selenium tests v4.0.x
2 parents 69b83bf + 9ae6499 commit 577d9c4

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

selenium/test/basic-auth/imports/users.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@
5656
"vhosts": [
5757
{
5858
"name": "/"
59+
},
60+
{
61+
"name": "other"
5962
}
6063
],
6164
"permissions": [
@@ -66,6 +69,13 @@
6669
"write": ".*",
6770
"read": ".*"
6871
},
72+
{
73+
"user": "guest",
74+
"vhost": "other",
75+
"configure": ".*",
76+
"write": ".*",
77+
"read": ".*"
78+
},
6979
{
7080
"user": "management",
7181
"vhost": "/",

selenium/test/exchanges/management.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ describe('Exchange management', function () {
3232
})
3333

3434
it('display summary of exchanges', async function () {
35-
assert.equal("All exchanges (8)", await exchanges.getPagingSectionHeaderText())
35+
assert.equal("All exchanges (15)", await exchanges.getPagingSectionHeaderText())
3636
})
3737

3838
it('list all default exchanges', async function () {
@@ -46,7 +46,15 @@ describe('Exchange management', function () {
4646
["/", "amq.match", "headers"],
4747
["/", "amq.rabbitmq.event", "topic"],
4848
["/", "amq.rabbitmq.trace", "topic"],
49-
["/", "amq.topic", "topic"]
49+
["/", "amq.topic", "topic"],
50+
51+
["other", "(AMQP default)", "direct"],
52+
["other", "amq.direct", "direct"],
53+
["other", "amq.fanout", "fanout"],
54+
["other", "amq.headers", "headers"],
55+
["other", "amq.match", "headers"],
56+
["other", "amq.rabbitmq.trace", "topic"],
57+
["other", "amq.topic", "topic"]
5058
]
5159
console.log("e :" + actual_table)
5260
assert.deepEqual(actual_table, expected_table)

0 commit comments

Comments
 (0)