twbs / bootstrap

The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.
https://getbootstrap.com
MIT License
170.39k stars 78.81k forks source link

Transition from Karma to WebdriverIO for browser tests #38300

Open christian-bromann opened 1 year ago

christian-bromann commented 1 year ago

Hey 👋

I am maintaining the WebdriverIO project and worked on supporting unit and component tests in the browser using WebDriver. We are working on improving the experience and ensure the project can cover many edge cases. So I was looking into projects that still run their test suites on Karma and was wondering if the team would be interested switching to WebdriverIO. I would happy to do the leg work here and change the test harness and I believe most of the tests can stay as is.

I just want to check in before doing the majority of the work if you would be interested in such a change.

Cheers

mdo commented 1 year ago

@XhmikosR Thoughts?

XhmikosR commented 1 year ago

Do note that we have already a WIP branch which switches to LambdaTest + karma-webdriver-launcher (https://github.com/twbs/bootstrap/compare/xmr/lambda?w=1), but I'm guessing it's not the same thing.

Generally, we are having huge trouble with BrowserStack and LambdaTest so far from testing, and I start to believe that the only common link is karma.

I don't have the bandwidth to work on this a lot, but if someone provides us with a clean PR without losing any features I'd be happy to have a look.

christian-bromann commented 1 year ago

This sounds great! I am happy to but a PR together for you to check out.