-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Bump leaflet-environmental-layers from 2.1.7 to 2.1.9 #7272
Bump leaflet-environmental-layers from 2.1.7 to 2.1.9 #7272
Conversation
Codecov Report
@@ Coverage Diff @@
## master #7272 +/- ##
==========================================
- Coverage 81.6% 80.04% -1.56%
==========================================
Files 97 97
Lines 5599 5619 +20
==========================================
- Hits 4569 4498 -71
- Misses 1030 1121 +91
|
Hmm... @Uzay-G @VladimirMikulic are our new system tests making the travis run really really long? |
@jywarren well, the system tests are the slowest ones. The more we add them, the slower our Travis is. |
Maybe we overdid it! Let's analyze a bit... no worries! |
That's true, we literally destroyed #5316 in 24 hours. |
One of your CI runs failed on this pull request, so Dependabot won't merge it. Dependabot will still automatically merge this pull request if you amend it and your tests pass. |
This Travis run (system tests) took ~28min. How long does it usually take? Are we really that slow? |
It's usually 8-12 minutes. But even with say, 6 new system tests, i don't think it could've gone that long. And this happened before once, so there may be something we can configure differently to fix this. Let's do 2 things:
Thanks for looking at this, and don't worry, we'll figure it out! |
Oh, and 3. we can look through the Travis logs to see if there's a particular test that's causing a lot of delay. |
I think this was where we had a 24 minute runtime on system tests: #5683 |
Then you are right, we've slowed down by more than 100%! I'll see what I can do. Thanks. |
I think that is what we are looking for, Capybara finds 2 ambiguous elements (it can't decide between the 2) so it delays. |
Ooooooohhhhhh great find....! Well, let's test by narrowing that selector somehow and opening a PR? Fingers 🤞 !!! |
|
Let me clarify, we have 2 elements on the page and they both say "Log in"/"Sign up" the first one triggers the login/signup modal and the other one submits the form. |
I'll send a PR for this. |
So to summarise, I've refactored the newly added code and some of the old one. Capybara has a certain threshold and it will put up with our I guess we learned something new today! @Uzay-G you'll have to sacrifice the readability a bit because of this ;) |
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
@dependabot recreate |
Looks like this PR is closed. If you re-open it I'll rebase it as long as no-one else has edited it (you can use |
@dependabot reopen |
@dependabot rebase |
60c8801
to
346e9eb
Compare
@dependabot recreate |
The most important improvement is the removal of assert_page_reloads statement. This block of code never executed and just delayed Travis for ~1min every build. The second improvement is the addition of the "setup" function. Instead of writing login logic in every test, now before every test the "setup" function will run and log in the user. Part of #7272
@dependabot rebase |
Bumps [leaflet-environmental-layers](https://github.com/publiclab/leaflet-environmental-layers) from 2.1.7 to 2.1.9. - [Release notes](https://github.com/publiclab/leaflet-environmental-layers/releases) - [Commits](https://github.com/publiclab/leaflet-environmental-layers/commits) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
346e9eb
to
e580fad
Compare
Hmm. I don't quite get it. @VladimirMikulic is dependabot not really rebasing here? We keep timing out at 50 minutes. I'm not quite sure why. Look, it seems not: https://github.com/publiclab/plots2/commits/dependabot/npm_and_yarn/leaflet-environmental-layers-2.1.9 I'm going to make this change manually, and close this. |
It does rebase it, but our screenshot system tests time out for some reason. |
Apparently going to URLs causes a delay ( |
From the official docs: https://ruby-doc.org/stdlib-2.1.2/libdoc/net/http/rdoc/Net/HTTP.html
|
moving to #7299 |
The most important improvement is the removal of assert_page_reloads statement. This block of code never executed and just delayed Travis for ~1min every build. The second improvement is the addition of the "setup" function. Instead of writing login logic in every test, now before every test the "setup" function will run and log in the user. Part of publiclab#7272
The most important improvement is the removal of assert_page_reloads statement. This block of code never executed and just delayed Travis for ~1min every build. The second improvement is the addition of the "setup" function. Instead of writing login logic in every test, now before every test the "setup" function will run and log in the user. Part of publiclab#7272
Bumps leaflet-environmental-layers from 2.1.7 to 2.1.9.
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot will merge this PR once CI passes on it, as requested by @jywarren.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot badge me
will comment on this PR with code to add a "Dependabot enabled" badge to your readmeAdditionally, you can set the following in the
.dependabot/config.yml
file in this repo: