GregoireHebert/docusign-bundle

Implement functional tests

Closed this issue · 0 comments

Maybe using Panther...

DOM is available on DocuSign, the following (jquery-like) selector allows to click on the sign button:

$('#documents > section > div.page-loaded').each(page => {
    $('.page-tabs .signature-tab > button', page).click();
});

Scenarios to write:

  • As admin, I can sign an embedded document, the signed document is updated on the storage
  • As user, I can sign a remote document received by email, the signed document is updated on the storage
  • As anonymous, I can sign the TOS document by a click