From 32db57f4c46080c781fb2fae8a99617266b2436c Mon Sep 17 00:00:00 2001 From: John Bampton Date: Tue, 19 Jan 2021 10:09:44 +1000 Subject: [PATCH] chore: fix spelling --- CHANGELOG.md | 2 +- web/cypress/integration/settings/settings-smoketest.spec.js | 2 +- web/src/pages/Route/components/Step1/MatchingRulesView.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f3a875dbf5..0dc33234e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,7 +41,7 @@ * Support group for Route module. [#999](https://github.com/apache/apisix-dashboard/pull/999) * Support Global Plugin. [#1057](https://github.com/apache/apisix-dashboard/pull/1057) [#1106](https://github.com/apache/apisix-dashboard/pull/1106) * Support Version Manager. [#1157](https://github.com/apache/apisix-dashboard/pull/1157) -* Use Cobra as the cli scafford. [#773](https://github.com/apache/apisix-dashboard/pull/773) +* Use Cobra as the cli scaffold. [#773](https://github.com/apache/apisix-dashboard/pull/773) * Remove Lua dependency. [#1083](https://github.com/apache/apisix-dashboard/pull/1083) * Improve E2E testcases for the backend. [#1012](https://github.com/apache/apisix-dashboard/pull/1012), [#1123](https://github.com/apache/apisix-dashboard/pull/1123) * Improve E2E testcases for the frontend. [#1074](https://github.com/apache/apisix-dashboard/pull/1074) diff --git a/web/cypress/integration/settings/settings-smoketest.spec.js b/web/cypress/integration/settings/settings-smoketest.spec.js index a6b1e0cf1b..3b8448d3f8 100644 --- a/web/cypress/integration/settings/settings-smoketest.spec.js +++ b/web/cypress/integration/settings/settings-smoketest.spec.js @@ -40,7 +40,7 @@ context('settings page smoke test', () => { .and('contain', 'Grafana address should begin with HTTP or HTTPS'); }); - it('should set a invaild url', () => { + it('should set a invalid url', () => { cy.visit('/'); cy.contains('Settings').click(); cy.wait(500); diff --git a/web/src/pages/Route/components/Step1/MatchingRulesView.tsx b/web/src/pages/Route/components/Step1/MatchingRulesView.tsx index 0eba8933f8..43a64a14e5 100644 --- a/web/src/pages/Route/components/Step1/MatchingRulesView.tsx +++ b/web/src/pages/Route/components/Step1/MatchingRulesView.tsx @@ -276,7 +276,7 @@ const MatchingRulesView: React.FC = ({ )} - {/* NOTE: tricky way, switch visible on Modal component will ocure error */} + {/* NOTE: tricky way, switch visible on Modal component will occur error */} {visible ? renderModal() : null} );