diff --git a/__tests__/end-to-end.js b/__tests__/end-to-end.js index 1e0104e29..0f4eba539 100644 --- a/__tests__/end-to-end.js +++ b/__tests__/end-to-end.js @@ -2776,6 +2776,10 @@ describe('end-to-end', () => { // wait for snapshots tab to load and publish snapshot await waitForAndClick('[data-test-id="publish-snapshot-button"]') + + // wait for snapshot export modal and click "no" to proprietary file export + await waitForAndClick('[data-test-id="export-patterns-modal-no"]') + // wait for version to get created await waitAndClearCompletedJobs() diff --git a/lib/common/components/ExportPatternsModal.js b/lib/common/components/ExportPatternsModal.js index c3ca2038d..815606903 100644 --- a/lib/common/components/ExportPatternsModal.js +++ b/lib/common/components/ExportPatternsModal.js @@ -49,10 +49,17 @@ export default class ExportPatternsModal extends React.Component { {this.messages('exportPatterns')} - -