Skip to content

Conversation

ytak-sagit
Copy link

This pull request fixes the element-plus test code example.

The validate job in PR #327 was failed because of element-plus.js.

logs:

[test] FAIL src/__tests__/element-plus.js
  ● Renders component from third-party library
[test] 
[test]     TestingLibraryElementError: Unable to find an accessible element with the role "alert"

It seemed that the failure was caused by attempting to get the element with the role "alert" before it was shown.
So I fixed this by using findBy query to wait for the element to show.

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.

1 participant