]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: fix cephadm e2e expression changed error 51081/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 18:46:14 +0000 (00:16 +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>
(cherry picked from commit f7e29e5ab85fabcf2524656bb456a2955fa8608d)

src/pybind/mgr/dashboard/frontend/cypress/support/index.ts

index 7cd93a4134961093847b1a30057c931405cb4258..8fb8a7dcd066c1abe65613350f3cce3b4e54d16c 100644 (file)
@@ -9,7 +9,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;
   }