Skip to content

Commit 2df578d

Browse files
committed
tests more
1 parent 9289767 commit 2df578d

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

cypress/e2e/start_page.cy.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ describe('NeoDash E2E Tests', () => {
2727
},
2828
});
2929

30-
cy.get('#form-dialog-title', { timeout: 2000 }).should('be.visible');
30+
cy.get('#form-dialog-title', { timeout: 20000 }).should('be.visible');
3131

3232
cy.get('#form-dialog-title').then(($div) => {
3333
const text = $div.text();
@@ -322,6 +322,9 @@ function checkInitialState() {
322322

323323
function createCard() {
324324
// Check the starter cards
325-
cy.get('main .react-grid-item:eq(2) button[aria-label="add report"]').click();
325+
cy.get('main .react-grid-item button[aria-label="add report"]', { timeout: WAITING_TIME })
326+
.should('be.visible')
327+
.click();
328+
cy.wait(1000);
326329
cy.get('main .react-grid-item:eq(2)').should('contain', 'No query specified.');
327330
}

src/chart/parameter/component/NodePropertyParameterSelect.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ const NodePropertyParameterSelectComponent = (props: ParameterSelectProps) => {
127127
multiple={multiSelector}
128128
options={extraRecords.map((r) => r?._fields?.[displayValueRowIndex] || '(no data)').sort()}
129129
style={{
130-
maxWidth: 'calc(100% - 30px)',
131-
minWidth: `calc(100% - ${manualParameterSave ? '80' : '30'}px)`,
130+
maxWidth: 'calc(100% - 40px)',
131+
minWidth: `calc(100% - ${manualParameterSave ? '60' : '30'}px)`,
132132
marginLeft: '15px',
133133
marginTop: '5px',
134134
}}

0 commit comments

Comments
 (0)