Created
July 24, 2017 08:27
-
-
Save VasilyStrelyaev/5ef712f08d77227c99349226907f29ce to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 => { /* test actions */ } // Logs in as username | |
test // Logs in as differentUserName | |
.httpAuth({ | |
username: 'differentUserName', | |
password: 'differentPa$$word' | |
}) | |
('Test2', async t => { /* test actions */ }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment