mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-09-19 17:12:47 +01:00
Add Mongo and Cassandra connection string E2E tests
Add connection-string data-plane coverage for Mongo and Cassandra, including Mongo firewall rejection coverage and the supporting E2E account/command helpers. Remove an unused import left by the merged login error handling.
This commit is contained in:
@@ -43,6 +43,7 @@ export enum TestAccount {
|
||||
Cassandra = "Cassandra",
|
||||
Gremlin = "Gremlin",
|
||||
Mongo = "Mongo",
|
||||
MongoConnectionStringPublicNetworkAccessDisabled = "MongoConnectionStringPublicNetworkAccessDisabled",
|
||||
MongoReadonly = "MongoReadOnly",
|
||||
Mongo32 = "Mongo32",
|
||||
SQL = "SQL",
|
||||
@@ -74,6 +75,8 @@ export function getDefaultAccountName(accountType: TestAccount): string {
|
||||
return `${accountNamePrefix}-de-test-gremlin-1`;
|
||||
case TestAccount.Mongo:
|
||||
return `${accountNamePrefix}-de-test-mongo-1`;
|
||||
case TestAccount.MongoConnectionStringPublicNetworkAccessDisabled:
|
||||
return `${accountNamePrefix}-de-test-mongo-connstring-nopublic-1`;
|
||||
case TestAccount.MongoReadonly:
|
||||
return `${accountNamePrefix}-de-test-mongo-readonly`;
|
||||
case TestAccount.Mongo32:
|
||||
@@ -262,6 +265,7 @@ export async function getTestExplorerUrl(accountType: TestAccount, options?: Tes
|
||||
|
||||
case TestAccount.SQLConnectionString:
|
||||
case TestAccount.SQLConnectionStringPublicNetworkAccessDisabled:
|
||||
case TestAccount.MongoConnectionStringPublicNetworkAccessDisabled:
|
||||
case TestAccount.TableConnectionString:
|
||||
case TestAccount.GremlinConnectionString:
|
||||
// Connection string (account key) login navigates directly to hostedExplorer.html and doesn't
|
||||
|
||||
Reference in New Issue
Block a user