diff --git a/packages/compass-e2e-tests/tests/collection-import.test.ts b/packages/compass-e2e-tests/tests/collection-import.test.ts index 1373cf2c61c..b536ae31da4 100644 --- a/packages/compass-e2e-tests/tests/collection-import.test.ts +++ b/packages/compass-e2e-tests/tests/collection-import.test.ts @@ -1232,7 +1232,7 @@ describe('Collection import', function () { const errorCount = ( logFileContent.match(/E11000 duplicate key error collection/g) || [] ).length; - expect(errorCount).to.equal(4); + expect(errorCount).to.equal(3); // Close toast. await browser.clickVisible(