Skip to content

Commit 21203fa

Browse files
Merge pull request #16288 from rhamilto/OCPBUGS-83532
OCPBUGS-83532: Fix race condition in CRD Cypress test
2 parents 6a8db8b + ef21f79 commit 21203fa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

frontend/packages/integration-tests/tests/crud/customresourcedefinition.cy.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ describe('CustomResourceDefinitions', () => {
9999
listPage.isCreateButtonVisible();
100100
listPage.dvRows.shouldBeLoaded();
101101
listPage.dvRows.clickKebabAction(`CRD${testName}`, 'View instances');
102+
cy.url().should('include', `/k8s/all-namespaces/test.example.com~v1~CRD${testName}`);
103+
listPage.isCreateButtonVisible();
102104
listPage.clickCreateYAMLbutton();
103105
yamlEditor.isLoaded();
104106
yamlEditor.getEditorContent().then((content) => {

0 commit comments

Comments
 (0)