change test to match current message when decryption fails (#122224) (#123893)

* change test to match current message when decryption fails

* fix lint error

* update message for newest message

* lint

(cherry picked from commit f209677286)

Co-authored-by: Lee Drengenberg <lee.drengenberg@elastic.co>
This commit is contained in:
Marius Dragomir 2022-01-27 12:03:03 +02:00 committed by GitHub
parent 4acb55ecce
commit 51e7754975
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,7 +44,7 @@ export default ({ getPageObjects, getService }) => {
await retry.try(async () => {
const executionFailureResultCallout = await testSubjects.find('executionFailureResult');
expect(await executionFailureResultCallout.getVisibleText()).to.be(
'Test failed to run\nThe following error was found:\nerror sending email\nDetails:\nMail command failed: 550 5.7.1 Relaying denied'
'Test failed to run\nThe following error was found:\nerror validating action type connector: secrets must be defined'
);
});
expect(true).to.be(true);