Skip to content

Commit

Permalink
Use unique report names per test config.
Browse files Browse the repository at this point in the history
  • Loading branch information
azasypkin committed Sep 17, 2020
1 parent 5a8622b commit 1db41a5
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions x-pack/test/api_integration/config_security_basic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export default async function (context: FtrConfigProviderContext) {
'xpack.security.authc.api_key.enabled=true',
];
config.testFiles = [require.resolve('./apis/security/security_basic')];
config.junit.reportName = 'X-Pack API Integration Tests (Security Basic)';
return config;
});
}
1 change: 1 addition & 0 deletions x-pack/test/api_integration/config_security_trial.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { default as createTestConfig } from './config';
export default async function (context: FtrConfigProviderContext) {
return createTestConfig(context).then((config) => {
config.testFiles = [require.resolve('./apis/security/security_trial')];
config.junit.reportName = 'X-Pack API Integration Tests (Security Trial)';
return config;
});
}
2 changes: 1 addition & 1 deletion x-pack/test/functional/config_security_basic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) {
},

junit: {
reportName: 'Chrome X-Pack UI Functional Tests',
reportName: 'Chrome X-Pack UI Functional Tests (Security Basic)',
},
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) {
},

junit: {
reportName: 'X-Pack Security API Integration Tests',
reportName: 'X-Pack Security API Integration Tests (Session Idle Timeout)',
},
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) {
},

junit: {
reportName: 'X-Pack Security API Integration Tests',
reportName: 'X-Pack Security API Integration Tests (Session Lifespan)',
},
};
}
2 changes: 1 addition & 1 deletion x-pack/test/security_functional/login_selector.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) {
screenshots: { directory: resolve(__dirname, 'screenshots') },

junit: {
reportName: 'Chrome X-Pack Security Functional Tests',
reportName: 'Chrome X-Pack Security Functional Tests (Login Selector)',
},
};
}
2 changes: 1 addition & 1 deletion x-pack/test/security_functional/oidc.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) {
screenshots: { directory: resolve(__dirname, 'screenshots') },

junit: {
reportName: 'Chrome X-Pack Security Functional Tests',
reportName: 'Chrome X-Pack Security Functional Tests (OpenID Connect)',
},
};
}
2 changes: 1 addition & 1 deletion x-pack/test/security_functional/saml.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) {
screenshots: { directory: resolve(__dirname, 'screenshots') },

junit: {
reportName: 'Chrome X-Pack Security Functional Tests',
reportName: 'Chrome X-Pack Security Functional Tests (SAML)',
},
};
}

0 comments on commit 1db41a5

Please sign in to comment.