From 7245ac3268bdebcf8e31a88a9ceb41c7d700a6f6 Mon Sep 17 00:00:00 2001 From: Anton Napolskyi Date: Tue, 12 Dec 2023 09:14:30 +0100 Subject: [PATCH] add new cy-tests --- cypress/e2e/assetEmpty/audioEmptyAsset.cy.ts | 78 +++++++++++++++++ .../e2e/assetEmpty/documentAssetEmpty.cy.ts | 59 +++++++++++++ cypress/e2e/assetEmpty/imageAssetEmpty.cy.ts | 67 +++++++++++++++ cypress/e2e/assetEmpty/videoAssetEmpty.cy.ts | 75 ++++++++++++++++ cypress/e2e/assets/unsplash.cy.ts | 45 ++++++++++ .../e2e/distribution/audioDistribution.cy.ts | 86 +++++++++++++++++++ .../e2e/distribution/videoDistribution.cy.ts | 82 ++++++++++++++++++ 7 files changed, 492 insertions(+) create mode 100644 cypress/e2e/assetEmpty/audioEmptyAsset.cy.ts create mode 100644 cypress/e2e/assetEmpty/documentAssetEmpty.cy.ts create mode 100644 cypress/e2e/assetEmpty/imageAssetEmpty.cy.ts create mode 100644 cypress/e2e/assetEmpty/videoAssetEmpty.cy.ts create mode 100644 cypress/e2e/assets/unsplash.cy.ts create mode 100644 cypress/e2e/distribution/audioDistribution.cy.ts create mode 100644 cypress/e2e/distribution/videoDistribution.cy.ts diff --git a/cypress/e2e/assetEmpty/audioEmptyAsset.cy.ts b/cypress/e2e/assetEmpty/audioEmptyAsset.cy.ts new file mode 100644 index 00000000..766ea3a6 --- /dev/null +++ b/cypress/e2e/assetEmpty/audioEmptyAsset.cy.ts @@ -0,0 +1,78 @@ +/// + +import { ALERT_CREATE, ASSET_TITLE, CY } from '../../utils/common' + +describe(`Test audio empty asset, Env: ${CY.cfg}`, + { tags: ['@assetAudioEmpty', '@assetEmpty'] }, () => { + it('Prepare Test Data', ()=> { + cy.prepareData('audio/sample.mp3', 0) + }) + it('Test empty asset', () => { + cy.api_waitPageLoad('main') + cy.get('.mdi-view-grid-plus-outline').click() + cy.get('.v-list').contains('Vytvoriť prázdny asset').click() + cy.getCy('author-type').click() + cy.get('.v-overlay__content > .v-list').contains('Audio').click() + cy.getCy('button-close').should('be.visible') + cy.getCy('button-cancel').should('be.visible') + cy.getCy('button-confirm').should('be.visible').click() + cy.alertMessage(ALERT_CREATE) + + cy.urlContains('/asset') + cy.get('.sidebar-info__content > .pa-2 > .v-alert').contains('Neobsahuje žiaden súbor') + cy.getCy('button-download').should('be.visible') + cy.getCy('button-delete').should('be.visible') + cy.get('.dam-image-detail__sidebar [data-cy="custom-field-title"] textarea').eq(0) + .type(`${ASSET_TITLE}`) + cy.getCy('button-save').should('be.visible').click() + + cy.getCy('button-distribution').should('be.visible').click() + cy.circleLoad() + cy.get('.sidebar-info__content').invoke('text').then((sidebarText) => { + cy.wrap(sidebarText).should('include', 'Neobsahuje žiaden súbor') + cy.wrap(sidebarText).should('include', 'Nie je vybraná žiadna distribučná kategória') + cy.wrap(sidebarText).should('include', 'Nie je čo zobraziť') + }) + + cy.getCy('button-podcast').should('be.visible').click() + cy.circleLoad() + cy.getCy('button-add-new-podcast-episode').should('be.visible') + cy.get('.sidebar-info__content').invoke('text').then((sidebarText) => { + cy.wrap(sidebarText).should('include', 'Neobsahuje žiaden súbor') + cy.wrap(sidebarText).should('include', 'Nie je čo zobraziť') + }) + cy.getCy('button-add-new-podcast-episode').should('be.visible') + + cy.getCy('button-slots').should('be.visible').click() + cy.circleLoad() + cy.get('.sidebar-info__content').invoke('text').then((sidebarText) => { + cy.wrap(sidebarText).should('include', 'Neobsahuje žiaden súbor') + cy.wrap(sidebarText).should('include', 'free') + cy.wrap(sidebarText).should('include', 'bonus') + cy.wrap(sidebarText).should('include', 'premium') + cy.wrap(sidebarText).should('include', 'Žiaden súbor') + }) + cy.get('.w-100 > .v-btn').should('be.visible') + cy.get('.sidebar-info__content input[type="file"]', { timeout: 10000 }) + .eq(0) + .selectFile( + { contents: 'cypress/fixtures/audio/sample.mp3' }, + { waitForAnimations: true, force: true, action: 'select' } + ) + cy.api_getFileID().then((assetID) => { + cy.circleLoad() + + cy.visit(`/asset/${assetID}`) + cy.get('.dam-image-detail__sidebar [data-cy="custom-field-title"] textarea').eq(0) + .invoke('val').then((assetTitle)=>{ + cy.wrap(assetTitle).should('include', ASSET_TITLE) + }) + cy.urlContains(assetID) + cy.get('.sidebar-info__content').invoke('text').then((sidebarText) => { + cy.wrap(sidebarText).should('not.include', 'Neobsahuje žiaden súbor') + }).then(()=>{ + cy.deleteFile([assetID]) + }) + }) + }) +}) diff --git a/cypress/e2e/assetEmpty/documentAssetEmpty.cy.ts b/cypress/e2e/assetEmpty/documentAssetEmpty.cy.ts new file mode 100644 index 00000000..9f307970 --- /dev/null +++ b/cypress/e2e/assetEmpty/documentAssetEmpty.cy.ts @@ -0,0 +1,59 @@ +/// + +import { ALERT_CREATE, ASSET_TITLE, CY } from '../../utils/common' + +describe(`Test document empty asset, Env: ${CY.cfg}`, + { tags: ['@assetDocumentEmpty', '@assetEmpty'] }, () => { + it('Prepare Test Data', ()=> { + cy.prepareData('document/sample.doc', 0) + }) + it('Test empty asset', () => { + cy.api_waitPageLoad('main') + cy.get('.mdi-view-grid-plus-outline').click() + cy.get('.v-list').contains('Vytvoriť prázdny asset').click() + cy.getCy('author-type').click() + cy.get('.v-overlay__content > .v-list').contains('Dokument').click() + cy.getCy('button-close').should('be.visible') + cy.getCy('button-cancel').should('be.visible') + cy.getCy('button-confirm').should('be.visible').click() + cy.alertMessage(ALERT_CREATE) + + cy.urlContains('/asset') + cy.get('.sidebar-info__content > .pa-2 > .v-alert').contains('Neobsahuje žiaden súbor') + cy.getCy('button-download').should('be.visible') + cy.getCy('button-delete').should('be.visible') + cy.get('.dam-image-detail__sidebar [data-cy="custom-field-title"] textarea').eq(0) + .type(`${ASSET_TITLE}`) + cy.getCy('button-save').should('be.visible').click() + + cy.getCy('button-slots').should('be.visible').click() + cy.circleLoad() + cy.get('.sidebar-info__content').invoke('text').then((sidebarText) => { + cy.wrap(sidebarText).should('include', 'Neobsahuje žiaden súbor') + cy.wrap(sidebarText).should('include', 'default') + cy.wrap(sidebarText).should('include', 'Žiaden súbor') + }) + cy.get('.w-100 > .v-btn').should('be.visible') + cy.get('.sidebar-info__content input[type="file"]', { timeout: 10000 }) + .eq(0) + .selectFile( + { contents: 'cypress/fixtures/document/sample.doc' }, + { waitForAnimations: true, force: true, action: 'select' } + ) + cy.api_getFileID().then((assetID) => { + cy.circleLoad() + + cy.visit(`/asset/${assetID}`) + cy.get('.dam-image-detail__sidebar [data-cy="custom-field-title"] textarea').eq(0) + .invoke('val').then((assetTitle)=>{ + cy.wrap(assetTitle).should('include', ASSET_TITLE) + }) + cy.urlContains(assetID) + cy.get('.sidebar-info__content').invoke('text').then((sidebarText) => { + cy.wrap(sidebarText).should('not.include', 'Neobsahuje žiaden súbor') + }).then(()=>{ + cy.deleteFile([assetID]) + }) + }) + }) + }) diff --git a/cypress/e2e/assetEmpty/imageAssetEmpty.cy.ts b/cypress/e2e/assetEmpty/imageAssetEmpty.cy.ts new file mode 100644 index 00000000..09cc5515 --- /dev/null +++ b/cypress/e2e/assetEmpty/imageAssetEmpty.cy.ts @@ -0,0 +1,67 @@ +/// + +import { ALERT_CREATE, ASSET_TITLE, CY } from '../../utils/common' + +describe(`Test image empty asset, Env: ${CY.cfg}`, + { tags: ['@assetImageEmpty', '@assetEmpty'] }, () => { + it('Prepare Test Data', ()=> { + cy.prepareData('image/sample.png', 0) + }) + it('Test empty asset', () => { + cy.api_waitPageLoad('main') + cy.get('.mdi-view-grid-plus-outline').click() + cy.get('.v-list').contains('Vytvoriť prázdny asset').click() + cy.getCy('author-type').click() + cy.get('.v-overlay__content > .v-list').contains('Obrázok').click() + cy.getCy('button-close').should('be.visible') + cy.getCy('button-cancel').should('be.visible') + cy.getCy('button-confirm').should('be.visible').click() + cy.alertMessage(ALERT_CREATE) + + cy.urlContains('/asset') + cy.get('.sidebar-info__content > .pa-2 > .v-alert').contains('Neobsahuje žiaden súbor') + cy.getCy('button-download').should('be.visible') + cy.getCy('button-delete').should('be.visible') + cy.get('.dam-image-detail__sidebar [data-cy="custom-field-title"] textarea').eq(0) + .type(`${ASSET_TITLE}`) + cy.getCy('button-save').should('be.visible').click() + + cy.getCy('button-focus').should('be.visible').click() + cy.circleLoad() + cy.get('.sidebar-info__content').invoke('text').then((sidebarText) => { + cy.wrap(sidebarText).should('include', 'Náhľady') + cy.wrap(sidebarText).should('include', 'Náhľad obrázku na mobile, počítači alebo v aplikácii') + }) + cy.get('.w-100 .v-btn').should('be.visible') + + cy.getCy('button-slots').should('be.visible').click() + cy.circleLoad() + cy.get('.sidebar-info__content').invoke('text').then((sidebarText) => { + cy.wrap(sidebarText).should('include', 'Neobsahuje žiaden súbor') + cy.wrap(sidebarText).should('include', 'default') + cy.wrap(sidebarText).should('include', 'Žiaden súbor') + }) + cy.get('.w-100 > .v-btn').should('be.visible') + cy.get('.sidebar-info__content input[type="file"]', { timeout: 10000 }) + .eq(0) + .selectFile( + { contents: 'cypress/fixtures/image/sample.png' }, + { waitForAnimations: true, force: true, action: 'select' } + ) + cy.api_getFileID().then((assetID) => { + cy.circleLoad() + + cy.visit(`/asset/${assetID}`) + cy.get('.dam-image-detail__sidebar [data-cy="custom-field-title"] textarea').eq(0) + .invoke('val').then((assetTitle)=>{ + cy.wrap(assetTitle).should('include', ASSET_TITLE) + }) + cy.urlContains(assetID) + cy.get('.sidebar-info__content').invoke('text').then((sidebarText) => { + cy.wrap(sidebarText).should('not.include', 'Neobsahuje žiaden súbor') + }).then(()=>{ + cy.deleteFile([assetID]) + }) + }) + }) + }) diff --git a/cypress/e2e/assetEmpty/videoAssetEmpty.cy.ts b/cypress/e2e/assetEmpty/videoAssetEmpty.cy.ts new file mode 100644 index 00000000..c68418aa --- /dev/null +++ b/cypress/e2e/assetEmpty/videoAssetEmpty.cy.ts @@ -0,0 +1,75 @@ +/// + +import { ALERT_CREATE, ASSET_TITLE, CY } from '../../utils/common' + +describe(`Test video empty asset, Env: ${CY.cfg}`, + { tags: ['@assetVideoEmpty', '@assetEmpty'] }, () => { + it('Prepare Test Data', ()=> { + cy.prepareData('video/sample.mp4', 0) + }) + it('Test empty asset', () => { + cy.api_waitPageLoad('main') + cy.get('.mdi-view-grid-plus-outline').click() + cy.get('.v-list').contains('Vytvoriť prázdny asset').click() + cy.getCy('author-type').click() + cy.get('.v-overlay__content > .v-list').contains('Video').click() + cy.getCy('button-close').should('be.visible') + cy.getCy('button-cancel').should('be.visible') + cy.getCy('button-confirm').should('be.visible').click() + cy.alertMessage(ALERT_CREATE) + + cy.urlContains('/asset') + cy.get('.sidebar-info__content > .pa-2 > .v-alert').contains('Neobsahuje žiaden súbor') + cy.getCy('button-download').should('be.visible') + cy.getCy('button-delete').should('be.visible') + cy.get('.dam-image-detail__sidebar [data-cy="custom-field-title"] textarea').eq(0) + .type(`${ASSET_TITLE}`) + cy.getCy('button-save').should('be.visible').click() + + cy.getCy('button-distribution').should('be.visible').click() + cy.circleLoad() + cy.get('.sidebar-info__content').invoke('text').then((sidebarText) => { + cy.wrap(sidebarText).should('include', 'Neobsahuje žiaden súbor') + cy.wrap(sidebarText).should('include', 'Nie je vybraná žiadna distribučná kategória') + cy.wrap(sidebarText).should('include', 'Nie je čo zobraziť') + }) + + cy.getCy('button-video-show').should('be.visible').click() + cy.circleLoad() + cy.get('.sidebar-info__content').invoke('text').then((sidebarText) => { + cy.wrap(sidebarText).should('include', 'Neobsahuje žiaden súbor') + cy.wrap(sidebarText).should('include', 'Nie je čo zobraziť') + }) + cy.getCy('button-add-new-vs-episode').should('be.visible') + + cy.getCy('button-slots').should('be.visible').click() + cy.circleLoad() + cy.get('.sidebar-info__content').invoke('text').then((sidebarText) => { + cy.wrap(sidebarText).should('include', 'Neobsahuje žiaden súbor') + cy.wrap(sidebarText).should('include', 'default') + cy.wrap(sidebarText).should('include', 'Žiaden súbor') + }) + cy.get('.w-100 > .v-btn').should('be.visible') + cy.get('.sidebar-info__content input[type="file"]', { timeout: 10000 }) + .eq(0) + .selectFile( + { contents: 'cypress/fixtures/video/sample.mp4' }, + { waitForAnimations: true, force: true, action: 'select' } + ) + cy.api_getFileID().then((assetID) => { + cy.circleLoad() + + cy.visit(`/asset/${assetID}`) + cy.get('.dam-image-detail__sidebar [data-cy="custom-field-title"] textarea').eq(0) + .invoke('val').then((assetTitle)=>{ + cy.wrap(assetTitle).should('include', ASSET_TITLE) + }) + cy.urlContains(assetID) + cy.get('.sidebar-info__content').invoke('text').then((sidebarText) => { + cy.wrap(sidebarText).should('not.include', 'Neobsahuje žiaden súbor') + }).then(()=>{ + cy.deleteFile([assetID]) + }) + }) + }) + }) diff --git a/cypress/e2e/assets/unsplash.cy.ts b/cypress/e2e/assets/unsplash.cy.ts new file mode 100644 index 00000000..74644615 --- /dev/null +++ b/cypress/e2e/assets/unsplash.cy.ts @@ -0,0 +1,45 @@ +/// + +import { ALERT_UPLOAD, CY } from '../../utils/common' +const ASSET_ID: Array = [] + +describe(`Test audio slots function, Env: ${CY.cfg}`, + { tags: ['@unsplash', '@assets'], env: { visitBaseUrl: true } }, () => { + it('test Unsplash Image', ()=>{ + cy.api_waitPageLoad('main') + cy.get('.v-toolbar__content > .w-100 > :nth-child(2) > .v-btn').click() + cy.get('.v-list-item').contains('Unsplash').click() + cy.api_waitPageLoad('unsplash') + cy.get('.v-form > .v-input > .v-input__control > .v-field > .v-field__field > .v-field__input') + .type('Forest{ENTER}') + cy.get('.dam-image-grid > :nth-child(1)').click() + cy.get('.pa-2 > .bg-primary').click() + cy.get('.dam-image-grid > :nth-child(2)').click() + cy.get('.pa-2 > .bg-primary').click() + cy.waitForUpload(ALERT_UPLOAD) + cy.duplicateShouldExist(false) + cy.getCy('button-add-description').click() + cy.getCy('table-copy').eq(0).click() + cy.window().then((win) => { + win.navigator.clipboard.readText().then((text) => { + ASSET_ID.push(text) + }) + }) + cy.getCy('table-copy').eq(1).click() + cy.window().then((win) => { + win.navigator.clipboard.readText().then((text) => { + ASSET_ID.push(text) + }) + }) + }) + it('Visit data', ()=>{ + ASSET_ID.forEach((id)=>{ + cy.log(id) + cy.visit(`/asset/${id}`) + cy.urlContains(id) + }) + }) + it('Delete Test data', ()=>{ + cy.deleteFile(ASSET_ID) + }) +}) diff --git a/cypress/e2e/distribution/audioDistribution.cy.ts b/cypress/e2e/distribution/audioDistribution.cy.ts new file mode 100644 index 00000000..3ecc03bb --- /dev/null +++ b/cypress/e2e/distribution/audioDistribution.cy.ts @@ -0,0 +1,86 @@ +/// + +import { + CY, + ASSET_TITLE, + ASSET_DESCRIPTION, + ALERT_CREATE +} from '../../utils/common' +const ASSET_ID: Array = [] +const DISTRIBUTION_DATA={ + PODCAST: 'Dobré ráno', + CATEGORY: 'Podcasty', + AUTHOR: 'Boris Zemko', + KEYWORD: 'Aupark', +} + +describe(`Test distribution Audio function, Env: ${CY.cfg}`, + { tags: ['@distributionAudio', '@distribution'] }, () => { + it('Prepare Test Data', () => { + cy.prepareData('audio/sample.mp3', 1, ASSET_ID) + }) + it('Distribute audio', () => { + cy.visit(`/asset/${ASSET_ID}`) + cy.api_waitPageLoad('asset-edit') + + // Add to podcast + cy.getCy('button-podcast').should('be.visible').click() + cy.getCy('button-add-new-podcast-episode').should('be.visible').click() + cy.getCy('field-choose-podcast').click() + cy.waitSec(2) + cy.get('.v-list-item').contains(DISTRIBUTION_DATA.PODCAST).click() + cy.circleLoad() + cy.get('textarea').eq(0).type(ASSET_DESCRIPTION) + cy.getCy('button-add').should('be.visible').click() + cy.alertMessage(ALERT_CREATE) + + // Change distribution category + cy.getCy('button-distribution').click() + cy.get('.mdi-pencil').click() + cy.get('.mdi-menu-down').click() + cy.get('.v-list-item').contains(DISTRIBUTION_DATA.CATEGORY).click() + cy.getCy('button-confirm').click() + + // Distribution Audio to JW + cy.getCy('add-new-distribution').click() + cy.circleLoad() + cy.get('textarea').eq(0).type(ASSET_TITLE) + cy.get('textarea').eq(2).type(ASSET_DESCRIPTION) + cy.get(':nth-child(3) > .v-col').type(DISTRIBUTION_DATA.AUTHOR) + cy.get(':nth-child(4) > .v-col').type(DISTRIBUTION_DATA.KEYWORD) + cy.get('.mdi-calendar').click() + cy.get('.shortcut-buttons-flatpickr-buttons').click() + cy.get('.v-btn').contains('Zrušiť').should('be.visible') + cy.get('.v-card-actions > .bg-primary').click() + cy.alertMessage(ALERT_CREATE) + + // Distribution Audio to Artemis + cy.get('[value="artemis_podcast_cms"]').click() + cy.circleLoad() + cy.get('textarea').eq(0).type(ASSET_TITLE) + cy.get('textarea').eq(2).type(ASSET_DESCRIPTION) + cy.get('.v-card-text [data-cy="custom-field-authors"]').type(DISTRIBUTION_DATA.AUTHOR) + cy.get('.v-card-text [data-cy="custom-field-keywords"]').type(DISTRIBUTION_DATA.KEYWORD) + cy.get('[id^="switch-"]').eq(2).click() // Zalozit clanok -> ON + cy.get('.v-card-actions > .bg-primary').click() + cy.alertMessage(ALERT_CREATE) + cy.getCy('button-close').click() + + // Check status + cy.get(':nth-child(1) > .text-body-2 > :nth-child(2) > .v-col > .v-chip > .v-chip__content', { timeout: 90000 }) + .should('include.text', 'Distribuovaný') + cy.get(':nth-child(2) > .text-body-2 > :nth-child(2) > .v-col > .v-chip > .v-chip__content') + .should('include.text', 'Distribuovaný') // JW distribution + + // Logs core-dam check + cy.visit('/log') + cy.getCy('filter-value').first().click() + cy.contains('.v-list-item', 'coreDam').click() + cy.getCy('filter-submit').click() + cy.get('.v-data-table__tbody > :nth-child(1) > :nth-child(3)').contains('INFO') + cy.get('.v-data-table__tbody > :nth-child(1) > :nth-child(4)').contains('[Artemis] Distribute') + }) + it('Delete Test data', ()=>{ + cy.deleteFile(ASSET_ID) + }) +}) diff --git a/cypress/e2e/distribution/videoDistribution.cy.ts b/cypress/e2e/distribution/videoDistribution.cy.ts new file mode 100644 index 00000000..3d765666 --- /dev/null +++ b/cypress/e2e/distribution/videoDistribution.cy.ts @@ -0,0 +1,82 @@ +/// + +import { + CY, + ASSET_TITLE, + ASSET_DESCRIPTION, + ALERT_CREATE +} from '../../utils/common' +const ASSET_ID: Array = [] +const DISTRIBUTION_DATA={ + CATEGORY: 'Publicistika', + AUTHOR: 'Boris Zemko', + KEYWORD: 'Aupark', +} + +describe(`Test distribution Video function, Env: ${CY.cfg}`, + { tags: ['@distributionVideo', '@distribution'] }, () => { + it('Prepare Test Data', () => { + cy.prepareData('video/sample.mp4', 1, ASSET_ID) + }) + it('Distribute video', () => { + cy.visit(`/asset/${ASSET_ID}`) + cy.api_waitPageLoad('asset-edit') + + // Change distribution category + cy.getCy('button-distribution').click() + cy.get('.mdi-pencil').click() + cy.get('.mdi-menu-down').click() + cy.get('.v-list-item').contains(DISTRIBUTION_DATA.CATEGORY).click() + cy.getCy('button-confirm').click() + + // Distribution video to YouTube + cy.getCy('add-new-distribution').click() + cy.circleLoad() + cy.get('textarea').eq(0).type(ASSET_TITLE) + cy.get('textarea').eq(2).type(ASSET_DESCRIPTION) + cy.get('.v-btn').contains('Zrušiť').should('be.visible') + cy.get('.v-card-actions > .bg-primary').click() + cy.alertMessage(ALERT_CREATE) + + // Distribution video to JW Video Player + cy.get('[value="jw_cms"]').click() + cy.circleLoad() + cy.get('textarea').eq(0).type(ASSET_TITLE) + cy.get('textarea').eq(2).type(ASSET_DESCRIPTION) + cy.get(':nth-child(3) > .v-col > .v-input > .v-input__control > .v-field > .v-field__field > .v-field__input') + .type(DISTRIBUTION_DATA.AUTHOR) + cy.get('.v-card-actions > .bg-primary').click() + cy.alertMessage(ALERT_CREATE) + + // Distribution Audio to Artemis + cy.get('[value="artemis_video_cms"]').click() + cy.circleLoad() + cy.get('textarea').eq(0).type(ASSET_TITLE) + cy.get('textarea').eq(2).type(ASSET_DESCRIPTION) + cy.get('.v-card-text [data-cy="custom-field-authors"]').type(DISTRIBUTION_DATA.AUTHOR) + cy.get('.v-card-text [data-cy="custom-field-keywords"]').type(DISTRIBUTION_DATA.KEYWORD) + cy.get('[id^="switch-"]').eq(0).click() // Zalozit clanok -> ON + cy.get('.v-card-actions > .bg-primary').click() + cy.alertMessage(ALERT_CREATE) + cy.getCy('button-close').click() + + // Check status + cy.get(':nth-child(1) > .text-body-2 > :nth-child(2) > .v-col > .v-chip > .v-chip__content', { timeout: 90000 }) + .should('include.text', 'Distribuovaný') // Artemis Distribution + cy.get(':nth-child(2) > .text-body-2 > :nth-child(2) > .v-col > .v-chip > .v-chip__content', { timeout: 20000 }) + .should('include.text', 'Distribuovaný') // YouTube distribution + cy.get(':nth-child(3) > .text-body-2 > :nth-child(2) > .v-col > .v-chip > .v-chip__content') + .should('include.text', 'Distribuovaný') // JW distribution + + // Logs core-dam check + cy.visit('/log') + cy.getCy('filter-value').first().click() + cy.contains('.v-list-item', 'coreDam').click() + cy.getCy('filter-submit').click() + cy.get('.v-data-table__tbody > :nth-child(1) > :nth-child(3)').contains('INFO') + cy.get('.v-data-table__tbody > :nth-child(1) > :nth-child(4)').contains('[Artemis] Distribute') + }) + it('Delete Test data', ()=>{ + cy.deleteFile(ASSET_ID) + }) + })