From: Nizamudeen A Date: Fri, 14 Apr 2023 06:03:16 +0000 (+0530) Subject: mgr/dashboard: fix cephadm e2e expression changed error X-Git-Tag: v17.2.7~457^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F51079%2Fhead;p=ceph.git mgr/dashboard: fix cephadm e2e expression changed error tried to fix this issue from the daemon component sometime ago several times but it didn't work. So force ignoring the error Fixes: https://tracker.ceph.com/issues/59444 Signed-off-by: Nizamudeen A (cherry picked from commit f7e29e5ab85fabcf2524656bb456a2955fa8608d) --- diff --git a/src/pybind/mgr/dashboard/frontend/cypress/support/index.ts b/src/pybind/mgr/dashboard/frontend/cypress/support/index.ts index 16099815a7dd..4db2c6a4926a 100644 --- a/src/pybind/mgr/dashboard/frontend/cypress/support/index.ts +++ b/src/pybind/mgr/dashboard/frontend/cypress/support/index.ts @@ -10,7 +10,8 @@ afterEach(() => { Cypress.on('uncaught:exception', (err: Error) => { if ( err.message.includes('ResizeObserver loop limit exceeded') || - err.message.includes('api/prometheus/rules') + err.message.includes('api/prometheus/rules') || + err.message.includes('NG0100: ExpressionChangedAfterItHasBeenCheckedError') ) { return false; }