-
Notifications
You must be signed in to change notification settings - Fork 961
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
Strip domain from <base href> in useBasename #139
Conversation
) | ||
if (!fullUrl) { | ||
warning( | ||
false, |
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.
Just pass in fullUrl
here instead of false
instead of adding the explicit branch.
Please squash your commits. |
Gotcha. |
Just FYI- I have temporarily disabled test builds on Travis because we're experiencing problems with Browserstack. I'm working on getting it back up now. |
thanks for that @mjackson was going to ping you with that |
I'm working with Browserstack support now. I hate how fragile the whole "test your code in real browsers" landscape is. I would've thought we'd have good solutions for this by now. |
@mjackson Have you tried Sauce Labs? https://saucelabs.com/opensauce/ |
@acdlite Ya, I tried them when I was first getting started with this stuff. Seemed like Browserstack was the better choice at that time. It's probably more or less the same story over there. Just a different set of problems. Have you tried them? |
I've done a little bit with SauceLabs before. I've seen vague flakiness, but nothing like a multi-day outage. Two cool Sauce Labs perks, though.
|
@mjackson At WalmartLabs, we just resigned ourselves to the notion that e2e testing is a flakey ecosystem. And so we built some anti-flake tools to work around it. Currently we only support SauceLabs, but perhaps it's time we wrote an adapter for BS too. Project page: http://testarmada.github.io/
|
@mjackson -- I've got a number of test-focused repos (teaching and infrastructure) and have anecdotally found SL to be much more reliable than BS. Of course, that's just my isolated experiences, but for example, I maintain an OSS selenium + mocha + WD.js / Webdriverio bridge tool, and just ended up giving up and disabling BS in CI: FormidableLabs/rowdy#34 BS is very responsive to support requests, but I couldn't manage the flake sufficiently to keep it "on" for my repos. |
@geekdave How compatible is the Armada approach with something like an open source SL plan that limits the number of parallel executions? |
@taion you can simply limit your suite to match the number of workers you get from SL. We're hoping that one day we can convince them to increase that limit for open source projects, if we see more usage of our tool :) (the argument being that our tool encourages / brings about "better" test suites that make more effective use of the saucelabs cloud than tests that just sit around and time out a lot) |
@taion TestArmada has two approaches to handle that.
|
There is also https://ci.testling.com/ while you are at it. 😉 Anyway, this discussion went a bit astray. Would you like to perhaps start a new issue? |
Seems like testing issues are resolved. Can you please try a force push to your branch? That should trigger a Thanks. On Fri, Nov 13, 2015 at 11:15 AM Jan Vlnas [email protected] wrote:
|
@geekdave Wow, test armada looks great! I'll def give it a go next time I need to setup something like this. Thanks for chiming in here :) |
Actually, @jnv, you'll have to rebase and then force push to your branch. That way you'll get the new test config. |
Okay, I had to change |
- Additional tests for location.basename - Export extractPath, optionally accepting full URL
@mjackson I have changed the PR according to your comments. Should I squash the new commit? |
Strip domain from <base href> in useBasename
Looks great, @jnv. I'll take it from here. Thank you! |
Update to history was required due to remix-run/history#139
Resolves #138.
I have added a few checks for
location.basename
in tests and exposedextractPath
; I hope it's fine.