sonarqube

This commit is contained in:
Cindy Chang
2024-07-22 11:16:16 +08:00
parent 07d6e75a6a
commit 56c94f1d80
5 changed files with 0 additions and 1180 deletions

View File

@@ -5,57 +5,6 @@ describe('Performance', ()=>{
cy.visit('https://REDACTED-HOST/files');
});
// it('Enter Log', () => {
// // enter Map
// cy.url().should('include', 'files');
// cy.get('table tr')
// .filter(':contains("Log")')
// .first() // 選擇集合中第一個元素
// .dblclick();
// cy.contains('h2', 'DISCOVER');
// cy.url().should('include', 'discover/map/log');
// cy.wait(2000);
// // enter Performance
// cy.contains('li', 'PERFORMANCE').click();
// cy.url().should('include', 'discover/performance/log');
// // 斷言頁面中有八個 canvas 元素
// cy.get('canvas').should('have.length', 8);
// });
// it('Enter Filter', () => {
// // enter Map
// cy.url().should('include', 'files');
// cy.get('table tr')
// .filter(':contains("Filter")')
// .first()
// .dblclick();
// cy.contains('h2', 'DISCOVER');
// cy.url().should('include', 'discover/map/filter');
// cy.wait(2000);
// // enter Performance
// cy.contains('li', 'PERFORMANCE').click();
// cy.url().should('include', 'discover/performance/filter');
// // 斷言頁面中有八個 canvas 元素
// cy.get('canvas').should('have.length', 8);
// });
// it('Enter Rule', () => {
// // enter Map
// cy.url().should('include', 'files');
// cy.get('table tr')
// .filter(':contains("Rule")')
// .first()
// .dblclick();
// cy.contains('h2', 'DISCOVER');
// cy.url().should('include', 'conformance');
// cy.wait(2000);
// // enter Performance
// cy.contains('li', 'PERFORMANCE').click();
// cy.url().should('include', 'discover/performance');
// // 斷言頁面中有八個 canvas 元素
// cy.get('canvas').should('have.length', 8);
// });
it('Anchor', () => {
// enter Map
cy.url().should('include', 'files');