Amazon did grant extra breaks. The dispute is that they didn't grant them fast enough and that she expected to be paid for them, among other things.
Obviously nothing will ever satisfy people who are out for blood and would never give a corporation the benefit of the doubt, but I'm trying to point out that the headline's implication that pregnant workers weren't allowed any bathroom breaks is false.