Challenge 1: getByRole vs. getByText for a Button — Possible Solution ==================================================================== screen.getByRole("button", { name: "Save" }); WHY getByRole IS PREFERRED OVER getByText HERE ------------------------------ getByRole('button', {name: 'Save'}) specifically confirms that the element is recognized as a BUTTON by the accessibility tree — the exact same way a screen reader or other assistive technology would identify it — AND that its accessible name is "Save". This means the test is verifying two things a real user (including one using assistive tech) actually depends on: that it's interactive/a button at all, and what it's labeled. getByText('Save') would match ANY element containing the text "Save" — a