Bug 1992004
Summary: | ci/prow/e2e-gcp-console flake "Create Application from git form" | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | David Taylor <dtaylor> | |
Component: | Dev Console | Assignee: | Christoph Jerolimov <cjerolim> | |
Status: | CLOSED ERRATA | QA Contact: | ||
Severity: | high | Docs Contact: | ||
Priority: | medium | |||
Version: | 4.9 | CC: | aos-bugs, cjerolim, nmukherj | |
Target Milestone: | --- | |||
Target Release: | 4.9.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | No Doc Update | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1992013 (view as bug list) | Environment: | ||
Last Closed: | 2021-10-18 17:45:44 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: |
Description
David Taylor
2021-08-10 14:24:21 UTC
It appears that there is no longer `aria-labels` on the 'Perl', 'Nginx', etc. tiles shown in the 'add from git' flow. We need to determine if this is a PR regression or in the dev console code. We seem to get the "Expected to find element: `[aria-label="Perl"]`, but never found it." error when after user enters Git Repo url as "https://github.com/sclorg/dancer-ex.git" which then calls 'verifyValidateMessage' which IF there is a warning alert around the url input field (which there is when flake happens), will then call 'gitPage.selectBuilderImageForGitUrl(gitUrl)' (which tests for the `aria-label`). Please see attachment 1813209 [details] "create-from-git.feature: Warning Alert" I regressed my local branch to before latest PF update (https://github.com/openshift/console/pull/9717) and still do not see aria-labels for the 'add from git' tiles, 'gitPage.selectBuilderImageForGitUrl(gitUrl)' is checking for, so I'm not sure when it stopped working. https://github.com/openshift/console/blob/d79b408af3509c7eb3ec0d63f591cc381df92e84/frontend/packages/dev-console/integration-tests/support/pages/add-flow/git-page.ts#L244 https://github.com/openshift/console/blob/d79b408af3509c7eb3ec0d63f591cc381df92e84/frontend/packages/dev-console/integration-tests/support/pages/add-flow/git-page.ts#L176 Provided a bugfix for `[aria-label="Perl"]` The `[role="listbox"]` issue looks related to our new project dropdown and should be checked in that PRs. I think this should be fixed by cherry-picking this commit https://github.com/openshift/console/pull/9767/commits/2c2132c9fe3985505176f7c41299c60f8fbc21d9 Mark this as verified because this affects only our automated tests and the issue is not reopened in the last two weeks. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.9.0 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:3759 |