juzhiyuan commented on a change in pull request #1641:
URL: https://github.com/apache/apisix-dashboard/pull/1641#discussion_r598592240



##########
File path: web/cypress/integration/metrics/metrics-smoketest.spec.js
##########
@@ -25,11 +25,11 @@ context('metrics page smoke test', () => {
 
   it('should visit metrics page', function () {
     cy.visit('/');
-    cy.contains('Metrics').click();
-    cy.url().should('contains', '/metrics');
+    cy.contains('Dashboard').click();
+    cy.url().should('contains', '/dashboard');
     cy.get(this.domSelector.pageContent)
       .children()
-      .should('contain', 'Metrics')
+      .should('contain', 'Dashboard')
       .and('contain', 'You have not configured Grafana')
       .and('contain', 'Configure');
   });

Review comment:
       Would better but not needed 




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to