I doubt it went on sale without fully passing the console manufacturer's certification process.
As someone who has gone through the certification process a few times with these companies, they're not really testing 'does your game have bugs that kind of suck for the player', it's more technical, like 'do the names of controller buttons match our provided excel sheet that tells you what they need to say' and 'did we catch it crashing at certain spots' and 'did the game have periods when it looked like it crashed because there's no animation for X seconds but it's really just loading something and you didn't include a loading animation' or 'can i leave the game on pause for 24 hours and it hasn't crashed during that time', stuff like that. I don't think they try to 'beat the game' or anything either.
And it's usually a standard checklist that can apply to every game.
So something can pass certification but still be a buggy mess in spots, like have objects fall through the ground and stuff, or have crappy jaggy graphics with big dips in framerates like the PS4 and Xbox One versions of this game had.
Although it's been a while since I've gone through the process, so I may not be remembering everything (they are pretty long checklists). Also when we got rejected it was usually just a few small things that we had fixed in a few days (but it took much longer to get queued up to go back through the process, that's what took so long for us). But we also made much smaller games.
Well, I say that, but we did have a game that completely passed certification but the multiplayer networking ended up being super laggy on release and we got dinged pretty hard for that in reviews. The system had a multiplayer test zone where you could simulate low latency, but while we never had problems when testing, it didn't fully emulate what the production environment would be (or at least it didn't seem to for us). We weren't the only game that had that issue either, some high profile games had the same problem on that system and required a patch to fix it.