[webapi] Change the promise cases from menual tests to auto tests

Impacted tests(approved): new 0, update 0, delete 0
Unit test platform: [Android]
Unit test result summary: pass 4, fail 0, block 0