Skip to content

Commit 0f62931

Browse files
aherlihydurran
authored andcommitted
Bump Compass-Crud to 1.0.0 (#1329)
* Bump Compass-Crud to 1.0.0 * Test updates
1 parent 0dec808 commit 0f62931

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149
"@mongodb-js/compass-auth-x509": "^0.0.3",
150150
"@mongodb-js/compass-collection-stats": "^1.0.1",
151151
"@mongodb-js/compass-connect": "^0.4.0",
152-
"@mongodb-js/compass-crud": "^0.10.0",
152+
"@mongodb-js/compass-crud": "^1.0.0",
153153
"@mongodb-js/compass-deployment-awareness": "^5.0.0",
154154
"@mongodb-js/compass-document-validation": "^7.0.0",
155155
"@mongodb-js/compass-license": "^0.0.2",

test/functional/data-service.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ describe('#data-service', function() {
5757
.clickDocumentsTab()
5858
.clickRefreshDocumentsButton()
5959
.getSamplingMessageFromDocumentsTab()
60-
.should.eventually.include('2 documents.');
60+
.should.eventually.include('of 2');
6161
});
6262
});
6363

@@ -77,7 +77,7 @@ describe('#data-service', function() {
7777
})
7878
.clickInsertDocumentModalButton()
7979
.getSamplingMessageFromDocumentsTab()
80-
.should.eventually.include('1 document.');
80+
.should.eventually.include('of 1');
8181
});
8282

8383
it('does not update the schema count', function() {

test/functional/explain.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ describe('#explain', function() {
8383
return client
8484
.clickDocumentsTab()
8585
.getSamplingMessageFromDocumentsTab()
86-
.should.eventually.include('1 document.');
86+
.should.eventually.include('of 1');
8787
});
8888

8989
it('updates the schema view', function() {

test/functional/query-bar.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ describe('#query-bar', function() {
7878
.clickDocumentsTab()
7979
.clickQueryBarOptionsToggle()
8080
.getSamplingMessageFromDocumentsTab()
81-
.should.eventually.include('100 documents. Displaying documents 1-20');
81+
.should.eventually.include('Displaying documents 1 - 20 of 100');
8282
});
8383

8484
context('when applying a sort', function() {
@@ -128,7 +128,7 @@ describe('#query-bar', function() {
128128
.clickApplyFilterButtonFromDocumentsTab()
129129
.waitForStatusBar()
130130
.getSamplingMessageFromDocumentsTab()
131-
.should.eventually.include('5 documents');
131+
.should.eventually.include('of 5');
132132
});
133133
});
134134
});

0 commit comments

Comments
 (0)