Anyone going to China needs to understand a basic fact: the internet, as you know it, is not available there. Sounds incredible, but it's true. The Chinese government blocks access to much of (what they refer to) as "the foreign internet" - Google (including gmail and Youtube), Yahoo, Twitter, Facebook, etc. - all are blocked. Much of it is blocked outright (simply unavailable), other properties are just s-l-o-w-e-d down so much that pages never load. This is (half-jokingly) referred to as "The Great Firewall". You can get around (or rather, over) the great firewall by using a VPN, but that costs money, requires some technical knowledge, and is always a game of cat-and-mouse as the government takes increasingly aggressive steps to block VPN options. That said, the "internet" (such as it is) is everywhere in China. It's just not the internet you are used to. There's massive social media and e-commerce going on, and it's incredibly pervasive. Just not anything you would recognize. China's way of dealing with the googles and yahoos and amazons of the world is to allow Chinese people to access Chinese equivalents of them (some of which the Chinese government owns a share of) - so they have pervasive social media, instant messaging, e-commerce, etc. giants that dwarf anything you have ever heard of. All subject to government censorship, of course.
Bottom line is that, sure there's wifi available (widely available in the more modernized areas that most tourists tend to visit), probably in your hotel, and often with good speed. You just won't be able to use it to access anything you're used to accessing. If you want to use QQ, Weibo, Alibaba, or any of many the other Chinese services available (it'll help if you can speak Chinese...), knock yourself out, it's a big internet there!