]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: fix cephadm e2e expression changed error 51074/head
authorNizamudeen A <nia@redhat.com>
Fri, 14 Apr 2023 06:03:16 +0000 (11:33 +0530)
committerNizamudeen A <nia@redhat.com>
Fri, 14 Apr 2023 06:05:28 +0000 (11:35 +0530)
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 <nia@redhat.com>
src/pybind/mgr/dashboard/frontend/cypress/support/index.ts

index 16099815a7dddbaf306fc797195484e8d924d039..4db2c6a4926a9e20ded76ec399b72a292d58fb88 100644 (file)
@@ -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;
   }