From e6f9dc370c65d23f3a8e4a6578d852c7a853877e Mon Sep 17 00:00:00 2001 From: Rhys Howell Date: Mon, 23 Oct 2023 14:07:19 -0400 Subject: [PATCH] update e2e test db name --- packages/compass-e2e-tests/tests/connection.test.ts | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/packages/compass-e2e-tests/tests/connection.test.ts b/packages/compass-e2e-tests/tests/connection.test.ts index 2f05c3f191d..b514701738b 100644 --- a/packages/compass-e2e-tests/tests/connection.test.ts +++ b/packages/compass-e2e-tests/tests/connection.test.ts @@ -555,7 +555,7 @@ describe('Connection screen', function () { assertNotError(result); expect(result).to.have.property('ok', 1); - await assertCanReadData(browser, 'companies', 'info'); + await assertCanReadData(browser, 'compass_e2e', 'companies_info'); }); it('can connect with readAnyDatabase builtin role', async function () { @@ -573,10 +573,14 @@ describe('Connection screen', function () { assertNotError(result); expect(result).to.have.property('ok', 1); - await assertCanReadData(browser, 'companies', 'info'); - await assertCannotInsertData(browser, 'companies', 'info'); + await assertCanReadData(browser, 'compass_e2e', 'companies_info'); + await assertCannotInsertData(browser, 'compass_e2e', 'companies_info'); await assertCannotCreateDb(browser, 'new-db', 'new-collection'); - await assertCannotCreateCollection(browser, 'companies', 'new-collection'); + await assertCannotCreateCollection( + browser, + 'compass_e2e', + 'new-collection' + ); }); it('can connect with custom role', async function () {