Skip to content

Commit be1167f

Browse files
committed
test: update cypress test positions
- triggered by updated popover positioning
1 parent b64cf7a commit be1167f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/eui/src/components/datagrid/body/cell/data_grid_cell_popover.spec.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ describe('EuiDataGridCellPopover', () => {
219219
openCellPopover('A');
220220
cy.get('[data-test-subj="euiDataGridExpansionPopover"]')
221221
.should('have.css', 'left', '1px')
222-
.should('have.css', 'top', '72px')
222+
.should('have.css', 'top', '76px')
223223
.should('have.css', 'width', '112px');
224224
});
225225

@@ -229,7 +229,7 @@ describe('EuiDataGridCellPopover', () => {
229229
openCellPopover('B');
230230
cy.get('[data-test-subj="euiDataGridExpansionPopover"]')
231231
.should('have.css', 'left', '109px')
232-
.should('have.css', 'top', '72px')
232+
.should('have.css', 'top', '76px')
233233
.should('have.css', 'width', '375px');
234234
});
235235

packages/eui/src/components/datagrid/body/header/draggable_columns.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ describe('draggable columns', () => {
281281
cy.get('[data-popover-open]').should('have.focus');
282282

283283
cy.get('[data-test-subj=dataGridHeaderCell-a]').realClick({
284-
position: 'right',
284+
position: 'left',
285285
});
286286
cy.get('[data-test-subj=dataGridHeaderCell-a]').should('have.focus');
287287
cy.get('[data-popover-open]').should('not.exist');

packages/eui/src/components/datagrid/data_grid.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@ a, footer\tb, footer
850850
.realHover()
851851
.realMouseDown({ position: 'center' })
852852
.realMouseMove(0, 0) // start drag
853-
.realMouseMove(0, 120) // move (absolute coordinates)
853+
.realMouseMove(150, 100) // move (absolute coordinates)
854854
.realMouseUp();
855855

856856
cy.get('.euiDataGridColumnSelector__item').eq(0).should('have.text', 'b');

0 commit comments

Comments
 (0)