Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
futa-ikeda committed Jan 9, 2025
1 parent a79209a commit dcbe8ec
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/acceptance/preprints/detail-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,7 @@ module('Acceptance | preprints | detail', hooks => {
await visit('/preprints/osf/test');

// Check edit and new version buttons
assert.dom('[data-test-edit-preprint-button]').exists('Edit button is displayed');
assert.dom('[data-test-edit-preprint-button]').containsText('Edit', 'Edit button text is correct');
assert.dom('[data-test-edit-preprint-button]').doesNotExist('Edit button is not displayed for prior versions');
assert.dom('[data-test-create-new-version-button]')
.doesNotExist('New version button is not displayed for prior versions');

Expand Down

0 comments on commit dcbe8ec

Please sign in to comment.