Warner is poised to retire from Test cricket after Australia's third and final Test against Pakistan.