Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions __tests__/end-to-end.js
Original file line number Diff line number Diff line change
Expand Up @@ -2629,6 +2629,9 @@ describe('end-to-end', () => {
// wait for dialog to appear
await waitForSelector('[data-test-id="snapshot-dialog-name"]')

// confirm that we want to publish with unapproved routes
await click('[data-test-id="confirmPublishWithUnapproved"]')

// enter name
await type('[data-test-id="snapshot-dialog-name"]', 'test-snapshot')

Expand Down
1 change: 1 addition & 0 deletions lib/editor/components/CreateSnapshotModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ class CreateSnapshotModal extends Component<Props, State> {
</ul>
<FormGroup>
<Checkbox
data-test-id='confirmPublishWithUnapproved'
checked={confirmPublishWithUnapproved}
name='confirmPublishWithUnapproved'
onChange={this._onTogglePublishUnapproved}>
Expand Down