Merge pull request #13925 from rabbitmq/bump-up-chromedriver
Bump up chrome driver
This commit is contained in:
commit
1679d0ced0
|
@ -168,6 +168,12 @@ suites/authnz-mgt/oauth-with-uaa.sh test happy-login.js
|
|||
been implemented yet.
|
||||
|
||||
|
||||
If your test requires two RabbitMQ servers, typically required when testing WSR or shovels or federation,
|
||||
you can run the second server, a.k.a. `downstream`, as follows:
|
||||
```
|
||||
suites/<yoursuite>.sh start-other-rabbitmq
|
||||
```
|
||||
|
||||
## Test case configuration
|
||||
|
||||
RabbitMQ and other components such as UAA, or Keycloak, require configuration files which varies
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"author": "",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"chromedriver": "^134.0",
|
||||
"chromedriver": "^135.0",
|
||||
"ejs": "^3.1.8",
|
||||
"express": "^4.18.2",
|
||||
"geckodriver": "^3.0.2",
|
||||
|
|
|
@ -2,7 +2,7 @@ const { By, Key, until, Builder } = require('selenium-webdriver')
|
|||
require('chromedriver')
|
||||
const assert = require('assert')
|
||||
const { open: openAmqp, once: onceAmqp, on: onAmqp, close: closeAmqp } = require('../../amqp')
|
||||
const { buildDriver, goToHome, captureScreensFor, teardown, delay } = require('../../utils')
|
||||
const { buildDriver, goToHome, captureScreensFor, teardown, delay, doWhile } = require('../../utils')
|
||||
|
||||
const LoginPage = require('../../pageobjects/LoginPage')
|
||||
const OverviewPage = require('../../pageobjects/OverviewPage')
|
||||
|
@ -98,7 +98,8 @@ describe('Given an amqp10 connection opened, listed and clicked on it', function
|
|||
assert.equal(2, receivedAmqpMessageCount)
|
||||
|
||||
await delay(5*1000) // wait until page refreshes
|
||||
let sessions = await connectionPage.getSessions()
|
||||
let sessions = await doWhile(function() { return connectionPage.getSessions() },
|
||||
function(obj) { return obj != undefined })
|
||||
let incomingLink = connectionPage.getIncomingLinkInfo(sessions.incoming_links, 0)
|
||||
assert.equal(2, incomingLink.deliveryCount)
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@ const { By, Key, until, Builder } = require('selenium-webdriver')
|
|||
const BasePage = require('./BasePage')
|
||||
|
||||
|
||||
const OVERVIEW_SECTION = By.css('div#main div.section#connection-overview-section')
|
||||
const SESSIONS_SECTION = By.css('div#main div.section#connection-sessions-section')
|
||||
const SESSIONS_TABLE = By.css('div.section#connection-sessions-section table.list#sessions')
|
||||
const INCOMING_LINKS_TABLE = By.css('div.section#connection-sessions-section table.list#incoming-links')
|
||||
|
|
Loading…
Reference in New Issue