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

OEQ-1811 - fix(selectUser test): remove findElement #5005

Merged

Conversation

edalex-yinzi
Copy link
Contributor

@edalex-yinzi edalex-yinzi commented Feb 7, 2024

Checklist
Description of change

I think the issue is when you input query in the user selector dialog, the result won't be rendered in the dom immediately, which causes the findElement to fail.

@edalex-yinzi edalex-yinzi changed the title fix(selectUser test): remove findElement OEQ-1811 - fix(selectUser test): remove findElement Feb 7, 2024
@edalex-yinzi
Copy link
Contributor Author

1

@edalex-yinzi
Copy link
Contributor Author

2

@edalex-yinzi
Copy link
Contributor Author

3

@edalex-yinzi
Copy link
Contributor Author

4

@edalex-yinzi
Copy link
Contributor Author

5

@edalex-yinzi
Copy link
Contributor Author

edalex-yinzi commented Feb 8, 2024

I didn't see the advanced Search selectUser test fail in 6 tries. I think it's good enough.

Copy link
Member

@edalex-ian edalex-ian left a comment

Choose a reason for hiding this comment

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

Looks good thanks @edalex-yinzi . But...

I am slightly concerned that in your last three runs there were multiple instances of com.tle.webtests.test.searching.FavouritesPowerSearchIntegration failing where as I've not see that fail before. Considering 'Power Search' is the old name for Advanced Search are you sure this is not related?

@edalex-yinzi
Copy link
Contributor Author

FavouritesPowerSearchIntegration actually is not a new one. I have seen this before both in GitHub and Gitlab.

@edalex-yinzi
Copy link
Contributor Author

I can try to fix this in this MR.

@edalex-yinzi
Copy link
Contributor Author

I think I just asked Penghai two days ago if this test is new, and he said no. Is this FavouritesPowerSearchIntegration test @PenghaiZhang ?

@PenghaiZhang
Copy link
Contributor

FavouritesPowerSearchIntegration is an old test suite. It had been disabled for years until I brought it back recently. Yes it is a bit flaky.

@edalex-ian
Copy link
Member

Ah! In that case we can probably merge this MR. That can be fixed elsewhere.

@edalex-yinzi edalex-yinzi merged commit 381c448 into openequella:develop Feb 9, 2024
6 checks passed
@edalex-yinzi edalex-yinzi deleted the fix/AdvancedSearchPageTest branch March 6, 2024 23:50
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