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

EES-5732 prevent ui test failures after data replacement #5460

Merged
merged 1 commit into from
Dec 13, 2024
Merged

Conversation

amyb-hiveit
Copy link
Collaborator

data_reordering.robot is currently failing when it tries to go back to the 'Data and Files' tab after replacing the data files.

It errors because a request to the data file permissions endpoint fails because it uses the previous file id (from before the data was replaced). I can't replicate this manually at all so my guess is it's related to the speed of the UI tests.

This adds a check to handleStatusChange to check that the file still exists before calling the permissions service.

There might well be a better way to fix this. I initially tried adding a short sleep before clicking the 'Data and Files' tab but it didn't help.

@bennettstuart bennettstuart merged commit 3f5ec9d into dev Dec 13, 2024
8 checks passed
@bennettstuart bennettstuart deleted the EES-5732 branch December 13, 2024 10:28
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.

3 participants