Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
volar committed Dec 20, 2023
1 parent 6409527 commit 1bd06e6
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions cypress/e2e/assets/assetExifAutofill.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const EXPECTED_AUTHOR = 'test author '
describe(`Test add audio asset to podcast episode function, Env: ${CY.cfg}`,
{ tags: '@assetExifAutofill' }, () => {
it('Prepare Test Data', ()=> {
cy.prepareData('image/sampleMeta1.jpg', 1, ASSET_ID)
cy.prepareData('image/sampleMeta1.jpg', true, ASSET_ID)
})
it('Check image on Title-Description-Keywords-Artists', () => {
cy.visit(`/asset/${ASSET_ID}`)
Expand All @@ -29,7 +29,7 @@ describe(`Test add audio asset to podcast episode function, Env: ${CY.cfg}`,
cy.deleteFile(ASSET_ID)
})
it('Prepare Test Data', ()=> {
cy.prepareData('image/sampleMeta2.jpg', 1, ASSET_ID)
cy.prepareData('image/sampleMeta2.jpg', true, ASSET_ID)
})
it('Check image on Subject-ImageDescription-Subjects-Owners', () => {
cy.visit(`/asset/${ASSET_ID[1]}`)
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/assets/audioAsset.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const ASSET_ID: Array<string> = []
describe(`Test asset audio function, Env: ${CY.cfg}`,
{ tags: '@assetAudio' }, () => {
it('Prepare Test Data', ()=> {
cy.prepareData('audio/sample.mp3',1, ASSET_ID)
cy.prepareData('audio/sample.mp3',true, ASSET_ID)
})
it('Create Metadata', () => {
cy.visit(`/asset/${ASSET_ID}`)
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/assets/audioAssetToPodcast.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const ASSET_ID: Array<string> = []
describe(`Test add audio asset to podcast episode function, Env: ${CY.cfg}`,
{ tags: '@assetAudioToPodcast' }, () => {
it('Prepare Test Data', ()=> {
cy.prepareData('audio/sample.mp3', 1, ASSET_ID)
cy.prepareData('audio/sample.mp3', true, ASSET_ID)
})
it('Add audio asset to podcast episode', () => {
cy.visit(`/asset/${ASSET_ID}`)
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/assets/documentAsset.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const ASSET_ID: Array<string> = []
describe(`Test asset document function, Env: ${CY.cfg}`,
{ tags: '@assetDocument' }, () => {
it('Prepare Test Data', ()=> {
cy.prepareData('document/sample.doc', 1, ASSET_ID)
cy.prepareData('document/sample.doc', true, ASSET_ID)
})
it('Create Metadata', ()=> {
cy.visit(`/asset/${ASSET_ID}`)
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/assets/imageAsset.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const ASSET_ID: Array<string> = []
describe(`Test asset image function, Env: ${CY.cfg}`,
{ tags: '@assetImage' }, () => {
it('Prepare Test Data', ()=> {
cy.prepareData('image/sample.png', 1, ASSET_ID)
cy.prepareData('image/sample.png', true, ASSET_ID)
})
it('Create Metadata', ()=> {
cy.visit(`/asset/${ASSET_ID}`)
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/assets/videoAsset.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const ASSET_ID: Array<string> = []
describe(`Test asset video function, Env: ${CY.cfg}`,
{ tags: '@assetVideo' }, () => {
it('Prepare Test Data', ()=> {
cy.prepareData('video/sample.mp4', 1, ASSET_ID)
cy.prepareData('video/sample.mp4', true, ASSET_ID)
})
it('Create Metadata', ()=> {
cy.visit(`/asset/${ASSET_ID}`)
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/assets/videoAssetToVideoShow.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const ASSET_ID: Array<string> = []
describe(`Test add video asset to video show episode function, Env: ${CY.cfg}`,
{ tags: '@assetVideoToVideoShow' }, () => {
it('Prepare Test Data', ()=> {
cy.prepareData('video/sample.mp4', 1, ASSET_ID)
cy.prepareData('video/sample.mp4', true, ASSET_ID)
})
it('Add video asset to video show episode', () => {
cy.visit(`/asset/${ASSET_ID}`)
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/upload/uploadAudio.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe(`Test upload of various audio, Env: ${CY.cfg}`, { tags: '@audio' }, ()
AUDIO_TYPES.forEach((fileType) => {
UPLOAD_TYPES.forEach((uploadType) => {
it(`Audio: Upload ${fileType.toUpperCase()} - ${uploadType.toUpperCase()}`, () => {
cy.prepareData(`audio/sample.${fileType}`,0)
cy.prepareData(`audio/sample.${fileType}`,false)
cy.uploadFile(`audio/sample.${fileType}`, uploadType)
cy.api_getFileID().then((responseID) => {
FILE_ID.push(responseID)
Expand Down
4 changes: 2 additions & 2 deletions cypress/e2e/upload/uploadDocument.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ describe(`Test upload of various audio, Env: ${CY.cfg}`, { tags: '@audio' }, ()
DOCUMENT_TYPES.forEach((fileType) => {
UPLOAD_TYPES.forEach((uploadType) => {
it(`Audio: Upload ${fileType.toUpperCase()} - ${uploadType.toUpperCase()}`, () => {
cy.prepareData(`document/sample.${fileType}`,0)
cy.prepareData(`document/sample.${fileType}`,false)
cy.uploadFile(`document/sample.${fileType}`, uploadType)
cy.api_getFileID().then((responseID) => {
FILE_ID.push(responseID)
cy.waitForUpload(ALERT_UPLOAD, 20000)
cy.verifyFileType(responseID, 'application', fileType)
cy.verifyFileType(responseID, 'audio', fileType)
})
})
})
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/upload/uploadImages.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ describe(`Test upload of various images, Env: ${CY.cfg}`, { tags: '@image' }, ()
IMAGE_TYPES.forEach((fileType) => {
UPLOAD_TYPES.forEach((uploadType) => {
it(`Image: Upload ${fileType.toUpperCase()} - ${uploadType.toUpperCase()}`, () => {
cy.prepareData(`image/sample.${fileType}`,0)
cy.prepareData(`image/sample.${fileType}`,false)
cy.uploadFile(`image/sample.${fileType}`, uploadType, 20000)
cy.api_getFileID().then((responseID) => {
FILE_ID.push(responseID)
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/upload/uploadVideo.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ describe(`Test upload of various video, Env: ${CY.cfg}`, { tags: '@video' }, ()
VIDEO_TYPES.forEach((fileType) => {
UPLOAD_TYPES.forEach((uploadType) => {
it(`Video: Upload ${fileType.toUpperCase()} - ${uploadType.toUpperCase()}`, () => {
cy.prepareData(`video/sample.${fileType}`,0)
cy.prepareData(`video/sample.${fileType}`,false)
cy.uploadFile(`video/sample.${fileType}`, uploadType, 20000)
cy.api_getFileID().then((responseID) => {
FILE_ID.push(responseID)
Expand Down

0 comments on commit 1bd06e6

Please sign in to comment.