Skip to content

Commit 563acb0

Browse files
Correct test
1 parent 0cbc3ef commit 563acb0

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/resources/CustomResourceDefinitions/CRCreate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function CRCreate({
3232

3333
const navigate = useNavigate();
3434
const { nextQuery, currentQuery } = usePrepareLayout(layoutNumber);
35-
const goToLayoutQuery = customUrl(cr).includes('customresources/')
35+
const goToLayoutQuery = customUrl(cr)?.includes('customresources/')
3636
? nextQuery
3737
: currentQuery;
3838

tests/integration/tests/cluster/test-custom-resources.spec.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,6 @@ context('Test Custom Resources', () => {
8181

8282
cy.contains('ui5-button', 'Create').click();
8383

84-
cy.wait(1000);
85-
8684
cy.wrap(loadFile(TCLUSTER_FILE_NAME)).then(TC_CONFIG => {
8785
const TC = JSON.stringify(TC_CONFIG);
8886
cy.pasteToMonaco(TC);

0 commit comments

Comments
 (0)