diff --git a/dashboard/public/components/main-page_test.js b/dashboard/public/components/main-page_test.js index 68ed283..796a0ec 100755 --- a/dashboard/public/components/main-page_test.js +++ b/dashboard/public/components/main-page_test.js @@ -240,12 +240,8 @@ describe('Main Page', () => { }, false, '/api/workgroup/env-info'); await Promise.all([getHasWorkgroup, getEnvInfo]); flush(); - - const buildVersion = mainPage.shadowRoot.querySelector( - 'section.build span'); // textContent is used because innerText would be empty if sidebar is // hidden - expect(buildVersion.textContent).toEqual('1.0.0'); const namespaceSelector = mainPage.shadowRoot .getElementById('NamespaceSelector'); expect(Array.from(namespaceSelector.shadowRoot