@@ -52,17 +52,17 @@ describe('<VueUiDonutEvolution />', () => {
5252 cy . get ( `[data-cy="vue-data-ui-table-data"]` ) . should ( 'exist' )
5353 } )
5454
55- it ( 'downloads pdf, img, xlsx' , ( ) => {
56- cy . get ( '@fixture' ) . then ( ( fixture ) => {
57- cy . get ( `[data-cy="user-options-summary"]` ) . click ( )
58- cy . get ( `[data-cy="user-options-pdf"]` ) . click ( { force : true } ) ;
59- cy . readFile ( `cypress\\Downloads\\${ fixture . config . style . chart . title . text } .pdf` ) ;
60- cy . get ( `[data-cy="user-options-xls"]` ) . click ( { force : true } ) ;
61- cy . readFile ( `cypress\\Downloads\\${ fixture . config . style . chart . title . text } .csv` ) ;
62- cy . get ( `[data-cy="user-options-img"]` ) . click ( { force : true } ) ;
63- cy . readFile ( `cypress\\Downloads\\${ fixture . config . style . chart . title . text } .png` ) ;
64- cy . clearDownloads ( ) ;
65- cy . get ( `[data-cy="user-options-summary"]` ) . click ( )
66- } )
67- } )
55+ // it('downloads pdf, img, xlsx', () => {
56+ // cy.get('@fixture').then((fixture) => {
57+ // cy.get(`[data-cy="user-options-summary"]`).click()
58+ // cy.get(`[data-cy="user-options-pdf"]`).click({ force: true});
59+ // cy.readFile(`cypress\\Downloads\\${fixture.config.style.chart.title.text}.pdf`);
60+ // cy.get(`[data-cy="user-options-xls"]`).click({ force: true});
61+ // cy.readFile(`cypress\\Downloads\\${fixture.config.style.chart.title.text}.csv`);
62+ // cy.get(`[data-cy="user-options-img"]`).click( { force: true});
63+ // cy.readFile(`cypress\\Downloads\\${fixture.config.style.chart.title.text}.png`);
64+ // cy.clearDownloads();
65+ // cy.get(`[data-cy="user-options-summary"]`).click()
66+ // })
67+ // })
6868} )
0 commit comments