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

Move list tests to proper browser interactions #3815

Merged
merged 2 commits into from
Jul 11, 2023

Conversation

bearfriend
Copy link
Contributor

Now that #3808 and #3798 have been merged, opening this to move list tests to proper browser interactions, which is what caught the Safari bug to begin with.

@bearfriend bearfriend requested a review from a team as a code owner July 10, 2023 16:27
@github-actions
Copy link
Contributor

Thanks for the PR! 🎉

We've deployed an automatic preview for this PR - you can see your changes here:

URL https://pr-3815-brightspace-ui-core.d2l.dev/

Note
The build needs to finish before your changes are deployed.
Changes to the PR will automatically update the instance.

Copy link
Contributor

@svanherk svanherk left a comment

Choose a reason for hiding this comment

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

So mush awesome cleanup here! It makes the tests much more readable when you remove all the code that's just waiting

Comment on lines -9 to -21
const selectionInputRendering = async item => {
return new Promise(resolve => {
const intervalId = setInterval(() => {
const selectionInput = item.shadowRoot.querySelector('d2l-selection-input');
const inputCheckbox = selectionInput.shadowRoot.querySelector('d2l-input-checkbox');
if (inputCheckbox) {
clearInterval(intervalId);
resolve();
}
}, 10);
});
};

Copy link
Contributor

Choose a reason for hiding this comment

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

🎉

@bearfriend bearfriend merged commit 07fb2fc into main Jul 11, 2023
@bearfriend bearfriend deleted the dgleckler/list-tests-browser-interaction branch July 11, 2023 20:11
@ghost
Copy link

ghost commented Jul 13, 2023

🎉 This PR is included in version 2.132.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

@ghost ghost added the released label Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants