-
Notifications
You must be signed in to change notification settings - Fork 6.8k
build: fix small browser test coverage #11970
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
build: fix small browser test coverage #11970
Conversation
90d274f
to
097e448
Compare
bb52ffb
to
f066104
Compare
899e7dc
to
ea062ec
Compare
@jelbourn @josephperrott This is no longer work in progress. I managed to have the tests mostly stable. Browserstack and the Travis mode seem to run perfectly (restarted multiple times). Saucelabs seems to work fine as well, just sometimes I noticed flakes in Edge. This seems to be caused by something we cannot fix yet (see for example). I will look into a better stability for Saucelabs in a follow-up. For now the goal is to fix that some browsers don't run at all. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
ea062ec
to
f413ee1
Compare
src/lib/select/select.spec.ts
Outdated
@@ -2917,11 +2917,15 @@ describe('MatSelect', () => { | |||
const topDifference = Math.floor(optionTop) - | |||
Math.floor(triggerTop - triggerFontSize - triggerExtraLineSpaceAbove); | |||
|
|||
|
|||
console.log({optionTop}); | |||
console.log({triggerTop}, ' - ', (triggerTop - triggerFontSize - triggerExtraLineSpaceAbove)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leftover logs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As mentioned on Slack. I'm still debugging right now, so that's why those things are in right now.
dbec5d7
to
dc3325e
Compare
Sorry for the commit spam on this PR, but this is just necessary when doing changes that need to be verified with CI builds. Overall I've updated this PR again because Browserstack no longer supports running mobile devices with our current license. Should be still good to go. |
dc3325e
to
8bde894
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just needs rebase
* No longer just runs the tests against the first browser of a test platform (travis, saucelabs, browserstack) * Stability is more valuable than speed (runs sequentially on CI now) * Update Saucelabs Connect * Remove unused spec reporter * Update from Edge 14 to Edge 17 * Fix pixel deviations in Edge 17
8bde894
to
b230118
Compare
Rebased. |
* No longer just runs the tests against the first browser of a test platform (travis, saucelabs, browserstack) * Stability is more valuable than speed (runs sequentially on CI now) * Update Saucelabs Connect * Remove unused spec reporter * Update from Edge 14 to Edge 17 * Fix pixel deviations in Edge 17
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Uh oh!
There was an error while loading. Please reload this page.