For sure HP was once a big franchise in gaming. Licenced games used to be some of the most consistent and lucrative parts of gaming, they were the bread and butter for EA, Activision and others. By about the period I was talking about (~2012-2013) this had been declining and companies were investing more in things they owned entirely. Movie tie-in games were dying out, partially because they started not doing that well, and partially because games started taking too long to produce (or quality suffered too much if you condensed the schedules sufficiently, to put it another way).
My understanding is that Harry Potter games stagnated or declined while the industry grew around it, and the Spider Man games that were coming out both for movie tie ins and on their own did not perform strongly. Neither the latter Harry Potter or Spider Man games were breaking into the annual top 10 lists, for example. The most consistent licenced products of any form were sports games, while CoD, Pokemon and things like Skylanders and Just Dance were lighting up the charts.
My impression as I recall feeling at that time was that stuff like Spider Man and HP as well as many other licenced franchises such as 007 were all kind of "old hat" and their glory days were long behind them. So if you'd told me then that they would one day be approaching Call of Duty tier releases I would have found that to be a very surprising reversal of the trends at the time. In a sense I guess I'd say at the time I would have underestimated the brand resurgance of both product lines even outside of gaming (this was around the time of "The Amazing Spider Man" films for example, and the HP movies had ended and it wasn't clear if there would be meaningful continuations beyond this + no proven track record of any kind of "expanded universe").
The notable exception I had at the time was that Batman was doing well (Cracked top 10 in 2011 with Arkham City and barely in 2013 with a lego game). But Spider-Man and HP going a tier above that? I wouldn't have expected it.