* add cypress-postgres package
* fix plugins/index.ts warnings
* fix plugins/index.ts warnings
* setup test db actions
* add setup db (just for testing purpose)
* add create db command to gradle
* Revert "add create db command to gradle"
This reverts commit bc0f350fbd.
* add test-id to components
* update db queries in tests
* fix format
* add tests with diff modal
* remove 'only' flag
* update failed snapshots
* update aria label and data-testid in components
* move selectors to separate pages
* update tests
* update test snapshots
* update test since data-testid was added
12 lines
618 B
TypeScript
12 lines
618 B
TypeScript
export const catalogDiffModal = "[data-testid='catalog-diff-modal']";
|
|
export const removedStreamsTable = "table[aria-label='removed streams table']";
|
|
export const newStreamsTable = "table[aria-label='new streams table']";
|
|
const streamWithChangesToggleBtn = (streamName: string) =>
|
|
`button[data-testid='toggle-accordion-${streamName}-stream']`;
|
|
export const removedFieldsTable = "table[aria-label='removed fields']";
|
|
export const newFieldsTable = "table[aria-label='new fields']";
|
|
|
|
export const toggleStreamWithChangesAccordion = (streamName: string) => {
|
|
cy.get(streamWithChangesToggleBtn(streamName)).click();
|
|
};
|