mirror of
https://github.com/apache/superset.git
synced 2026-06-01 13:49:21 +00:00
feat(build): uplift Jest to v29 (#29118)
Signed-off-by: hainenber <dotronghai96@gmail.com> Co-authored-by: Maxime Beauchemin <maximebeauchemin@gmail.com> Co-authored-by: JUST.in DO IT <justin.park@airbnb.com>
This commit is contained in:
@@ -433,9 +433,12 @@ describe('DatabaseModal', () => {
|
||||
// ---------- Components ----------
|
||||
// <TabHeader> - AntD header
|
||||
const closeButton = screen.getByRole('button', { name: /close/i });
|
||||
|
||||
const basicHeader = screen.getByRole('heading', {
|
||||
name: /connect a database/i,
|
||||
});
|
||||
expect(basicHeader).toBeVisible();
|
||||
|
||||
// <ModalHeader> - Connection header
|
||||
const basicHelper = screen.getByText(/step 2 of 2/i);
|
||||
const basicHeaderTitle = screen.getByText(/enter primary credentials/i);
|
||||
@@ -495,7 +498,6 @@ describe('DatabaseModal', () => {
|
||||
// ---------- Assertions ----------
|
||||
const visibleComponents = [
|
||||
closeButton,
|
||||
basicHeader,
|
||||
basicHelper,
|
||||
basicHeaderTitle,
|
||||
basicHeaderSubtitle,
|
||||
|
||||
Reference in New Issue
Block a user