Skip to content

Commit

Permalink
added browsers + debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
glena authored and hzalaz committed Feb 23, 2017
1 parent 78cdcc9 commit 09addd2
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 34 deletions.
5 changes: 4 additions & 1 deletion integration/redirect_authorize.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('redirect authorize', function () {
driver.wait(until.elementLocated(By.id('parsed')), 10000);

driver.findElement(By.id('err')).getText().then(function(value) {
console.log('ERR:', value);
console.log('ERR:', value ? value : '-empty-');
expect(value).to.equal('');
});
driver.findElement(By.id('result')).getText().then(function(value) {
Expand Down Expand Up @@ -76,6 +76,7 @@ describe('redirect authorize', function () {
driver.wait(until.elementLocated(By.id('parsed')), 10000);

driver.findElement(By.id('err')).getText().then(function(value) {
console.log('ERR:', value ? value : '-empty-');
expect(value).to.equal('');
});

Expand Down Expand Up @@ -108,6 +109,7 @@ describe('redirect authorize', function () {
driver.wait(until.elementLocated(By.id('parsed')), 10000);

driver.findElement(By.id('err')).getText().then(function(value) {
console.log('ERR:', value ? value : '-empty-');
expect(value).to.equal('');
});

Expand Down Expand Up @@ -140,6 +142,7 @@ describe('redirect authorize', function () {
driver.wait(until.elementLocated(By.id('parsed')), 10000);

driver.findElement(By.id('err')).getText().then(function(value) {
console.log('ERR:', value ? value : '-empty-');
expect(value).to.equal('');
});

Expand Down
1 change: 1 addition & 0 deletions integration/redirect_usernamepassword.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ describe('redirect usernamepassword', function () {
driver.wait(until.elementLocated(By.id('parsed')), 10000);

driver.findElement(By.id('err')).getText().then(function(value) {
console.log('ERR:', value ? value : '-empty-');
expect(value).to.equal('');
});

Expand Down
66 changes: 33 additions & 33 deletions integration/selenium.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,42 +8,42 @@ var capabilities = [
'browserName': 'chrome',
'platform': 'Windows 10',
'version': '55.0'
}//,
// {
// 'browserName': 'chrome',
// 'platform': 'Windows 10',
// 'version': 'beta'
// },
// {
// 'browserName': 'firefox',
// 'platform': 'Windows 10',
// 'version': '50.0'
// },
},
{
'browserName': 'chrome',
'platform': 'Windows 10',
'version': 'beta'
},
{
'browserName': 'firefox',
'platform': 'Windows 10',
'version': '50.0'
},
{
'browserName': 'firefox',
'platform': 'Windows 10',
'version': 'beta'
},
{
'browserName': 'internet explorer',
'platform': 'Windows 7',
'version': '11.0'
},
{
'browserName': 'internet explorer',
'platform': 'Windows 7',
'version': '10.0'
},
// {
// 'browserName': 'firefox',
// 'browserName': 'MicrosoftEdge',
// 'platform': 'Windows 10',
// 'version': 'beta'
// },
// {
// 'browserName': 'internet explorer',
// 'platform': 'Windows 7',
// 'version': '11.0'
// },
// {
// 'browserName': 'internet explorer',
// 'platform': 'Windows 7',
// 'version': '10.0'
// 'version': '13.10586'
// },
// // {
// // 'browserName': 'MicrosoftEdge',
// // 'platform': 'Windows 10',
// // 'version': '13.10586'
// // },
// {
// 'browserName': 'safari',
// 'platform': 'macOS 10.12',
// 'version': '10.0'
// }
{
'browserName': 'safari',
'platform': 'macOS 10.12',
'version': '10.0'
}
];

module.exports = {
Expand Down

0 comments on commit 09addd2

Please sign in to comment.