Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fixture `My fixture`
- .page `http://example.com`
- .httpAuth({
- username: 'username',
- password: 'Pa$$word',
- // Optional parameters, can be required for the NTLM authentication.
- domain: 'CORP-DOMAIN',
- workstation: 'machine-win10'
- });
- test('Test1', async t => {}); // Logs in as username
- test // Logs in as differentUserName
- .httpAuth({
- username: 'differentUserName',
- password: 'differentPa$$word'
- })
- ('Test2', async t => {});
Add Comment
Please, Sign In to add comment