Skip to content

Commit

Permalink
test: Revert view history test case delay changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tjtanjin committed May 10, 2024
1 parent 8601316 commit 9d57982
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/RunTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -342,9 +342,9 @@ const viewHistory = async () => {
const buttonElement = await driver.findElement(By.className("rcb-toggle-button"));
await buttonElement.click();
const hideElement = await driver.findElement(By.className("rcb-window-open"));
await driver.wait(until.elementIsVisible(hideElement), WAIT_DURATION + 1000); // extra 1 second just in case
await driver.wait(until.elementIsVisible(hideElement), WAIT_DURATION);
const viewHistoryElement = await driver.findElement(By.className("rcb-view-history-button"));
await driver.wait(until.elementIsVisible(viewHistoryElement), WAIT_DURATION + 1000); // extra 1 second just in case
await driver.wait(until.elementIsVisible(viewHistoryElement), WAIT_DURATION);
await viewHistoryElement.click();
await sleep(WAIT_DURATION);
const replyElements = await driver.findElements(By.className("rcb-bot-message"));
Expand Down

0 comments on commit 9d57982

Please sign in to comment.