Guest User

Untitled

a guest
Nov 12th, 2018
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. fixture `My fixture`
  2. .page `http://example.com`
  3. .httpAuth({
  4. username: 'username',
  5. password: 'Pa$$word',
  6.  
  7. // Optional parameters, can be required for the NTLM authentication.
  8. domain: 'CORP-DOMAIN',
  9. workstation: 'machine-win10'
  10. });
  11.  
  12. test('Test1', async t => {}); // Logs in as username
  13.  
  14. test // Logs in as differentUserName
  15. .httpAuth({
  16. username: 'differentUserName',
  17. password: 'differentPa$$word'
  18. })
  19. ('Test2', async t => {});
Add Comment
Please, Sign In to add comment