We consider a modification of isospectral cavities whereby the classical dynamics changes from pseudointegrable to chaotic. We construct an example where we can prove that isospectrality is retained. We then demonstrate this explicitly in microwave resonators.