Commit 933c066b authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg

Wait for server configuration

parent 1af813e3
var assert = require('assert');
var settings = {
oauthserver: {
inputAuthorization: "https://authengine.paas2.uninett.no/oauth/authorization",
......@@ -21,6 +20,9 @@ describe('Prepare play.oauth.no', function() {
it('can find search results', function () {
browser
.url('https://play.oauth.no/')
.waitForExist('a=OAuth Server Configuration')
browser
.click('a=OAuth Server Configuration')
for (var key in settings.oauthserver) {
browser.setValue('[id=' + key + ']', settings.oauthserver[key])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment