Issues #108: done.
This commit is contained in:
@@ -210,7 +210,7 @@ describe('Save Log and Filter', ()=>{
|
|||||||
cy.get('.listSequence').find('div[data-draggable="true"]').should('exist');
|
cy.get('.listSequence').find('div[data-draggable="true"]').should('exist');
|
||||||
cy.contains('button', 'Clear').click();
|
cy.contains('button', 'Clear').click();
|
||||||
cy.get('.listSequence').find('div[data-draggable="true"]').should('not.exist');
|
cy.get('.listSequence').find('div[data-draggable="true"]').should('not.exist');
|
||||||
cy.get('.v-toast__text').should('contain', 'Reset Success');
|
cy.get('.v-toast__text').should('contain', 'Filter cleared');
|
||||||
cy.wait(3000);
|
cy.wait(3000);
|
||||||
|
|
||||||
|
|
||||||
@@ -253,7 +253,7 @@ describe('Save Log and Filter', ()=>{
|
|||||||
.click()
|
.click()
|
||||||
.trigger('mouseup');
|
.trigger('mouseup');
|
||||||
cy.contains('button', 'Clear').click();
|
cy.contains('button', 'Clear').click();
|
||||||
cy.get('.v-toast__text').should('contain', 'Reset Success');
|
cy.get('.v-toast__text').should('contain', 'Filter cleared');
|
||||||
cy.wait(3000);
|
cy.wait(3000);
|
||||||
|
|
||||||
// selected item
|
// selected item
|
||||||
@@ -287,7 +287,7 @@ describe('Save Log and Filter', ()=>{
|
|||||||
cy.get('#startCalendar').click();
|
cy.get('#startCalendar').click();
|
||||||
cy.get('.p-datepicker td[aria-label="28"]').click({ multiple: true });
|
cy.get('.p-datepicker td[aria-label="28"]').click({ multiple: true });
|
||||||
cy.contains('button', 'Clear').click();
|
cy.contains('button', 'Clear').click();
|
||||||
cy.get('.v-toast__text').should('contain', 'Reset Success');
|
cy.get('.v-toast__text').should('contain', 'Filter cleared');
|
||||||
cy.wait(3000);
|
cy.wait(3000);
|
||||||
|
|
||||||
// selected item
|
// selected item
|
||||||
|
|||||||
@@ -507,7 +507,7 @@ export default {
|
|||||||
this.$refs.filterTraceView.selectArea = [0, this.$refs.filterTraceView.traceTotal];
|
this.$refs.filterTraceView.selectArea = [0, this.$refs.filterTraceView.traceTotal];
|
||||||
};
|
};
|
||||||
// 成功訊息
|
// 成功訊息
|
||||||
massage ? this.$toast.success('Reset Success.') : null;
|
massage ? this.$toast.success('Filter cleared.') : null;
|
||||||
},
|
},
|
||||||
// header:Filter 發送選取的資料
|
// header:Filter 發送選取的資料
|
||||||
async submit(){
|
async submit(){
|
||||||
|
|||||||
Reference in New Issue
Block a user