How to click() on Android Dialog's button?

I have been used .click() with normal element for a while but when it comes to button on Android Dialog seems like it doesn’t click but it gives me no error.

it("should press signin", function () {
    return driver      
      .elementById("app.udrinkidive.feed2us.com.customer:id/Done")
      .click() 
      .sleep(10000)     
      .elementById("app.udrinkidive.feed2us.com.customer:id/dBtnOK") 
      .click()
      .sleep(10000)            
  });

As above code I tried to delay click() by using sleep(1000). Still not working.

Please help :slight_smile: