Skip to content

Commit 239299b

Browse files
Fix test that creates new queue
1 parent 19f555d commit 239299b

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

selenium/test/pageobjects/QueuesAndStreamsPage.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,14 @@ module.exports = class QueuesAndStreamsPage extends BasePage {
3333
async ensureAllQueuesSectionIsVisible() {
3434
await this.click(PAGING_SECTION)
3535
return driver.findElement(PAGING_SECTION).isDisplayed()
36-
}
37-
36+
}
3837
async fillInAddNewQueue(queueDetails) {
3938
await this.sendKeys(FORM_QUEUE_NAME, queueDetails.name)
4039
return this.click(ADD_BUTTON)
4140
}
4241
async filterQueues(filterValue) {
43-
console.log("before waiting")
4442
await this.waitForDisplayed(FILTER_BY_QUEUE_NAME)
45-
console.log("after waiting")
46-
return this.sendKeys(FILTER_BY_QUEUE_NAME, filterValue)
47-
43+
await this.waitForDisplayed(FILTER_BY_QUEUE_NAME)
44+
return this.sendKeys(FILTER_BY_QUEUE_NAME, filterValue + Key.RETURN)
4845
}
4946
}

selenium/test/queuesAndStreams/management.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@ describe('Queues and Streams management', function () {
4444
await queuesAndStreams.ensureAddQueueSectionIsVisible()
4545
let queueName = "test_" + Math.floor(Math.random() * 1000)
4646
await queuesAndStreams.fillInAddNewQueue({"name" : queueName})
47-
console.log("before filter")
4847
await queuesAndStreams.filterQueues(queueName)
49-
5048
let table = await queuesAndStreams.getQueuesTable(5)
5149
assert.equal(1, table.length)
5250
assert.equal(table[0][0], '/')

0 commit comments

Comments
 (0)