I did a quick search and it seems like the Yoga is not available with a dedicated GPU, only the integrated Intel.
I don’t know what framerate and resolution you are aiming for (i asume 1080P 60FPS), but i would not recommend getting a notebook with an Intel iGPU for gaming.
Will Shadowlands run at medium on that hardware? Well yes, but you will be very limited by that iGPU and might have to lower the resolution scale below 100% which will make the image blurry.
Lenovo Legion 5 with GTX 1650 would be the starting point, quite cheap right now. Bit more expensive but way better would be Legion 5 or HP Pavilion Gaming with 1660 Ti - all of them with Intel 10750H or Ryzen 4600H/4800H.
Yoga C740 has old CPUs with UHD 620 integrated graphics and that’s even below minimal spec. You can play WoW on iGPU but modern, and at a price premium at that (ultra portable and thin laptops).