Skip to content

Commit

Permalink
Update jwt_auth.test.ts
Browse files Browse the repository at this point in the history
Extend timeout for 2.x line

Signed-off-by: Stephen Crawford <[email protected]>
  • Loading branch information
stephen-crawford authored Aug 15, 2023
1 parent 6dbcd1c commit c3b88aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/jest_integration/jwt_auth.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ describe('start OpenSearch Dashboards server', () => {
.sign(key);
const driver = getDriver(browser, options).build();
await driver.get(`http://localhost:5601/app/opensearch_dashboards_overview?token=${token}`);
await driver.wait(until.elementsLocated(By.xpath(pageTitleXPath)), 10000);
await driver.wait(until.elementsLocated(By.xpath(pageTitleXPath)), 15000);

const cookie = await driver.manage().getCookies();
expect(cookie.length).toEqual(1);
Expand All @@ -259,7 +259,7 @@ describe('start OpenSearch Dashboards server', () => {

await driver.wait(
until.elementsLocated(By.xpath('//*[@data-test-subj="sendRequestButton"]')),
10000
15000
);

const cookie = await driver.manage().getCookies();
Expand Down

0 comments on commit c3b88aa

Please sign in to comment.