apisix-dashboard
apisix-dashboard copied to clipboard
feat: set serverUrlMap using environment variables
Please answer these questions before submitting a pull request, or your PR will get closed.
Why submit this pull request?
- [ ] Bugfix
- [x] New feature provided
- [ ] Improve performance
- [ ] Backport patches
What changes will this PR take into?
- set serverUrlMap using environment variables
- update Cypress to v10
- migrate frontend e2e tests
Related issues
fix/resolve #
Checklist:
- [x] Did you explain what problem does this PR solve? Or what new features have been added?
- [ ] Have you added corresponding test cases?
- [x] Have you modified the corresponding document?
- [x] Is this PR backward compatible? If it is not backward compatible, please discuss on the mailing list first
Codecov Report
Merging #2583 (089ad99) into master (a15fe35) will decrease coverage by
15.88%
. The diff coverage is63.88%
.
@@ Coverage Diff @@
## master #2583 +/- ##
===========================================
- Coverage 76.08% 60.20% -15.89%
===========================================
Files 136 134 -2
Lines 3601 3553 -48
Branches 868 867 -1
===========================================
- Hits 2740 2139 -601
- Misses 861 1414 +553
Flag | Coverage Δ | |
---|---|---|
frontend-e2e-test | 60.20% <63.88%> (-15.89%) |
:arrow_down: |
Flags with carried forward coverage won't be shown. Click here to find out more.
Impacted Files | Coverage Δ | |
---|---|---|
web/src/components/LabelsfDrawer/LabelsDrawer.tsx | 3.92% <0.00%> (-79.42%) |
:arrow_down: |
...ages/Route/components/DebugViews/DebugDrawView.tsx | 25.66% <ø> (+0.40%) |
:arrow_up: |
web/src/pages/Route/List.tsx | 57.50% <37.50%> (-19.23%) |
:arrow_down: |
web/config/defaultSettings.ts | 53.33% <53.33%> (ø) |
|
web/src/pages/Route/components/Step1/MetaView.tsx | 72.94% <86.56%> (-27.06%) |
:arrow_down: |
...nents/PluginFlow/components/FlowGraph/FlowGraph.ts | 1.36% <0.00%> (-82.20%) |
:arrow_down: |
web/src/components/PluginFlow/PluginFlow.tsx | 1.42% <0.00%> (-80.00%) |
:arrow_down: |
...b/src/pages/Route/components/DataLoader/Import.tsx | 4.91% <0.00%> (-78.69%) |
:arrow_down: |
...es/Route/components/DataLoader/loader/OpenAPI3.tsx | 33.33% <0.00%> (-66.67%) |
:arrow_down: |
web/src/components/PluginFlow/constants.ts | 29.03% <0.00%> (-58.07%) |
:arrow_down: |
... and 24 more |
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
BTW, the frontend e2e CI was crashed, if you have no other changes, please let me rewrite it to run it. @