diff --git a/x-pack/test/functional/services/transform/discover.ts b/x-pack/test/functional/services/transform/discover.ts index 2c160e669869ae..a98f7e5ae98905 100644 --- a/x-pack/test/functional/services/transform/discover.ts +++ b/x-pack/test/functional/services/transform/discover.ts @@ -32,7 +32,7 @@ export function TransformDiscoverProvider({ getService }: FtrProviderContext) { ).getVisibleText(); expect(actualIndexPatternSwitchLinkText).to.eql( expectedDestinationIndex, - `Destination index should be ${expectedDestinationIndex}, got ${expectedDestinationIndex}` + `Destination index should be ${expectedDestinationIndex}, got ${actualIndexPatternSwitchLinkText}` ); await testSubjects.existOrFail('discoverNoResults');