Skip to content

Commit

Permalink
Resolve e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
ms-jb committed Mar 19, 2024
1 parent 387f006 commit e57ca0b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions __tests__/html/attachment.allowedFileTypes.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
await pageConditions.uiConnected();

// Validate the <input> element has the correct file types
const input = pageElements.uploadButton()
expect(input).toHaveProperty('accept', 'image/*');
expect(input).toHaveProperty('multiple', false);
const uploadButton = pageElements.uploadButton()
expect(uploadButton).toHaveProperty('accept', 'image/*');
expect(uploadButton).toHaveProperty('multiple', false);

});
</script>
Expand Down
4 changes: 3 additions & 1 deletion packages/test/page-object/src/globals/pageElements/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import transcript from './transcript';
import transcriptLiveRegion from './transcriptLiveRegion';
import transcriptScrollable from './transcriptScrollable';
import transcriptTerminator from './transcriptTerminator';
import uploadButton from './uploadButton';

export {
activeActivity,
Expand All @@ -41,5 +42,6 @@ export {
transcript,
transcriptLiveRegion,
transcriptScrollable,
transcriptTerminator
transcriptTerminator,
uploadButton
};

0 comments on commit e57ca0b

Please sign in to comment.