Skip to content

Commit c8b6a81

Browse files
Merge branch 'main' into proper-data-for-joule-suggestions
2 parents 1f2af35 + cc25f12 commit c8b6a81

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

src/shared/hooks/usePrepareLayout.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,6 @@ export function usePrepareLayoutColumns({
104104

105105
const newLayoutState = useMemo(() => {
106106
const isAllNamespaces = namespaceId === '-all-';
107-
console.log(
108-
'TEST-OneColumn',
109-
resourceName,
110-
resourceType,
111-
resource,
112-
rawResourceTypeName,
113-
);
114107
if (isModule) {
115108
return {
116109
layout: layout || 'OneColumn',

tests/integration/tests/kyma-namespace/test-hpa.spec.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { chooseComboboxOption } from '../../support/helpers';
55
const HPA_NAME = 'test-hpa';
66
const DOCKER_IMAGE = 'nginx';
77
const DEPLOYEMENT_NAME = 'no-pod';
8-
const MIN_REPLICAS = 2;
8+
const MIN_REPLICAS = 1;
99
const MAX_REPLICAS = 3;
1010
const SCALE_TARGET_REF_KIND = 'Deployment';
1111
const SCALE_TARGET_REF_NAME = 'no-pod';
@@ -103,10 +103,11 @@ context('Test HPA', () => {
103103

104104
cy.getMidColumn()
105105
.get('[data-testid="spec.minReplicas"]:visible')
106+
.eq(0)
106107
.find('input')
107108
.click()
108109
.clear()
109-
.type(MIN_REPLICAS, { force: true });
110+
.type(MIN_REPLICAS);
110111

111112
cy.saveChanges('Edit');
112113
cy.inspectTab('View');

0 commit comments

Comments
 (0)