Skip to content

Commit

Permalink
XXX debug re-renders
Browse files Browse the repository at this point in the history
  • Loading branch information
martinpitt committed Oct 12, 2023
1 parent 852fe88 commit 7692a78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/ContainerHeader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { Toolbar, ToolbarContent, ToolbarItem } from "@patternfly/react-core/dis
const _ = cockpit.gettext;

const ContainerHeader = ({ user, twoOwners, ownerFilter, handleOwnerChanged, textFilter, handleFilterChanged }) => {
console.log("XXX render ContainerHeader user", user, "twoOwners", twoOwners, "ownerFilter", ownerFilter, "textFilter", textFilter);
return (
<Toolbar className="pf-m-page-insets">
<ToolbarContent>
Expand Down
4 changes: 2 additions & 2 deletions test/check-application
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,8 @@ class TestApplication(testlib.MachineCase):
self.performPodAction("pod-1", "system", "Restart")
self.waitRestart("test-pod-1-system", old_start, auth=True)

b.eval_js('window.debugging = "podman"')
b.cdp.trace = True
# b.eval_js('window.debugging = "podman"')
# b.cdp.trace = True

self.performPodAction("pod-1", "system", "Delete")
b.click(".pf-v5-c-modal-box button:contains(Delete)")
Expand Down

0 comments on commit 7692a78

Please sign in to comment.