Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gui] Fix for filter product in gui test #3469

Merged
merged 1 commit into from
Dec 8, 2022

Conversation

vodorok
Copy link
Collaborator

@vodorok vodorok commented Oct 28, 2021

Wait until the div with class v-overlay__srim disappears from the font
of the search bar.

Should fix #3435

@vodorok vodorok self-assigned this Oct 28, 2021
@vodorok vodorok requested a review from bruntib as a code owner October 28, 2021 01:41
@@ -210,7 +211,8 @@ module.exports = {
searchInput: ".v-toolbar__content input[type='text']",
progressBar: ".v-data-table__progress",
editBtn: "tr .edit-btn",
removeBtn: "tr .remove-btn"
removeBtn: "tr .remove-btn",
overlayScrim: "div .v-overlay__scrim"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When you open a vuetify dialog window it will create two separate elements in the application root element:

  • v-overlay
  • v-dialog

image

When you close a dialog, both of them will be dissapeared.

You class v-overlay__scrim is the child of the v-overlay element, and the v-overlay is connected to a v-dialog element.

So instead of this we have to find out which dialog is still in the DOM and have to wait for it while it is dissapeared instead of relying on an inner representation of a component.

@vodorok vodorok force-pushed the gui_test_fix branch 2 times, most recently from 8f53905 to 60c98f1 Compare October 19, 2022 15:23
Wait until the div with class v-overlay__srim disappears from the font
of the search bar.
@bruntib bruntib dismissed csordasmarton’s stale review December 8, 2022 16:10

Patch has been fixed according to the review reqest.

@bruntib bruntib merged commit 91a879d into Ericsson:master Dec 8, 2022
@vodorok vodorok deleted the gui_test_fix branch May 22, 2023 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gui tests fail often on github actions
3 participants