Urgent.News

What's breaking now, across thousands of outlets.

Tech

Our test clicked a button our users couldn't reach

We shipped a small blog editor inside our dashboard. The same evening I opened it and the form was cut off at the bottom of the screen. The body field was half visible. Everything under it, the FAQ section and the publish options, was simply gone. The mouse wheel did nothing. Page Down did nothing. The end-to-end test for that exact form was green. It filled the form, clicked "Add question" at…

A new blog editor was added to the dashboard dashboard, but the implementation caused a bug. The form inside the editor was taller than the screen, causing the bottom portion to be cut off and inaccessible. The overflow:hidden property was used to hide elements that overflowed the container, but it didn't prevent scrolling. Playwright's click() function attempted to scroll the form into view, successfully clicking the "Add question" button despite the clipping.

The issue arose because the test assumed the form would be scrollable, while the fix overlooked the fact that overflow:hidden containers do not allow scrolling. The correct test would need to verify that the form is within a scrollable container, not a fixed one.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Laramod: Laravel modules without the magic that still feels magical

Why Every Laravel application starts out tidy. Then it grows, and one day app/Http/Controllers has eighty files in it, billing sits beside the blog, the blog sits beside the support desk, and the only…

  • Laramod simplifies Laravel modular applications without magic
  • Modules defined by contracts, not file system or composer files
  • One file, one module principle for discoverable, easy-to-understand modules

I Built a Football Data Analysis Pipeline From 220,000 Matches

For academic research only. Not betting advice. GitHub : MENG-COOLMAN/PitchQuant — MIT license, free to use. The TL;DR Six months. 227,000 matches.

  • Researcher analyzed 227,000 football matches to find hidden insights in odds
  • Weak-consensus trap: favorite wins 36-43% of the time when market is not strongly convinced
  • Deceptive low odds: Home odds below 1.30 may reduce actual home wins significantly

More from Saturday 19 September →