MacBook Pro- wifi connected but no internet after unplugging ethernet
Boot the computer to Recovery (hold Command and R on restart) and ensure it connected to your WiFi network. Then select Get Help Online. This actually loads a file stored in Recovery, so type in a URL and see if it loads. If it does not, your computer is not the issue.