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

Wait for and dismiss notification in editor navigation test #18910

Merged
merged 1 commit into from
Jun 28, 2022

Conversation

bdach
Copy link
Collaborator

@bdach bdach commented Jun 27, 2022

Intended to address test flakiness (see: https://discord.com/channels/188630481301012481/188630652340404224/991009407645143072)

In the end of the day I don't think the first run overlay trail amounts to anything. If it was it interfering, then there should be a "click to resume first run setup" notification somewhere in the log output, but there is not.

I did however notice in debugging that if unlucky, the "import successful" completion notification in this particular test could be shown as late as inside the editor, which means that it visually obscures the gameplay test button, which makes the test get stuck in editor. To that end, this change makes it so that the test waits for the notification to show in song select, and dismisses the sidebar there to prevent it from meddling further later.

Maybe bit of a "left field" solution but I'm not sure I've got anything better to offer at this point in time.

@peppy peppy merged commit 364d0f0 into ppy:master Jun 28, 2022
@bdach bdach deleted the editor-navigation-fix-again branch June 28, 2022 04:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants