Which spaces $X$ have the property that $X \to Y$ is continuous if and only if $I^n \to X \to Y$ is continuous for all $I^n \to X$?
Example: manifolds and CW complexes have this property, since we have surjective maps $I^n \to \Delta^n$ and $\bigcup_{k \geq 0} I^n \to \bigcup_{k \geq 0} \mathrm{Ball}(0, k) = \mathbb{R}^n$. This concludes since we can always deduce continuity “locally” on CW complexes and manifolds.
I am particularly interested to the case $X=\mathbb{E}_{\infty}(n)$ for all $n$. This would settle a minor doubt I had on $\mathbb{E}_{\infty}$-ring spectra, but I think the context is irrelevant.