"use strict";

// exports
module.exports = function(client, config) {
    var me = {};

    // disable COINS navigation alerts when changing pages
    me.disableNavigationAlert = function() {
        return client.execute(function _disableNavigationAlert() {
            if (window.preventExitPopup === undefined) {
                window.alert('EXPECTED `preventExitPopup` set in pagination.js');
            }
            window.preventExitPopup = true;
        });
    };

    me.micisMenu = require('./micisMenu.js')(client, config);
    me.asmtMenu = require('./asmtMenu.js')(client, config);

    me.hoverHome = function(done) {
        return client.moveToObject('.navUl>li>font>.homeLi', done);
    };

    me.gotoAsmt = function(done) {
        return client
            .call(me.hoverHome)
            .click('=ASMT')
            .waitForPaginationComplete(done);
    };

    me.selectAsmtStudy = function(studyId, done) {
        return client
            .waitForPaginationComplete()
            .selectByValue('#asmt_study_id', studyId)
            .waitForPaginationComplete(done);
    };

    return me;
};

@@ -871,24 +871,239 @@
 e);%0A    %7D;%0A%0A
+    me.goToQueryBuilder = function (done) %7B%0A        return client%0A            .scroll(0, 0)%0A            .call(me.hoverHome)%0A            .click('=Query Builder')%0A            .waitForPaginationComplete(done);%0A    %7D;%0A%0A
     me.selec

Add navigation method to get to Query Builder.