2025-08-05 22:25:53 +05:30
|
|
|
/*
|
|
|
|
* Copyright 2025 Collate.
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
*/
|
|
|
|
import { expect, test } from '@playwright/test';
|
|
|
|
import {
|
|
|
|
DATA_CONTRACT_DETAILS,
|
|
|
|
DATA_CONTRACT_SEMANTICS1,
|
|
|
|
DATA_CONTRACT_SEMANTICS2,
|
|
|
|
NEW_TABLE_TEST_CASE,
|
|
|
|
} from '../../constant/dataContracts';
|
|
|
|
import { EntityTypeEndpoint } from '../../support/entity/Entity.interface';
|
|
|
|
import { TableClass } from '../../support/entity/TableClass';
|
|
|
|
import { Glossary } from '../../support/glossary/Glossary';
|
|
|
|
import { GlossaryTerm } from '../../support/glossary/GlossaryTerm';
|
|
|
|
import { ClassificationClass } from '../../support/tag/ClassificationClass';
|
|
|
|
import { TagClass } from '../../support/tag/TagClass';
|
|
|
|
import { selectOption } from '../../utils/advancedSearch';
|
|
|
|
import {
|
|
|
|
clickOutside,
|
|
|
|
createNewPage,
|
|
|
|
redirectToHomePage,
|
|
|
|
toastNotification,
|
|
|
|
} from '../../utils/common';
|
2025-08-06 22:57:25 +05:30
|
|
|
import {
|
|
|
|
saveAndTriggerDataContractValidation,
|
|
|
|
validateDataContractInsideBundleTestSuites,
|
2025-08-08 21:08:43 +05:30
|
|
|
waitForDataContractExecution,
|
2025-08-06 22:57:25 +05:30
|
|
|
} from '../../utils/dataContracts';
|
2025-08-05 22:25:53 +05:30
|
|
|
import { addOwner } from '../../utils/entity';
|
|
|
|
|
|
|
|
test.use({ storageState: 'playwright/.auth/admin.json' });
|
|
|
|
|
|
|
|
test.describe('Data Contracts', () => {
|
|
|
|
const table = new TableClass();
|
|
|
|
const testClassification = new ClassificationClass();
|
|
|
|
const testTag = new TagClass({
|
|
|
|
classification: testClassification.data.name,
|
|
|
|
});
|
|
|
|
const testGlossary = new Glossary();
|
|
|
|
const testGlossaryTerm = new GlossaryTerm(testGlossary);
|
|
|
|
|
|
|
|
test.beforeAll('Setup pre-requests', async ({ browser }) => {
|
|
|
|
test.slow(true);
|
|
|
|
|
|
|
|
const { apiContext, afterAction } = await createNewPage(browser);
|
|
|
|
await table.create(apiContext);
|
|
|
|
await testClassification.create(apiContext);
|
|
|
|
await testTag.create(apiContext);
|
|
|
|
await testGlossary.create(apiContext);
|
|
|
|
await testGlossaryTerm.create(apiContext);
|
|
|
|
await afterAction();
|
|
|
|
});
|
|
|
|
|
|
|
|
test.afterAll('Cleanup', async ({ browser }) => {
|
|
|
|
test.slow(true);
|
|
|
|
|
|
|
|
const { apiContext, afterAction } = await createNewPage(browser);
|
|
|
|
await table.delete(apiContext);
|
|
|
|
await testClassification.delete(apiContext);
|
|
|
|
await testTag.delete(apiContext);
|
|
|
|
await testGlossary.delete(apiContext);
|
|
|
|
await testGlossaryTerm.delete(apiContext);
|
|
|
|
await afterAction();
|
|
|
|
});
|
|
|
|
|
|
|
|
test('Create Data Contract and validate', async ({ page }) => {
|
|
|
|
test.slow(true);
|
|
|
|
|
|
|
|
await test.step('Redirect to Home Page and visit entity', async () => {
|
|
|
|
await redirectToHomePage(page);
|
|
|
|
await table.visitEntityPage(page);
|
|
|
|
});
|
|
|
|
|
|
|
|
await test.step(
|
|
|
|
'Open contract section and start adding contract',
|
|
|
|
async () => {
|
|
|
|
await page.click('[data-testid="contract"]');
|
|
|
|
|
|
|
|
await expect(page.getByTestId('no-data-placeholder')).toBeVisible();
|
|
|
|
await expect(page.getByTestId('add-contract-button')).toBeVisible();
|
|
|
|
|
|
|
|
await page.getByTestId('add-contract-button').click();
|
|
|
|
|
|
|
|
await expect(page.getByTestId('add-contract-card')).toBeVisible();
|
|
|
|
}
|
|
|
|
);
|
|
|
|
|
|
|
|
await test.step('Fill Contract Details form', async () => {
|
|
|
|
await page.getByTestId('contract-name').fill(DATA_CONTRACT_DETAILS.name);
|
|
|
|
await page.fill(
|
|
|
|
'.om-block-editor[contenteditable="true"]',
|
|
|
|
DATA_CONTRACT_DETAILS.description
|
|
|
|
);
|
|
|
|
|
2025-08-06 20:52:58 +05:30
|
|
|
await page.getByTestId('select-owners').click();
|
2025-08-08 21:08:43 +05:30
|
|
|
await page.locator('.rc-virtual-list-holder-inner li').first().click();
|
2025-08-05 22:25:53 +05:30
|
|
|
|
2025-08-08 21:08:43 +05:30
|
|
|
await expect(page.getByTestId('user-tag')).toBeVisible();
|
2025-08-05 22:25:53 +05:30
|
|
|
});
|
|
|
|
|
|
|
|
await test.step('Fill Contract Schema form', async () => {
|
|
|
|
await page.getByRole('button', { name: 'Schema' }).click();
|
|
|
|
|
|
|
|
await page
|
|
|
|
.locator('input[type="checkbox"][aria-label="Select all"]')
|
|
|
|
.check();
|
|
|
|
|
|
|
|
await expect(
|
|
|
|
page.getByRole('checkbox', { name: 'Select all' })
|
|
|
|
).toBeChecked();
|
|
|
|
});
|
|
|
|
|
|
|
|
await test.step('Fill first Contract Semantics form', async () => {
|
|
|
|
await page.getByRole('button', { name: 'Semantics' }).click();
|
|
|
|
|
|
|
|
await expect(page.getByTestId('add-semantic-button')).toBeDisabled();
|
|
|
|
|
|
|
|
await page.fill('#semantics_0_name', DATA_CONTRACT_SEMANTICS1.name);
|
|
|
|
await page.fill(
|
|
|
|
'#semantics_0_description',
|
|
|
|
DATA_CONTRACT_SEMANTICS1.description
|
|
|
|
);
|
|
|
|
|
|
|
|
const ruleLocator = page.locator('.group').nth(0);
|
|
|
|
await selectOption(
|
|
|
|
page,
|
|
|
|
ruleLocator.locator('.group--field .ant-select'),
|
|
|
|
DATA_CONTRACT_SEMANTICS1.rules[0].field
|
|
|
|
);
|
|
|
|
await selectOption(
|
|
|
|
page,
|
|
|
|
ruleLocator.locator('.rule--operator .ant-select'),
|
|
|
|
DATA_CONTRACT_SEMANTICS1.rules[0].operator
|
|
|
|
);
|
|
|
|
await selectOption(
|
|
|
|
page,
|
|
|
|
ruleLocator.locator('.rule--value .ant-select'),
|
|
|
|
'admin'
|
|
|
|
);
|
|
|
|
await page.getByRole('button', { name: 'Add New Rule' }).click();
|
|
|
|
|
|
|
|
await expect(page.locator('.group--conjunctions')).toBeVisible();
|
|
|
|
|
|
|
|
const ruleLocator2 = page.locator('.rule').nth(1);
|
|
|
|
await selectOption(
|
|
|
|
page,
|
|
|
|
ruleLocator2.locator('.rule--field .ant-select'),
|
|
|
|
DATA_CONTRACT_SEMANTICS1.rules[1].field
|
|
|
|
);
|
|
|
|
await selectOption(
|
|
|
|
page,
|
|
|
|
ruleLocator2.locator('.rule--operator .ant-select'),
|
|
|
|
DATA_CONTRACT_SEMANTICS1.rules[1].operator
|
|
|
|
);
|
|
|
|
await page.getByTestId('save-semantic-button').click();
|
|
|
|
|
|
|
|
await expect(
|
|
|
|
page
|
|
|
|
.getByTestId('contract-semantics-card-0')
|
|
|
|
.locator('.semantic-form-item-title')
|
|
|
|
).toContainText(DATA_CONTRACT_SEMANTICS1.name);
|
|
|
|
await expect(
|
|
|
|
page
|
|
|
|
.getByTestId('contract-semantics-card-0')
|
|
|
|
.locator('.semantic-form-item-description')
|
|
|
|
).toContainText(DATA_CONTRACT_SEMANTICS1.description);
|
|
|
|
|
|
|
|
await page.locator('.expand-collapse-icon').click();
|
|
|
|
|
|
|
|
await expect(
|
|
|
|
page.locator('.semantic-rule-editor-view-only')
|
|
|
|
).toBeVisible();
|
|
|
|
});
|
|
|
|
|
|
|
|
await test.step('Add second semantic and delete it', async () => {
|
|
|
|
await page.getByTestId('add-semantic-button').click();
|
|
|
|
await page.fill('#semantics_1_name', DATA_CONTRACT_SEMANTICS2.name);
|
|
|
|
await page.fill(
|
|
|
|
'#semantics_1_description',
|
|
|
|
DATA_CONTRACT_SEMANTICS2.description
|
|
|
|
);
|
|
|
|
const ruleLocator3 = page.locator('.group').nth(2);
|
|
|
|
await selectOption(
|
|
|
|
page,
|
|
|
|
ruleLocator3.locator('.group--field .ant-select'),
|
|
|
|
DATA_CONTRACT_SEMANTICS2.rules[0].field
|
|
|
|
);
|
|
|
|
await selectOption(
|
|
|
|
page,
|
|
|
|
ruleLocator3.locator('.rule--operator .ant-select'),
|
|
|
|
DATA_CONTRACT_SEMANTICS2.rules[0].operator
|
|
|
|
);
|
|
|
|
await page.getByTestId('save-semantic-button').click();
|
|
|
|
|
|
|
|
await expect(
|
|
|
|
page
|
|
|
|
.getByTestId('contract-semantics-card-1')
|
|
|
|
.locator('.semantic-form-item-title')
|
|
|
|
).toContainText(DATA_CONTRACT_SEMANTICS2.name);
|
|
|
|
await expect(
|
|
|
|
page
|
|
|
|
.getByTestId('contract-semantics-card-1')
|
|
|
|
.locator('.semantic-form-item-description')
|
|
|
|
).toContainText(DATA_CONTRACT_SEMANTICS2.description);
|
|
|
|
|
|
|
|
await page.getByTestId('delete-semantic-1').click();
|
|
|
|
|
|
|
|
await expect(
|
|
|
|
page.getByTestId('contract-semantics-card-1')
|
|
|
|
).not.toBeVisible();
|
|
|
|
});
|
|
|
|
|
2025-08-06 22:57:25 +05:30
|
|
|
await test.step('Save contract and validate for semantics', async () => {
|
|
|
|
// save and trigger contract validation
|
2025-08-08 21:08:43 +05:30
|
|
|
await saveAndTriggerDataContractValidation(page, true);
|
2025-08-05 22:25:53 +05:30
|
|
|
|
|
|
|
await expect(
|
|
|
|
page.getByTestId('contract-card-title-container').filter({
|
|
|
|
hasText: 'Contract Status',
|
|
|
|
})
|
|
|
|
).toBeVisible();
|
|
|
|
await expect(
|
|
|
|
page.getByTestId('contract-status-card-item-Semantics-status')
|
|
|
|
).toContainText('Failed');
|
|
|
|
await expect(
|
|
|
|
page.getByTestId('data-contract-latest-result-btn')
|
|
|
|
).toContainText('Contract Failed');
|
|
|
|
|
|
|
|
await addOwner({
|
|
|
|
page,
|
|
|
|
owner: 'admin',
|
|
|
|
type: 'Users',
|
|
|
|
endpoint: EntityTypeEndpoint.Table,
|
|
|
|
dataTestId: 'data-assets-header',
|
|
|
|
});
|
|
|
|
|
2025-08-06 22:57:25 +05:30
|
|
|
const runNowResponse = page.waitForResponse(
|
|
|
|
'/api/v1/dataContracts/*/validate'
|
|
|
|
);
|
|
|
|
|
2025-08-05 22:25:53 +05:30
|
|
|
await page.getByTestId('contract-run-now-button').click();
|
|
|
|
await runNowResponse;
|
|
|
|
|
|
|
|
await toastNotification(
|
|
|
|
page,
|
|
|
|
'Contract validation trigger successfully.'
|
|
|
|
);
|
|
|
|
|
|
|
|
await page.reload();
|
|
|
|
|
|
|
|
await expect(
|
|
|
|
page.getByTestId('contract-status-card-item-Semantics-status')
|
|
|
|
).toContainText('Passed');
|
|
|
|
});
|
|
|
|
|
2025-08-06 22:57:25 +05:30
|
|
|
await test.step(
|
|
|
|
'Add table test case and validate for quality',
|
|
|
|
async () => {
|
|
|
|
await page.getByTestId('contract-edit-button').click();
|
2025-08-05 22:25:53 +05:30
|
|
|
|
2025-08-06 22:57:25 +05:30
|
|
|
await page.getByRole('tab', { name: 'Quality' }).click();
|
2025-08-05 22:25:53 +05:30
|
|
|
|
2025-08-06 22:57:25 +05:30
|
|
|
await page.getByTestId('add-test-button').click();
|
2025-08-05 22:25:53 +05:30
|
|
|
|
2025-08-06 22:57:25 +05:30
|
|
|
await expect(page.getByRole('dialog')).toBeVisible();
|
2025-08-05 22:25:53 +05:30
|
|
|
|
2025-08-06 22:57:25 +05:30
|
|
|
await page.fill(
|
|
|
|
'[data-testid="test-case-name"]',
|
|
|
|
NEW_TABLE_TEST_CASE.name
|
|
|
|
);
|
2025-08-05 22:25:53 +05:30
|
|
|
|
2025-08-06 22:57:25 +05:30
|
|
|
await page.locator('#testCaseFormV1_testTypeId').click();
|
2025-08-05 22:25:53 +05:30
|
|
|
|
2025-08-06 22:57:25 +05:30
|
|
|
const dropdown = page.locator('.rc-virtual-list-holder-inner');
|
2025-08-05 22:25:53 +05:30
|
|
|
|
2025-08-06 22:57:25 +05:30
|
|
|
await expect(dropdown).toBeVisible();
|
2025-08-05 22:25:53 +05:30
|
|
|
|
2025-08-06 22:57:25 +05:30
|
|
|
for (let i = 0; i < 20; i++) {
|
|
|
|
const optionVisible = await dropdown
|
|
|
|
.getByText(NEW_TABLE_TEST_CASE.label)
|
|
|
|
.isVisible();
|
|
|
|
if (optionVisible) {
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
await dropdown.press('ArrowDown');
|
|
|
|
}
|
|
|
|
|
|
|
|
await dropdown.getByText(NEW_TABLE_TEST_CASE.label).click();
|
|
|
|
|
|
|
|
await page.click(`text=${NEW_TABLE_TEST_CASE.label}`);
|
|
|
|
await page.fill(
|
2025-08-08 21:08:43 +05:30
|
|
|
'#testCaseFormV1_params_columnCount',
|
2025-08-06 22:57:25 +05:30
|
|
|
NEW_TABLE_TEST_CASE.value
|
|
|
|
);
|
|
|
|
|
|
|
|
await page.click('[data-testid="tags-selector"] input');
|
|
|
|
await page.fill(
|
|
|
|
'[data-testid="tags-selector"] input',
|
|
|
|
testTag.data.name
|
|
|
|
);
|
|
|
|
await page
|
|
|
|
.getByTestId(`tag-${testTag.responseData.fullyQualifiedName}`)
|
|
|
|
.click();
|
|
|
|
|
|
|
|
await clickOutside(page);
|
|
|
|
|
|
|
|
await page.click('[data-testid="glossary-terms-selector"] input');
|
|
|
|
await page.fill(
|
|
|
|
'[data-testid="glossary-terms-selector"] input',
|
|
|
|
testGlossaryTerm.data.name
|
|
|
|
);
|
|
|
|
|
|
|
|
await page
|
|
|
|
.getByTestId(
|
|
|
|
`tag-${testGlossaryTerm.responseData.fullyQualifiedName}`
|
|
|
|
)
|
|
|
|
.click();
|
|
|
|
|
|
|
|
await clickOutside(page);
|
|
|
|
|
2025-08-08 21:08:43 +05:30
|
|
|
await page.getByTestId('pipeline-name').fill('test-pipeline');
|
|
|
|
|
|
|
|
await page
|
|
|
|
.locator('.selection-title', { hasText: 'On Demand' })
|
|
|
|
.click();
|
|
|
|
|
|
|
|
await expect(page.locator('.expression-text')).toContainText(
|
|
|
|
'Pipeline will only be triggered manually.'
|
|
|
|
);
|
|
|
|
|
2025-08-06 22:57:25 +05:30
|
|
|
const testCaseResponse = page.waitForResponse(
|
|
|
|
'/api/v1/dataQuality/testCases'
|
|
|
|
);
|
|
|
|
await page.click('[data-testid="create-btn"]');
|
|
|
|
await testCaseResponse;
|
|
|
|
|
|
|
|
await page.waitForTimeout(100);
|
|
|
|
|
|
|
|
await expect(
|
|
|
|
page
|
|
|
|
.locator('.ant-table-cell')
|
|
|
|
.filter({ hasText: NEW_TABLE_TEST_CASE.name })
|
|
|
|
).toBeVisible();
|
|
|
|
|
|
|
|
await page
|
|
|
|
.locator('input[type="checkbox"][aria-label="Select all"]')
|
|
|
|
.check();
|
|
|
|
|
|
|
|
await expect(
|
|
|
|
page.getByRole('checkbox', { name: 'Select all' })
|
|
|
|
).toBeChecked();
|
|
|
|
|
|
|
|
// save and trigger contract validation
|
2025-08-08 21:08:43 +05:30
|
|
|
const response = await saveAndTriggerDataContractValidation(page);
|
|
|
|
|
|
|
|
if (
|
|
|
|
typeof response === 'object' &&
|
|
|
|
response !== null &&
|
|
|
|
'latestResult' in response
|
|
|
|
) {
|
|
|
|
const {
|
|
|
|
id: contractId,
|
|
|
|
latestResult: { resultId: latestResultId },
|
|
|
|
} = response;
|
|
|
|
|
|
|
|
if (contractId && latestResultId) {
|
|
|
|
await waitForDataContractExecution(
|
|
|
|
page,
|
|
|
|
contractId,
|
|
|
|
latestResultId
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
2025-08-06 22:57:25 +05:30
|
|
|
|
|
|
|
await expect(
|
2025-08-08 21:08:43 +05:30
|
|
|
page.getByTestId('data-contract-latest-result-btn')
|
2025-08-06 22:57:25 +05:30
|
|
|
).toBeVisible();
|
|
|
|
}
|
|
|
|
);
|
|
|
|
|
|
|
|
await test.step(
|
|
|
|
'Validate inside the Observability, bundle test suites, that data contract test suite is present',
|
|
|
|
async () => {
|
|
|
|
await validateDataContractInsideBundleTestSuites(page);
|
|
|
|
|
|
|
|
await expect(
|
|
|
|
page
|
|
|
|
.getByTestId('test-suite-table')
|
|
|
|
.locator('.ant-table-cell')
|
|
|
|
.filter({
|
2025-08-08 21:08:43 +05:30
|
|
|
hasText: `Data Contract - ${DATA_CONTRACT_DETAILS.name}`,
|
2025-08-06 22:57:25 +05:30
|
|
|
})
|
|
|
|
).toBeVisible();
|
|
|
|
}
|
|
|
|
);
|
|
|
|
|
|
|
|
await test.step(
|
|
|
|
'Edit quality expectations from the data contract and validate',
|
|
|
|
async () => {
|
|
|
|
await table.visitEntityPage(page);
|
|
|
|
|
|
|
|
await page.getByTestId('contract').click();
|
|
|
|
|
|
|
|
await page.getByTestId('contract-edit-button').click();
|
|
|
|
|
|
|
|
await page.getByRole('tab', { name: 'Quality' }).click();
|
|
|
|
|
|
|
|
await page
|
|
|
|
.locator('input[type="checkbox"][aria-label="Select all"]')
|
|
|
|
.uncheck();
|
|
|
|
|
|
|
|
await expect(
|
|
|
|
page.getByRole('checkbox', { name: 'Select all' })
|
|
|
|
).not.toBeChecked();
|
|
|
|
|
|
|
|
await saveAndTriggerDataContractValidation(page);
|
|
|
|
|
|
|
|
await expect(
|
|
|
|
page.getByTestId('contract-status-card-item-Quality Status')
|
|
|
|
).not.toBeVisible();
|
2025-08-08 21:08:43 +05:30
|
|
|
|
|
|
|
await expect(
|
|
|
|
page.getByTestId('data-contract-latest-result-btn')
|
|
|
|
).not.toBeVisible();
|
2025-08-06 22:57:25 +05:30
|
|
|
}
|
|
|
|
);
|
|
|
|
|
|
|
|
// TODO: Add a step to validate the test suite is removed from observability -> bundle test suites
|
2025-08-05 22:25:53 +05:30
|
|
|
|
|
|
|
await test.step('Verify YAML view', async () => {
|
2025-08-06 22:57:25 +05:30
|
|
|
await table.visitEntityPage(page);
|
|
|
|
|
|
|
|
await page.getByTestId('contract').click();
|
|
|
|
|
2025-08-05 22:25:53 +05:30
|
|
|
await page.getByTestId('contract-view-switch-tab-yaml').click();
|
|
|
|
|
|
|
|
await expect(page.getByTestId('code-mirror-container')).toBeVisible();
|
|
|
|
await expect(
|
|
|
|
page
|
|
|
|
.getByTestId('code-mirror-container')
|
|
|
|
.getByTestId('query-copy-button')
|
|
|
|
).toBeVisible();
|
|
|
|
});
|
|
|
|
|
|
|
|
await test.step('Export YAML', async () => {
|
|
|
|
const downloadPromise = page.waitForEvent('download');
|
|
|
|
|
|
|
|
await page.getByTestId('export-contract-button').click();
|
|
|
|
const download = await downloadPromise;
|
|
|
|
// Wait for the download process to complete and save the downloaded file somewhere.
|
|
|
|
await download.saveAs('downloads/' + download.suggestedFilename());
|
|
|
|
});
|
|
|
|
|
|
|
|
await test.step('Delete contract', async () => {
|
|
|
|
const deleteContractResponse = page.waitForResponse(
|
2025-08-06 22:57:25 +05:30
|
|
|
'api/v1/dataContracts/*?hardDelete=true&recursive=true'
|
2025-08-05 22:25:53 +05:30
|
|
|
);
|
|
|
|
|
|
|
|
await page.getByTestId('delete-contract-button').click();
|
2025-08-06 14:53:20 +05:30
|
|
|
|
|
|
|
await expect(
|
|
|
|
page
|
|
|
|
.locator('.ant-modal-title')
|
|
|
|
.getByText(`Delete dataContract "${DATA_CONTRACT_DETAILS.name}"`)
|
|
|
|
).toBeVisible();
|
|
|
|
|
|
|
|
await page.getByTestId('confirmation-text-input').click();
|
|
|
|
await page.getByTestId('confirmation-text-input').fill('DELETE');
|
|
|
|
|
|
|
|
await expect(page.getByTestId('confirm-button')).toBeEnabled();
|
|
|
|
|
|
|
|
await page.getByTestId('confirm-button').click();
|
2025-08-05 22:25:53 +05:30
|
|
|
await deleteContractResponse;
|
|
|
|
|
|
|
|
await toastNotification(page, '"Contract" deleted successfully!');
|
|
|
|
|
|
|
|
await expect(page.getByTestId('no-data-placeholder')).toBeVisible();
|
|
|
|
await expect(page.getByTestId('add-contract-button')).toBeVisible();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|