Aussie living in the San Francisco Bay Area.
Coding since 1998.
.NET Foundation member. C# fan
https://d.sb/
Mastodon: @[email protected]

  • 5 Posts
  • 1.11K Comments
Joined 1 year ago
cake
Cake day: June 14th, 2023

help-circle









  • dan@upvote.autoProgrammer Humor@lemmy.mlOverflow
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    edit-2
    16 days ago

    In E2E tests you should ideally be finding elements using labels or ARIA roles. The point of an E2E test is to use the app in the same way a user would, and users don’t look for elements by class name or ID, and definitely not by data-testid.

    The more your test deviates from how real users use the system, the more likely it is that the test will break even though the actual user experience is fine, or vice versa.

    This is encouraged by Testing Library and related libraries like React Testing Library. Those are for unit and integration tests though, not E2E tests. I’m not as familiar with the popular E2E testing frameworks these days (we use an internally developed one at work).





  • It’s the radical moderators and developers of Lemmy that censor and delete posts and comments that fit their narrative.

    The entire point of Lemmy and other decentralized and federated systems is that no one entity is in control of it. It’s not like a site like Reddit where the whole thing is controlled by one company.

    They can only delete posts and comments from servers they’re moderators of. That’s probably just a few servers out of the thousands that exist. Nobody’s forcing any user to use those servers. If you don’t like the moderation on one server just move to a different one.

    I’m hoping there will be a fork or new federation project that doesn’t have baggage.

    Why fork it if the software works well as-is?

    You can run your own Lemmy server and defederate from every other server if you want to, or only federated with a few hand-picked servers.





  • specifically it has physical buttons below the screens to control the entire car with physical buttons. That was a hard requirement of mine.

    I’d love to get an EV with physical buttons too. My current car is a 2012 Mazda 3, but I want to get a EV to take advantage of my solar panels.

    The Kona looks nice. Do you know if it supports Qi wireless charging, and wireless Android Auto?