Skip to content

Support local testing with Shield Kibana plugin#6800

Closed
LeeDr wants to merge 17 commits intoelastic:masterfrom
LeeDr:shieldLogin
Closed

Support local testing with Shield Kibana plugin#6800
LeeDr wants to merge 17 commits intoelastic:masterfrom
LeeDr:shieldLogin

Conversation

@LeeDr
Copy link

@LeeDr LeeDr commented Apr 6, 2016

Not ready for review/merge yet. Just testing WIP.

@LeeDr LeeDr added the test label Apr 6, 2016
@rashidkpc rashidkpc changed the title New changes to support local testing with Shield Kibana plugin [WIP] Local testing with Shield Kibana plugin Apr 7, 2016
@LeeDr
Copy link
Author

LeeDr commented Apr 20, 2016

jenkins, test it

1 similar comment
@LeeDr
Copy link
Author

LeeDr commented Apr 20, 2016

jenkins, test it

@LeeDr LeeDr changed the title [WIP] Local testing with Shield Kibana plugin Support local testing with Shield Kibana plugin Apr 20, 2016
@LeeDr
Copy link
Author

LeeDr commented Apr 20, 2016

I tested this locally with and without Shield, and on both Firefox and Chrome.

@epixa
Copy link
Contributor

epixa commented Apr 20, 2016

@LeeDr I'm going to assign this back to you since this doesn't seem to be passing on jenkins. Assign it back when they're passing more consistently

@epixa epixa assigned LeeDr and unassigned epixa Apr 20, 2016
@LeeDr
Copy link
Author

LeeDr commented Apr 22, 2016

jenkins, test it

@LeeDr LeeDr assigned epixa and unassigned LeeDr Apr 22, 2016
@LeeDr
Copy link
Author

LeeDr commented Apr 22, 2016

I finally figured out where the problem was with this. The modifyQueryString method was still including the 'auth' part but shouldn't have. Although I don't understand why it always passed locally but not on Jenkins. Should I squash this down or something?

@epixa
Copy link
Contributor

epixa commented Apr 22, 2016

You don't have to, no. Your call though.

return settingsPage.setAdvancedSettings('dateFormat:tz', 'UTC');
})
.then(function (advancedSetting) {
;return settingsPage.clickIndicesTab();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stray semi-colon here

return settingsPage.navigateTo();
return settingsPage.navigateTo()
.then(function () {
return settingsPage.clickIndicesTab();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather than nest this, can you just chain it?

scenarioManager.reload('emptyKibana')
.then(() => settingsPage.navigateTo())
.then(() => settingsPage.clickIndicesTab())

just seems nicer than

scenarioManager.reload('emptyKibana')
.then(() => settingsPage.navigateTo().then(() => settingsPage.clickIndicesTab()))

@epixa epixa assigned LeeDr and unassigned epixa Apr 22, 2016
@LeeDr
Copy link
Author

LeeDr commented Apr 22, 2016

jenkins, test it

@LeeDr
Copy link
Author

LeeDr commented May 4, 2016

jenkins, test it

@LeeDr
Copy link
Author

LeeDr commented May 4, 2016

Replaced by #7046

Not merged.

@LeeDr LeeDr closed this May 4, 2016
@LeeDr LeeDr deleted the shieldLogin branch May 23, 2017 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments