When running this I noticed that this is part of the dialer app. These two steps and locators should be added into the dialer object.
Probably something like `wait_for_confirmation_dialog` and `confirmation_dialog_text` (as a property) and then assert the text in the dialog is as expected.