ENA and ENB jumpers on the L-298N H-bridge

You need to connect the Arduino ground to the logic ground on the L298 board (probably the same as motor power supply ground).

I suspect that the jumpers enable the channels, so you do not need to connect those terminals to the Arduino.If it doesn't work, the board documentation would certainly help figure out why.