I’m not able to run Phantom JS tests on latest Jira Software 8.0
Every time I go to a board I get “Error: No jira-agile/lib/jquery/inlined-code”
The board won’t render at all.
Is anyone else using PhantomJS?!
Here’s code sample working on Jira 7x
/**
* Go to rapid board from the manage boards screen using boardLink click
*
* @param boardName string
*/
goToRapidBoard: function (boardName) {
'use strict';
casper.echo('\nCalling goToRapidBoard by ' + ex.testName + '\n');
var boardLink = xpath('//a[@title="Go to this board" and text()="' + boardName + '"]');
casper.thenOpen(URL.manageBoards, function goToManageBoardsAndClick() {
//wait for page board name header
casper.waitForSelector(boardLink, function () {
ex.CASPER.capture('goToRapidBoard-'+boardName);
casper.test.assertExists(boardLink, 'board title header found');
casper.thenClick(boardLink, function () {
//wait for the board to load
casper.waitForSelector(xpath('//button[@id="board-tools-section-button"]'), function () {
casper.waitForSelector(xpath('//*[@id="ghx-pool"] | //*[@id="ghx-plan-group"]'), function () {
casper.wait(2000, function() {
ex.CASPER.capture('goToRapidBoard-after');
});
});
});
});
});
});
},