Skip to content

Commit

Permalink
Skip uptime tests on cloud (#133052)
Browse files Browse the repository at this point in the history
* Skip uptime tests on cloud

* Fix check types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
  • Loading branch information
liza-mae and kibanamachine committed May 26, 2022
1 parent ada0ad4 commit e310b20
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 5 deletions.
4 changes: 3 additions & 1 deletion x-pack/test/api_integration/apis/uptime/rest/add_monitor.ts
Expand Up @@ -17,7 +17,9 @@ import { FtrProviderContext } from '../../../ftr_provider_context';
import { getFixtureJson } from './helper/get_fixture_json';

export default function ({ getService }: FtrProviderContext) {
describe('[POST] /internal/uptime/service/monitors', () => {
describe('[POST] /internal/uptime/service/monitors', function () {
this.tags('skipCloud');

const supertestAPI = getService('supertest');

let _httpMonitorJson: HTTPFields;
Expand Down
Expand Up @@ -13,7 +13,9 @@ import { FtrProviderContext } from '../../../ftr_provider_context';
import { getFixtureJson } from './helper/get_fixture_json';

export default function ({ getService }: FtrProviderContext) {
describe('[PUT] /api/uptime/service/monitors', () => {
describe('[PUT] /api/uptime/service/monitors', function () {
this.tags('skipCloud');

const supertest = getService('supertest');
const security = getService('security');
const kibanaServer = getService('kibanaServer');
Expand Down
Expand Up @@ -12,7 +12,9 @@ import { FtrProviderContext } from '../../../ftr_provider_context';
import { getFixtureJson } from './helper/get_fixture_json';

export default function ({ getService }: FtrProviderContext) {
describe('[DELETE] /internal/uptime/service/monitors', () => {
describe('[DELETE] /internal/uptime/service/monitors', function () {
this.tags('skipCloud');

const supertest = getService('supertest');

let _httpMonitorJson: HTTPFields;
Expand Down
4 changes: 3 additions & 1 deletion x-pack/test/api_integration/apis/uptime/rest/edit_monitor.ts
Expand Up @@ -13,7 +13,9 @@ import { API_URLS } from '@kbn/synthetics-plugin/common/constants';
import { FtrProviderContext } from '../../../ftr_provider_context';
import { getFixtureJson } from './helper/get_fixture_json';
export default function ({ getService }: FtrProviderContext) {
describe('[PUT] /internal/uptime/service/monitors', () => {
describe('[PUT] /internal/uptime/service/monitors', function () {
this.tags('skipCloud');

const supertest = getService('supertest');

let _httpMonitorJson: HTTPFields;
Expand Down
4 changes: 3 additions & 1 deletion x-pack/test/api_integration/apis/uptime/rest/get_monitor.ts
Expand Up @@ -13,7 +13,9 @@ import { FtrProviderContext } from '../../../ftr_provider_context';
import { getFixtureJson } from './helper/get_fixture_json';

export default function ({ getService }: FtrProviderContext) {
describe('[GET] /internal/uptime/service/monitors', () => {
describe('[GET] /internal/uptime/service/monitors', function () {
this.tags('skipCloud');

const supertest = getService('supertest');

let _monitors: MonitorFields[];
Expand Down

0 comments on commit e310b20

Please sign in to comment.