Skip to content

Commit 134435e

Browse files
committed
add concurrency and change agreement page test
1 parent febc14f commit 134435e

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

tests/e2e/helpers/database.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,6 @@ export async function acceptLicenseTermsAndAddRECloudDatabase(databaseParameters
195195
export async function acceptLicenseTerms(): Promise<void> {
196196
await t.maximizeWindow();
197197
await userAgreementPage.acceptLicenseTerms();
198-
await t.expect(userAgreementPage.userAgreementsPopup.visible).notOk('The user agreements popup is not shown', { timeout: 2000 });
199198
}
200199

201200
//Accept License terms and connect to the RedisStack database

tests/e2e/pageObjects/user-agreement-page.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export class UserAgreementPage {
2222
await t.click(this.recommendedSwitcher);
2323
await t.click(this.switchOptionEula);
2424
await t.click(this.submitButton);
25+
await t.expect(this.userAgreementsPopup.visible).notOk('The user agreements popup is not shown', { timeout: 2000 });
2526
}
2627
}
2728

tests/e2e/web.runner.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ import testcafe from 'testcafe';
3030
output: './report/report.html'
3131
}
3232
])
33+
.concurrency(2)
3334
.run({
3435
skipJsErrors: true,
3536
browserInitTimeout: 60000,

0 commit comments

Comments
 (0)