Merge pull request #13575 from Kinplemelon/kinple/upgrade-dashboard-58

chore(dashboard): bump dashboard version to v1.10.0-beta.1 & e1.8.0-beta.1
This commit is contained in:
Ivan Dyachkov 2024-08-06 16:39:06 +02:00 committed by GitHub
commit 281f8ddc83
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 6 deletions

View File

@ -10,8 +10,8 @@ include env.sh
# Dashboard version # Dashboard version
# from https://github.com/emqx/emqx-dashboard5 # from https://github.com/emqx/emqx-dashboard5
export EMQX_DASHBOARD_VERSION ?= v1.9.1 export EMQX_DASHBOARD_VERSION ?= v1.10.0-beta.1
export EMQX_EE_DASHBOARD_VERSION ?= e1.7.1 export EMQX_EE_DASHBOARD_VERSION ?= e1.8.0-beta.1
export EMQX_RELUP ?= true export EMQX_RELUP ?= true
export EMQX_REL_FORM ?= tgz export EMQX_REL_FORM ?= tgz

View File

@ -131,10 +131,7 @@ def test_docs_link(driver, dashboard_url):
# it's v5.x in the url # it's v5.x in the url
emqx_version = 'v' + emqx_version emqx_version = 'v' + emqx_version
if prefix == 'e': docs_base_url = "https://docs.emqx.com/en/emqx"
docs_base_url = "https://docs.emqx.com/en/enterprise"
else:
docs_base_url = "https://docs.emqx.com/en/emqx"
docs_url = f"{docs_base_url}/{emqx_version}" docs_url = f"{docs_base_url}/{emqx_version}"
xpath = f"//div[@id='app']//div[@class='nav-header']//a[@href[starts-with(.,'{docs_url}')]]" xpath = f"//div[@id='app']//div[@class='nav-header']//a[@href[starts-with(.,'{docs_url}')]]"