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

[test] Make seconds views test pass in browsers #28511

Merged
merged 1 commit into from
Sep 28, 2021

Conversation

eps1lon
Copy link
Member

@eps1lon eps1lon commented Sep 21, 2021

The tests added in #25095 assumed DatePicker would render a MobileDatePicker. But that depends on the environment. For us that meant that browser tests were failing while headless tests were passing (because different components were rendered). The actual feature is only supported by the MobileDatePicker so let's just test it for that component.

Browser pass: https://app.circleci.com/pipelines/github/mui-org/material-ui/52746/workflows/6ae67665-93b2-404e-a3ab-b01acc38b759/jobs/299238 (failures are unrelated)

@eps1lon eps1lon added test component: date time picker This is the name of the generic UI component, not the React module! labels Sep 21, 2021
@mui-pr-bot
Copy link

mui-pr-bot commented Sep 21, 2021

No bundle size changes

Generated by 🚫 dangerJS against 7dc423f

@eps1lon eps1lon marked this pull request as ready for review September 22, 2021 08:07
@mnajdova
Copy link
Member

@eps1lon I am kind of lost. Could you share why the tests were failing before, but are passing now? Just trying to understand :)

@eps1lon eps1lon requested a review from mnajdova September 27, 2021 07:29
@eps1lon
Copy link
Member Author

eps1lon commented Sep 27, 2021

@mnajdova See updated PR description

@eps1lon eps1lon merged commit 72a8512 into mui:master Sep 28, 2021
@eps1lon eps1lon deleted the test/DateTimePicker/fix-browser branch September 28, 2021 06:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: date time picker This is the name of the generic UI component, not the React module! test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants