mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
force failures and enable dry-run mode for debugging
This commit is contained in:
parent
30db70a82c
commit
ac0c287a3f
3 changed files with 3 additions and 1 deletions
|
@ -35,7 +35,7 @@ export function runFailedTestsReporterCli() {
|
|||
throw createFlagError('Missing --build-url or process.env.BUILD_URL');
|
||||
}
|
||||
|
||||
const dryRun = !!flags['dry-run'];
|
||||
const dryRun = true;
|
||||
if (!dryRun) {
|
||||
// JOB_NAME is formatted as `elastic+kibana+7.x` in some places and `elastic+kibana+7.x/JOB=kibana-intake,node=immutable` in others
|
||||
const jobNameSplit = (process.env.JOB_NAME || '').split(/\+|\//);
|
||||
|
|
|
@ -43,6 +43,7 @@ export default function ({ getService }) {
|
|||
|
||||
describe('install', () => {
|
||||
it('should return 404 if id does not match any sample data sets', async () => {
|
||||
throw new Error('forced error');
|
||||
await supertest
|
||||
.post(`/api/sample_data/xxxx`)
|
||||
.set('kbn-xsrf', 'kibana')
|
||||
|
|
|
@ -51,6 +51,7 @@ export default function ({ getPageObjects }) {
|
|||
});
|
||||
|
||||
it('Saves on confirm duplicate title warning', async function () {
|
||||
throw new Error('failure');
|
||||
await PageObjects.dashboard.gotoDashboardLandingPage();
|
||||
await PageObjects.dashboard.clickNewDashboard();
|
||||
await PageObjects.dashboard.enterDashboardTitleAndClickSave(dashboardName, { waitDialogIsClosed: false });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue