Skip to content

Commit

Permalink
skip all tests that rely on es authentication type
Browse files Browse the repository at this point in the history
(cherry picked from commit 4289f9d)
  • Loading branch information
spalger committed Aug 26, 2020
1 parent fce9d8a commit deb3559
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ export default function ({ getService }: FtrProviderContext) {
expect(apiResponse.body.authentication_provider).to.be(providerName);
}

describe('Login Selector', () => {
// FAILING: https://github.com/elastic/kibana/issues/75707
describe.skip('Login Selector', () => {
it('should redirect user to a login selector', async () => {
const response = await supertest
.get('/abc/xyz/handshake?one=two three')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ export default function ({ getService }: FtrProviderContext) {
const supertest = getService('supertestWithoutAuth');
const config = getService('config');

describe('OpenID Connect authentication', () => {
// FAILING: https://github.com/elastic/kibana/issues/75707
describe.skip('OpenID Connect authentication', () => {
it('should reject API requests if client is not authenticated', async () => {
await supertest.get('/internal/security/me').set('kbn-xsrf', 'xxx').expect(401);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ export default function ({ getService }: FtrProviderContext) {
const supertest = getService('supertestWithoutAuth');
const config = getService('config');

describe('OpenID Connect Implicit Flow authentication', () => {
// FAILING: https://github.com/elastic/kibana/issues/75707
describe.skip('OpenID Connect Implicit Flow authentication', () => {
describe('finishing handshake', () => {
let stateAndNonce: ReturnType<typeof getStateAndNonce>;
let handshakeCookie: Cookie;
Expand Down
3 changes: 2 additions & 1 deletion x-pack/test/pki_api_integration/apis/security/pki_auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ export default function ({ getService }: FtrProviderContext) {
expect(cookie.maxAge).to.be(0);
}

describe('PKI authentication', () => {
// FAILING: https://github.com/elastic/kibana/issues/75707
describe.skip('PKI authentication', () => {
before(async () => {
await getService('esSupertest')
.post('/_security/role_mapping/first_client_pki')
Expand Down
3 changes: 2 additions & 1 deletion x-pack/test/saml_api_integration/apis/security/saml_login.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ export default function ({ getService }: FtrProviderContext) {
expect(apiResponse.body.username).to.be(username);
}

describe('SAML authentication', () => {
// FAILING: https://github.com/elastic/kibana/issues/75707
describe.skip('SAML authentication', () => {
it('should reject API requests if client is not authenticated', async () => {
await supertest.get('/internal/security/me').set('kbn-xsrf', 'xxx').expect(401);
});
Expand Down

0 comments on commit deb3559

Please sign in to comment.