Skip to content

Commit 271ceda

Browse files
committed
cr feedback
1 parent 28b6724 commit 271ceda

File tree

4 files changed

+5
-13
lines changed

4 files changed

+5
-13
lines changed

.evergreen/start-atlas-cloud-cluster.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
#
1717
# - Setup a new org and project. Save the org id and project id for later.
1818
#
19+
# - Add payment details within the organization (Billing) to be able to create
20+
# clusters. You can use test stripe card for that (4242 4242 4242 4242).
21+
#
1922
# - Create new db user with username / password auth and admin role. This user
2023
# will be used to prepopulate dbs with data in tests. Save the credentials.
2124
#
@@ -47,10 +50,6 @@
4750
# (ATLAS_CLOUD_TEST_CLUSTER_NAME="TestCluster" source .evergreen/start-atlas-cloud-cluster.sh \
4851
# && npm run -w compass-e2e-tests test web -- --test-atlas-cloud-sandbox --test-filter="atlas-cloud/**/*")
4952
#
50-
# When setting up for the first time, make sure you:
51-
# - Add payment details to be able to create clusters. You can use stripe test card.
52-
# - Allow network access to the project for your IP address.
53-
5453
_ATLAS_CLOUD_TEST_CLUSTER_NAME=${ATLAS_CLOUD_TEST_CLUSTER_NAME:-""}
5554

5655
# Atlas limits the naming to something like /^[\w\d-]{,23}$/ (and will auto

packages/compass-e2e-tests/helpers/selectors.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1402,8 +1402,7 @@ export const ProxyCustomButton =
14021402
export const ConfirmTabCloseModal = '[data-testid="confirm-tab-close"]';
14031403

14041404
export const GlobalWrites = {
1405-
tabStatus: (status: string) =>
1406-
`[data-testid="${status.toLowerCase()}-status"]`,
1405+
tabStatus: (status: string) => `[data-status="${status.toLowerCase()}"]`,
14071406

14081407
ShardKeyFormSecondKeyInputCombobox:
14091408
'[data-testid="second-shard-key"] [role="combobox"] input',

packages/compass-e2e-tests/tests/atlas-cloud/global-writes.test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,6 @@ describe('Global writes', function () {
6969
});
7070

7171
it('should be able to shard an unsharded namespace and also unmanage it', async function () {
72-
// Sharding a collection takes a bit longer
73-
this.timeout(60_000);
74-
7572
await createGeospatialCollection();
7673
await browser.connectToDefaults();
7774
await browser.navigateToCollectionTab(

packages/compass-global-writes/src/components/index.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,7 @@ function ShardingStateView({
9898

9999
export function GlobalWrites({ shardingStatus }: GlobalWritesProps) {
100100
return (
101-
<div
102-
className={containerStyles}
103-
data-testid={`${shardingStatus.toLowerCase()}-status`}
104-
>
101+
<div className={containerStyles} data-status={shardingStatus.toLowerCase()}>
105102
<WorkspaceContainer className={workspaceContentStyles}>
106103
<ConfirmationModalArea>
107104
<ShardingStateView shardingStatus={shardingStatus} />

0 commit comments

Comments
 (0)