"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const _8_8_1 = require("../../fixtures/8.8");
const apiHelpers_1 = require("../../utils/apiHelpers");
_8_8_1.test.describe.configure({ mode: 'parallel' });
_8_8_1.test.describe('API V2 tests on SaaS cluster ', () => {
    let bearerToken;
    _8_8_1.test.beforeAll(async () => {
        bearerToken = await (0, apiHelpers_1.authSaasAPI)();
    });
    (0, _8_8_1.test)('Get cluster topology', async ({ request }) => {
        const topologyResponse = await request.get(`${process.env.ZEEBE_API_URL}/v2/topology`, {
            headers: {
                Authorization: bearerToken,
                'Content-Type': 'application/json',
            },
        });
        await (0, apiHelpers_1.assertResponseStatus)(topologyResponse, 200);
    });
});
