Skip to content

Commit 0e000f5

Browse files
Fix test
1 parent fe5cbbb commit 0e000f5

File tree

2 files changed

+4
-2
lines changed
  • app/client

2 files changed

+4
-2
lines changed

app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Debugger/PageOnLoad_spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ describe("Check debugger logs state when there are onPageLoad actions", function
1818
cy.get(explorer.addWidget).click();
1919

2020
cy.reload();
21-
cy.contains(debuggerLocators.debuggerIcon, 0);
21+
cy.get(".t--debugger-count").should("not.be.visible");
2222
});
2323
});

app/client/src/components/editorComponents/Debugger/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ function Debugger() {
7878
onClick={onClick}
7979
>
8080
<Icon name="bug" size={IconSize.XL} />
81-
{!!errorCount && <div className="debugger-count">{errorCount}</div>}
81+
{!!errorCount && (
82+
<div className="debugger-count t--debugger-count">{errorCount}</div>
83+
)}
8284
</Container>
8385
);
8486
return <DebuggerTabs defaultIndex={errorCount ? 0 : 1} />;

0 commit comments

Comments
 (0)