Bug 1939515 - Cypress: project-creation.feature test flakes, Create Namespace post check finding wrong header
Summary: Cypress: project-creation.feature test flakes, Create Namespace post check fi...
Keywords:
Status: CLOSED DUPLICATE of bug 1945594
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.7
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.8.0
Assignee: BalajiMakam
QA Contact: Gajanan More
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-16 14:47 UTC by David Taylor
Modified: 2021-04-29 05:36 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-29 05:36:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description David Taylor 2021-03-16 14:47:58 UTC
Daily flake:  https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/pr-logs/pull/openshift_console/8370/pull-ci-openshift-console-master-e2e-gcp-console/1371377608347881472/artifacts/e2e-gcp-console/test/artifacts/gui_test_screenshots/cypress/screenshots/project-creation.feature/OpenShift%20Namespaces%20--%20Create%20the%20namespace%20(failed).png

It appears that after the Namespace is created, test is looking for the h2 of the EmptyState to be 'No resources found', however cy.get is checking from the root of the DOM and I believe it is finding the h2 of the Perspectice Switcher, which shows 'Developer'.

The get selector should probably be targeted to the contents of the list page or empty state component.

Comment 1 Debsmita Santra 2021-03-22 14:14:35 UTC
@bmakam could you please look into this ?

Comment 2 BalajiMakam 2021-03-29 07:34:09 UTC
Looks like 4.7 release scripts doesn't have updates w.r.to 4.8 release. Cherry pick is required to update this script

topology page displays with message "No resources found" is not present in https://github.com/openshift/console/blob/master/frontend/packages/dev-console/integration-tests/features/project-creation.feature

Comment 3 BalajiMakam 2021-04-29 05:36:41 UTC
Already worked on https://bugzilla.redhat.com/show_bug.cgi?id=1945594 [Same issue]. Waiting for merge

*** This bug has been marked as a duplicate of bug 1945594 ***


Note You need to log in before you can comment on or make changes to this bug.